Add default app prefs to app info

This makes them easier to discover and to know the state of them.

Bug: 27276982
Change-Id: I24a9d34d7e189b19df39cc0b9028b6412f76aa05
This commit is contained in:
Jason Monk
2016-02-23 17:28:29 -05:00
parent 91e2f89b0f
commit 2108d361bb
11 changed files with 270 additions and 12 deletions

View File

@@ -136,7 +136,8 @@ public abstract class AppInfoBase extends SettingsPreferenceFragment
mPackageInfo = mPm.getPackageInfo(mAppEntry.info.packageName,
PackageManager.GET_DISABLED_COMPONENTS |
PackageManager.GET_UNINSTALLED_PACKAGES |
PackageManager.GET_SIGNATURES);
PackageManager.GET_SIGNATURES |
PackageManager.GET_PERMISSIONS);
} catch (NameNotFoundException e) {
Log.e(TAG, "Exception when retrieving package:" + mAppEntry.info.packageName, e);
}