Loading quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -539,6 +539,8 @@ public class TouchInteractionService extends Service implements PluginListener<O boolean canStartSystemGesture = mDeviceState.canStartSystemGesture(); boolean canStartSystemGesture = mDeviceState.canStartSystemGesture(); if (!mDeviceState.isUserUnlocked()) { if (!mDeviceState.isUserUnlocked()) { Log.d(TAG, "User locked. Can start system gesture? " + canStartSystemGesture + " sysUiFlags: " + mDeviceState.getSystemUiStateFlags()); if (canStartSystemGesture) { if (canStartSystemGesture) { // This handles apps launched in direct boot mode (e.g. dialer) as well as apps // This handles apps launched in direct boot mode (e.g. dialer) as well as apps // launched while device is locked even after exiting direct boot mode (e.g. camera). // launched while device is locked even after exiting direct boot mode (e.g. camera). Loading quickstep/src/com/android/quickstep/RecentsAnimationDeviceState.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -74,6 +74,8 @@ public class RecentsAnimationDeviceState implements NavigationModeChangeListener, NavigationModeChangeListener, DefaultDisplay.DisplayInfoChangeListener { DefaultDisplay.DisplayInfoChangeListener { private static final String TAG = "RecentsAnimationDeviceState"; private final Context mContext; private final Context mContext; private final SysUINavigationMode mSysUiNavMode; private final SysUINavigationMode mSysUiNavMode; private final DefaultDisplay mDefaultDisplay; private final DefaultDisplay mDefaultDisplay; Loading @@ -96,6 +98,7 @@ public class RecentsAnimationDeviceState implements @Override @Override public void onReceive(Context context, Intent intent) { public void onReceive(Context context, Intent intent) { if (ACTION_USER_UNLOCKED.equals(intent.getAction())) { if (ACTION_USER_UNLOCKED.equals(intent.getAction())) { Log.d(TAG, "User Unlocked Broadcast Received"); mIsUserUnlocked = true; mIsUserUnlocked = true; notifyUserUnlocked(); notifyUserUnlocked(); } } Loading Loading
quickstep/recents_ui_overrides/src/com/android/quickstep/TouchInteractionService.java +2 −0 Original line number Original line Diff line number Diff line Loading @@ -539,6 +539,8 @@ public class TouchInteractionService extends Service implements PluginListener<O boolean canStartSystemGesture = mDeviceState.canStartSystemGesture(); boolean canStartSystemGesture = mDeviceState.canStartSystemGesture(); if (!mDeviceState.isUserUnlocked()) { if (!mDeviceState.isUserUnlocked()) { Log.d(TAG, "User locked. Can start system gesture? " + canStartSystemGesture + " sysUiFlags: " + mDeviceState.getSystemUiStateFlags()); if (canStartSystemGesture) { if (canStartSystemGesture) { // This handles apps launched in direct boot mode (e.g. dialer) as well as apps // This handles apps launched in direct boot mode (e.g. dialer) as well as apps // launched while device is locked even after exiting direct boot mode (e.g. camera). // launched while device is locked even after exiting direct boot mode (e.g. camera). Loading
quickstep/src/com/android/quickstep/RecentsAnimationDeviceState.java +3 −0 Original line number Original line Diff line number Diff line Loading @@ -74,6 +74,8 @@ public class RecentsAnimationDeviceState implements NavigationModeChangeListener, NavigationModeChangeListener, DefaultDisplay.DisplayInfoChangeListener { DefaultDisplay.DisplayInfoChangeListener { private static final String TAG = "RecentsAnimationDeviceState"; private final Context mContext; private final Context mContext; private final SysUINavigationMode mSysUiNavMode; private final SysUINavigationMode mSysUiNavMode; private final DefaultDisplay mDefaultDisplay; private final DefaultDisplay mDefaultDisplay; Loading @@ -96,6 +98,7 @@ public class RecentsAnimationDeviceState implements @Override @Override public void onReceive(Context context, Intent intent) { public void onReceive(Context context, Intent intent) { if (ACTION_USER_UNLOCKED.equals(intent.getAction())) { if (ACTION_USER_UNLOCKED.equals(intent.getAction())) { Log.d(TAG, "User Unlocked Broadcast Received"); mIsUserUnlocked = true; mIsUserUnlocked = true; notifyUserUnlocked(); notifyUserUnlocked(); } } Loading