summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/LauncherSettings.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-07-27 14:36:07 -0700
committerSunny Goyal <sunnygoyal@google.com>2015-07-31 12:03:33 -0700
commite5bb705fb79f18df8680958dcf2c5460e16c90b6 (patch)
tree33c20c832cf07556ca8d0d3c114489c95190a3f0 /src/com/android/launcher3/LauncherSettings.java
parente40e77b34f6521d3caaa8eb49b9e073258e91f56 (diff)
downloadandroid_packages_apps_Trebuchet-e5bb705fb79f18df8680958dcf2c5460e16c90b6.tar.gz
android_packages_apps_Trebuchet-e5bb705fb79f18df8680958dcf2c5460e16c90b6.tar.bz2
android_packages_apps_Trebuchet-e5bb705fb79f18df8680958dcf2c5460e16c90b6.zip
Homescreen migration from a larger grid to a smaller grid.
Adding support for restoring from a larger device, if the grid size difference is not more that 1. During restore add all the items in the DB, and run a one-time migration the next time launcher starts. The migration strategy is defined in ShrinkWorkspaceTask.java which involves resizing, moving and removing some items. Change-Id: I6ee411f6db5bf0152b527e16146a88c56dec2d97
Diffstat (limited to 'src/com/android/launcher3/LauncherSettings.java')
-rw-r--r--src/com/android/launcher3/LauncherSettings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/LauncherSettings.java b/src/com/android/launcher3/LauncherSettings.java
index f2c85a195..8a5804f34 100644
--- a/src/com/android/launcher3/LauncherSettings.java
+++ b/src/com/android/launcher3/LauncherSettings.java
@@ -143,7 +143,7 @@ public class LauncherSettings {
*
* @return The unique content URL for the specified row.
*/
- static Uri getContentUri(long id) {
+ public static Uri getContentUri(long id) {
return Uri.parse("content://" + ProviderConfig.AUTHORITY +
"/" + TABLE_NAME + "/" + id);
}