Merge "Decrease notification-policy writes"
This commit is contained in:
committed by
Android (Google) Code Review
commit
70593b4c16
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user