Fix crash when dumping before user unlocks am: 7759c43bf2 am: 0b9f89caf6

Change-Id: I4c9c4fe765914f09fd40402589c3dfcf886179fd
This commit is contained in:
Automerger Merge Worker
2020-03-10 00:29:16 +00:00
2 changed files with 4 additions and 1 deletions
@@ -760,7 +760,9 @@ public class TouchInteractionService extends Service implements PluginListener<O
} 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);
@@ -518,6 +518,7 @@ public class RecentsAnimationDeviceState implements
+ QuickStepContract.isAssistantGestureDisabled(mSystemUiStateFlags));
pw.println(" currentActiveRotation=" + getCurrentActiveRotation());
pw.println(" displayRotation=" + getDisplayRotation());
pw.println(" isUserUnlocked=" + mIsUserUnlocked);
mOrientationTouchTransformer.dump(pw);
}
}