From bddd3f1da872a95123faee611dff09693678deeb Mon Sep 17 00:00:00 2001 From: Ned Burns Date: Fri, 28 Jun 2019 12:54:25 -0400 Subject: [PATCH] Change NVHM protection from crash to Log.wtf Bug: 135018709 Test: manual, atest Change-Id: Ib0520ad581aeb653b53e84d8dda6e471b702df20 --- .../systemui/statusbar/NotificationViewHierarchyManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationViewHierarchyManager.java b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationViewHierarchyManager.java index b70b45b9db842..3ac8da72b5b04 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/NotificationViewHierarchyManager.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/NotificationViewHierarchyManager.java @@ -440,14 +440,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; }