diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2014-08-29 17:20:55 -0700 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2014-09-04 08:18:33 -0700 |
commit | 349426234e8c5a0e5bcf2c8d94dbb9844b5f724a (patch) | |
tree | 7959007f77fe9293898b72b57b4b28c87b90527e /src/com/android/launcher3/compat/PackageInstallerCompat.java | |
parent | 6a2c77856f1cfa402363cfbb04b5718b431bbc6e (diff) | |
download | android_packages_apps_Trebuchet-349426234e8c5a0e5bcf2c8d94dbb9844b5f724a.tar.gz android_packages_apps_Trebuchet-349426234e8c5a0e5bcf2c8d94dbb9844b5f724a.tar.bz2 android_packages_apps_Trebuchet-349426234e8c5a0e5bcf2c8d94dbb9844b5f724a.zip |
Handling label and icon from SessionInfo.
> The ShortcutInfo stores state as bit flags and not as ints
> Intents of auto-install shortcut are automatically updated
upon installation
> Icons/titles for active sessions are cached in IconCache
Change-Id: I2047849f67d4a8aaf2bc346b58110325bb4807d4
Diffstat (limited to 'src/com/android/launcher3/compat/PackageInstallerCompat.java')
-rw-r--r-- | src/com/android/launcher3/compat/PackageInstallerCompat.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/launcher3/compat/PackageInstallerCompat.java b/src/com/android/launcher3/compat/PackageInstallerCompat.java index 89a2157eb..0ae52bd23 100644 --- a/src/com/android/launcher3/compat/PackageInstallerCompat.java +++ b/src/com/android/launcher3/compat/PackageInstallerCompat.java @@ -22,6 +22,10 @@ import com.android.launcher3.Utilities; public abstract class PackageInstallerCompat { + public static final int STATUS_INSTALLED = 0; + public static final int STATUS_INSTALLING = 1; + public static final int STATUS_FAILED = 2; + private static final Object sInstanceLock = new Object(); private static PackageInstallerCompat sInstance; @@ -38,6 +42,8 @@ public abstract class PackageInstallerCompat { } } + public abstract void updateActiveSessionCache(); + public abstract void onPause(); public abstract void onResume(); |