diff options
author | Amith Yamasani <yamasani@google.com> | 2014-05-28 15:26:52 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2014-05-28 15:26:52 -0700 |
commit | 87094c5897638aba6a5deddabde317eadf244b49 (patch) | |
tree | 9b171f2356079dff7e05885f9934258a14867aa3 /src/com/android/launcher2/ApplicationInfo.java | |
parent | b2d956438adcaece2a8e367b04391dfec9abaaf9 (diff) | |
download | Launcher2-87094c5897638aba6a5deddabde317eadf244b49.tar.gz |
Apply API changes in LauncherApps
Add temporary workaround for interface having more methods than necessary.
This will be removed once other launchers have been modified.
Bug: 15025908
Change-Id: I057de0499d8921fc6df599251defe63f43e065eb
Diffstat (limited to 'src/com/android/launcher2/ApplicationInfo.java')
-rw-r--r-- | src/com/android/launcher2/ApplicationInfo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher2/ApplicationInfo.java b/src/com/android/launcher2/ApplicationInfo.java index c49222a4..b9a1e56d 100644 --- a/src/com/android/launcher2/ApplicationInfo.java +++ b/src/com/android/launcher2/ApplicationInfo.java @@ -72,7 +72,7 @@ class ApplicationInfo extends ItemInfo { this.setActivity(componentName, Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED); - int appFlags = info.getApplicationFlags(); + int appFlags = info.getApplicationInfo().flags; if ((appFlags & android.content.pm.ApplicationInfo.FLAG_SYSTEM) == 0) { flags |= DOWNLOADED_FLAG; } |