Merge "Decrease notification-policy writes"

This commit is contained in:
Julia Reynolds
2021-01-11 14:54:23 +00:00
committed by Android (Google) Code Review

View File

@@ -864,7 +864,7 @@ public class NotificationManagerService extends SystemService {
@VisibleForTesting
protected void handleSavePolicyFile() {
if (!IoThread.getHandler().hasCallbacks(mSavePolicyFile)) {
IoThread.getHandler().post(mSavePolicyFile);
IoThread.getHandler().postDelayed(mSavePolicyFile, 250);
}
}