Merge "Change NVHM protection from crash to Log.wtf" into qt-dev

am: 5540281a6d

Change-Id: I7aee4a4db422fa2bdfc7deab110e92090f5c97e0
This commit is contained in:
Ned Burns
2019-07-03 19:47:37 -07:00
committed by android-build-merger

View File

@@ -468,14 +468,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;
}