Removing ContentObserver from LauncherModel, and calling reload
whereever necessary Change-Id: Ia4a8abdfe2be9703f3217a60527d3a1220b33bdc
This commit is contained in:
1 parent
e9909f58c2
commit
1d4a2df091
11 files changed
+51
-81
No files matched your search
@@ -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