diff options
author | Kenny Guy <kennyguy@google.com> | 2014-06-12 13:00:26 +0100 |
---|---|---|
committer | Kenny Guy <kennyguy@google.com> | 2014-06-23 13:56:05 +0100 |
commit | 242bbe1b72e4978dde8a662d164cd186305e14a7 (patch) | |
tree | ff6b46ff813270cac053a4a390845a5fe6fb65ec /src/com/android/launcher3/compat/LauncherActivityInfoCompatV16.java | |
parent | 9c599c2aae239aebf77350dea000e594d6162e39 (diff) | |
download | android_packages_apps_Trebuchet-242bbe1b72e4978dde8a662d164cd186305e14a7.tar.gz android_packages_apps_Trebuchet-242bbe1b72e4978dde8a662d164cd186305e14a7.tar.bz2 android_packages_apps_Trebuchet-242bbe1b72e4978dde8a662d164cd186305e14a7.zip |
Remove reflection now we are building against L
Remove reflection and update changed renamed L APIs
now that branch has L sdk.
Change-Id: I223c6528487110eb328e2e229bbcbefb701e0c20
Diffstat (limited to 'src/com/android/launcher3/compat/LauncherActivityInfoCompatV16.java')
-rw-r--r-- | src/com/android/launcher3/compat/LauncherActivityInfoCompatV16.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/com/android/launcher3/compat/LauncherActivityInfoCompatV16.java b/src/com/android/launcher3/compat/LauncherActivityInfoCompatV16.java index 052d4343e..1d41a6ff6 100644 --- a/src/com/android/launcher3/compat/LauncherActivityInfoCompatV16.java +++ b/src/com/android/launcher3/compat/LauncherActivityInfoCompatV16.java @@ -18,6 +18,7 @@ package com.android.launcher3.compat; import android.content.ComponentName; import android.content.Context; +import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager.NameNotFoundException; import android.content.pm.ActivityInfo; import android.content.pm.PackageManager; @@ -75,8 +76,8 @@ public class LauncherActivityInfoCompatV16 extends LauncherActivityInfoCompat { return d; } - public int getApplicationFlags() { - return mActivityInfo.applicationInfo.flags; + public ApplicationInfo getApplicationInfo() { + return mActivityInfo.applicationInfo; } public long getFirstInstallTime() { |