summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/compat/LauncherActivityInfoCompatV16.java
diff options
context:
space:
mode:
authorKenny Guy <kennyguy@google.com>2014-06-12 13:00:26 +0100
committerKenny Guy <kennyguy@google.com>2014-06-23 13:56:05 +0100
commit242bbe1b72e4978dde8a662d164cd186305e14a7 (patch)
treeff6b46ff813270cac053a4a390845a5fe6fb65ec /src/com/android/launcher3/compat/LauncherActivityInfoCompatV16.java
parent9c599c2aae239aebf77350dea000e594d6162e39 (diff)
downloadandroid_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.java5
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() {