Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1bd5876d authored by Ned Burns's avatar Ned Burns Committed by android-build-merger
Browse files

Merge "Change NVHM protection from crash to Log.wtf" into qt-dev am: 5540281a

am: 6516c43a

Change-Id: I00b738fac4db9e3b849831b1ff0673ce0f60d0c9
parents 466d912f 6516c43a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
    }