Fix app notification toggle
Test: CTS Verifier 'Notification Listener Test' Bug: 222372861 Change-Id: I060b8b9bf7b749736596676a3d98cd609dc65846
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user