summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Launcher.java
diff options
context:
space:
mode:
authorBjorn Bringert <bringert@google.com>2013-09-06 12:50:05 +0100
committerBjorn Bringert <bringert@google.com>2013-09-06 12:52:24 +0100
commit85f418d0f5607c66efef1673075a6d3486e5af83 (patch)
treea6dc7ae661fed6458fb5dc06e83001253904858f /src/com/android/launcher3/Launcher.java
parentc07a0dc6dd5b9243774dc999181ece155fdf3f46 (diff)
downloadandroid_packages_apps_Trebuchet-85f418d0f5607c66efef1673075a6d3486e5af83.tar.gz
android_packages_apps_Trebuchet-85f418d0f5607c66efef1673075a6d3486e5af83.tar.bz2
android_packages_apps_Trebuchet-85f418d0f5607c66efef1673075a6d3486e5af83.zip
Allow Launcher class to hide activities from All Apps
There are a few questions for the launcher team embedded in comments. Bug: 10645210 Bug: 10551568 Change-Id: I67ad10da0d0f0f0885f8b14d329231c37aa6779b
Diffstat (limited to 'src/com/android/launcher3/Launcher.java')
-rw-r--r--src/com/android/launcher3/Launcher.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index ec84a9ac0..bdd9add14 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -45,6 +45,7 @@ import android.content.SharedPreferences;
import android.content.pm.ActivityInfo;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
+import android.content.pm.ResolveInfo;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.database.ContentObserver;
@@ -3907,6 +3908,11 @@ public class Launcher extends Activity
}
}
+ @Override
+ public boolean shouldShowApp(ResolveInfo app) {
+ return true;
+ }
+
/**
* A package was updated.
*