commit | b365cc43878e0cb4e6d4b998c10cd590adc4cb8d | [log] [tgz] |
---|---|---|
author | Tony Wickham <twickham@google.com> | Mon Mar 09 13:20:04 2020 -0700 |
committer | Tony Wickham <twickham@google.com> | Mon Mar 09 13:20:04 2020 -0700 |
tree | aa0c051c2b2258a67f2fa494ee9ff90ae79bd9aa | |
parent | bf48cd480cd131c370760117681917dedd784c51 [diff] |
Fix crash when dumping before user unlocks Bug: 150864182 Bug: 151050221 Change-Id: I29ba2ef66b4359a47f866d02306498537c45236e
diff --git a/quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java b/quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java index 4598cdf..0f63336 100644 --- a/quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java +++ b/quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java
@@ -760,7 +760,9 @@ } else { // Dump everything FeatureFlags.dump(pw); - PluginManagerWrapper.INSTANCE.get(getBaseContext()).dump(pw); + if (mDeviceState.isUserUnlocked()) { + PluginManagerWrapper.INSTANCE.get(getBaseContext()).dump(pw); + } mDeviceState.dump(pw); if (mOverviewComponentObserver != null) { mOverviewComponentObserver.dump(pw);
diff --git a/quickstep/src/com/android/quickstep/RecentsAnimationDeviceState.java b/quickstep/src/com/android/quickstep/RecentsAnimationDeviceState.java index d845650..85464aa 100644 --- a/quickstep/src/com/android/quickstep/RecentsAnimationDeviceState.java +++ b/quickstep/src/com/android/quickstep/RecentsAnimationDeviceState.java
@@ -518,6 +518,7 @@ + QuickStepContract.isAssistantGestureDisabled(mSystemUiStateFlags)); pw.println(" currentActiveRotation=" + getCurrentActiveRotation()); pw.println(" displayRotation=" + getDisplayRotation()); + pw.println(" isUserUnlocked=" + mIsUserUnlocked); mOrientationTouchTransformer.dump(pw); } }