Merge "Fix app notification toggle" into tm-dev am: d9b15d803d

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/17122328

Change-Id: I41ad0e99926726af785e8f64992ad2432661e56f
This commit is contained in:
Julia Reynolds
2022-03-08 21:12:47 +00:00
committed by Automerger Merge Worker

View File

@@ -362,7 +362,8 @@ abstract public class NotificationSettings extends DashboardFragment {
final String p = packages[i]; final String p = packages[i];
if (pkg.equals(p)) { if (pkg.equals(p)) {
try { try {
return mPm.getPackageInfo(pkg, PackageManager.GET_SIGNATURES); return mPm.getPackageInfo(pkg, PackageManager.GET_SIGNATURES
| PackageManager.GET_PERMISSIONS);
} catch (NameNotFoundException e) { } catch (NameNotFoundException e) {
Log.w(TAG, "Failed to load package " + pkg, e); Log.w(TAG, "Failed to load package " + pkg, e);
} }