Show a better list of apps.

By using the new LauncherApps service we can make sure to
use the same filter that launchers do. (For example, many apps
don't set CATEGORY_DEFAULT on their front door activity.)

Bug: 17423134
Change-Id: I9538f306c9e2a8607b0c25b1a9a6ac3a7879a2c8
This commit is contained in:
Dan Sandler
2014-09-10 09:54:28 -04:00
parent 30c50b15d0
commit 3d4b542d75
2 changed files with 52 additions and 54 deletions

View File

@@ -143,7 +143,7 @@ public class AppNotificationSettings extends SettingsPreferenceFragment {
getPreferenceScreen().removePreference(mSensitive);
}
mAppRow = NotificationAppList.loadAppRow(pm, info, mBackend);
mAppRow = NotificationAppList.loadAppRow(pm, info.applicationInfo, mBackend);
if (intent.hasExtra(EXTRA_HAS_SETTINGS_INTENT)) {
// use settings intent from extra
if (intent.getBooleanExtra(EXTRA_HAS_SETTINGS_INTENT, false)) {