diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2016-05-02 10:54:12 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2016-05-02 12:00:51 -0700 |
commit | 745bad9da1ef2fca2ab7bfeb5ea885a2b50c49c3 (patch) | |
tree | 9e65a1a6ee1a500fc5e1dc36e1561338ea69a0ec /src/com/android/launcher3/Utilities.java | |
parent | f8a2ba27078badc61b7122a6781214a4148a686f (diff) | |
download | android_packages_apps_Trebuchet-745bad9da1ef2fca2ab7bfeb5ea885a2b50c49c3.tar.gz android_packages_apps_Trebuchet-745bad9da1ef2fca2ab7bfeb5ea885a2b50c49c3.tar.bz2 android_packages_apps_Trebuchet-745bad9da1ef2fca2ab7bfeb5ea885a2b50c49c3.zip |
Chaning the behavior of settings activity.
> Making all twoState prefs backed by content provider
> Using the stadard intent defined in N for settings
> Using SharedPrefsListener instead of LauncherProvider
Change-Id: I8272f54aa780bc0436e3d0aa89096a4bd2a9194f
Diffstat (limited to 'src/com/android/launcher3/Utilities.java')
-rw-r--r-- | src/com/android/launcher3/Utilities.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Utilities.java b/src/com/android/launcher3/Utilities.java index d6d351790..1acbfc12b 100644 --- a/src/com/android/launcher3/Utilities.java +++ b/src/com/android/launcher3/Utilities.java @@ -173,6 +173,10 @@ public final class Utilities { } } + // TODO: Use Intent.ACTION_APPLICATION_PREFERENCES when N SDK is available. + public static final String ACTION_APPLICATION_PREFERENCES + = "android.intent.action.APPLICATION_PREFERENCES"; + public static Bitmap createIconBitmap(Cursor c, int iconIndex, Context context) { byte[] data = c.getBlob(iconIndex); try { |