Reset all notification settings on clear app prefs
Not just the app level 'are these notifications blocked?' field. Test: manual Change-Id: Id77366d0d71e1f0d2507f1a30123d61aa11db252 Fixes: 65476259
This commit is contained in:
@@ -117,7 +117,7 @@ public class ResetAppsHelper implements DialogInterface.OnClickListener,
|
||||
for (int i = 0; i < apps.size(); i++) {
|
||||
ApplicationInfo app = apps.get(i);
|
||||
try {
|
||||
mNm.setNotificationsEnabledForPackage(app.packageName, app.uid, true);
|
||||
mNm.clearData(app.packageName, app.uid, false);
|
||||
} catch (android.os.RemoteException ex) {
|
||||
}
|
||||
if (!app.enabled) {
|
||||
|
Reference in New Issue
Block a user