mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Removing ContentObserver from LauncherModel, and calling reload
whereever necessary Change-Id: Ia4a8abdfe2be9703f3217a60527d3a1220b33bdc
This commit is contained in:
@@ -78,7 +78,7 @@ public class LauncherBackupAgentHelper extends BackupAgentHelper {
|
||||
super.onRestore(data, appVersionCode, newState);
|
||||
// If no favorite was migrated, clear the data and start fresh.
|
||||
final Cursor c = getContentResolver().query(
|
||||
LauncherSettings.Favorites.CONTENT_URI_NO_NOTIFICATION, null, null, null, null);
|
||||
LauncherSettings.Favorites.CONTENT_URI, null, null, null, null);
|
||||
hasData = c.moveToNext();
|
||||
c.close();
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user