Merge "Change NVHM protection from crash to Log.wtf" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5540281a6d
@@ -465,14 +465,14 @@ public class NotificationViewHierarchyManager implements DynamicPrivacyControlle
|
||||
|
||||
private void beginUpdate() {
|
||||
if (mPerformingUpdate) {
|
||||
throw new IllegalStateException("Re-entrant code during update.");
|
||||
Log.wtf(TAG, "Re-entrant code during update", new Exception());
|
||||
}
|
||||
mPerformingUpdate = true;
|
||||
}
|
||||
|
||||
private void endUpdate() {
|
||||
if (!mPerformingUpdate) {
|
||||
throw new IllegalStateException("Manager state has become desynced.");
|
||||
Log.wtf(TAG, "Manager state has become desynced", new Exception());
|
||||
}
|
||||
mPerformingUpdate = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user