move the provider authority to a config class

Bug: 10816034
Change-Id: I68364081f039f94205b805a1510eb04e6f0f40a2
This commit is contained in:
Chris Wren
2013-10-09 10:36:55 -04:00
parent d706e0a813
commit e523e70f75
3 changed files with 25 additions and 2 deletions

View File

@@ -1623,6 +1623,7 @@ public class LauncherModel extends BroadcastReceiver {
final ArrayList<Long> itemsToRemove = new ArrayList<Long>();
final Uri contentUri = LauncherSettings.Favorites.CONTENT_URI;
if (DEBUG_LOADERS) Log.d(TAG, "loading model from " + contentUri);
final Cursor c = contentResolver.query(contentUri, null, null, null, null);
// +1 for the hotseat (it can be larger than the workspace)