Merge "Reset all notification settings on clear app prefs"
This commit is contained in:
committed by
Android (Google) Code Review
commit
7686eb4f85
@@ -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