Loading libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java +11 −3 Original line number Diff line number Diff line Loading @@ -671,10 +671,18 @@ public class BubbleController implements ConfigurationChangeListener { return; } try { mAddedToWindowManager = false; // Put on background for this binder call, was causing jank mBackgroundExecutor.execute(() -> mContext.unregisterReceiver(mBroadcastReceiver)); mBackgroundExecutor.execute(() -> { try { mContext.unregisterReceiver(mBroadcastReceiver); } catch (IllegalArgumentException e) { // Not sure if this happens in production, but was happening in tests // (b/253647225) e.printStackTrace(); } }); try { if (mStackView != null) { mWindowManager.removeView(mStackView); mBubbleData.getOverflow().cleanUpExpandedState(); Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/BubbleController.java +11 −3 Original line number Diff line number Diff line Loading @@ -671,10 +671,18 @@ public class BubbleController implements ConfigurationChangeListener { return; } try { mAddedToWindowManager = false; // Put on background for this binder call, was causing jank mBackgroundExecutor.execute(() -> mContext.unregisterReceiver(mBroadcastReceiver)); mBackgroundExecutor.execute(() -> { try { mContext.unregisterReceiver(mBroadcastReceiver); } catch (IllegalArgumentException e) { // Not sure if this happens in production, but was happening in tests // (b/253647225) e.printStackTrace(); } }); try { if (mStackView != null) { mWindowManager.removeView(mStackView); mBubbleData.getOverflow().cleanUpExpandedState(); Loading