gecko-dev/mobile
Jan Henning a8cf872eed Bug 1251362 - Part 6 - Update empty panel state when recent tabs count changes. r=liuche
The recent tabs count might change while the Recent Tabs folder is open, e.g. immediately after startup, once we receive the first "ClosedTabs:Data" message from the session store. Therefore, we need to hide/unhide the empty view as necessary, which is normally handled by the Combined History panel's updateEmptyView() function. Since we aren't using a cursor, we can't hinge calling that on the CursorLoader's onLoadFinished() callback, so instead, we include our own callback to the Combined History panel, modelled after the DeviceUpdateHandler used for updating the count of synced devices.

MozReview-Commit-ID: GLHM9LoWk2h

--HG--
extra : transplant_source : %09E%B2D%DCB%F6%D3%B5%8A%28%DCx%94e%A2%0F%14%A3%96
2016-05-15 01:41:45 +02:00
..
android Bug 1251362 - Part 6 - Update empty panel state when recent tabs count changes. r=liuche 2016-05-15 01:41:45 +02:00
locales Bug 1274729 - corrupted content string management r=dragana 2016-05-23 10:12:31 -04:00