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

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