Merge "Reset all notification settings on clear app prefs"

This commit is contained in:
TreeHugger Robot
2018-09-19 19:51:56 +00:00
committed by Android (Google) Code Review

View File

@@ -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) {