Fix crash when dumping before user unlocks am: 7759c43bf2

Change-Id: I0b6621e9c6c31ef421e526446f9af15a8293fac8
This commit is contained in:
Automerger Merge Worker
2020-03-10 00:08:51 +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);
}
}