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

Commit 5540281a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents d1a84cb5 bddd3f1d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
    }