Loading quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java +1 −0 Original line number Diff line number Diff line Loading @@ -750,6 +750,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>, setIsLikelyToStartNewTask(isLikelyToStartNewTask, false /* animate */); mStateCallback.setStateOnUiThread(STATE_GESTURE_STARTED); mGestureStarted = true; SystemUiProxy.INSTANCE.get(mContext).notifySwipeUpGestureStarted(); } /** Loading quickstep/src/com/android/quickstep/RotationTouchHelper.java +1 −1 Original line number Diff line number Diff line Loading @@ -369,7 +369,7 @@ public class RotationTouchHelper implements private void notifySysuiOfCurrentRotation(int rotation) { UI_HELPER_EXECUTOR.execute(() -> SystemUiProxy.INSTANCE.get(mContext) .onQuickSwitchToNewTask(rotation)); .notifyPrioritizedRotation(rotation)); } /** Loading quickstep/src/com/android/quickstep/SystemUiProxy.java +15 −4 Original line number Diff line number Diff line Loading @@ -341,6 +341,17 @@ public class SystemUiProxy implements ISystemUiProxy, } } @Override public void notifySwipeUpGestureStarted() { if (mSystemUiProxy != null) { try { mSystemUiProxy.notifySwipeUpGestureStarted(); } catch (RemoteException e) { Log.w(TAG, "Failed call notifySwipeUpGestureStarted", e); } } } /** * Notifies that swipe-to-home action is finished. */ Loading @@ -350,18 +361,18 @@ public class SystemUiProxy implements ISystemUiProxy, try { mSystemUiProxy.notifySwipeToHomeFinished(); } catch (RemoteException e) { Log.w(TAG, "Failed call setPinnedStackAnimationType", e); Log.w(TAG, "Failed call notifySwipeToHomeFinished", e); } } } @Override public void onQuickSwitchToNewTask(int rotation) { public void notifyPrioritizedRotation(int rotation) { if (mSystemUiProxy != null) { try { mSystemUiProxy.onQuickSwitchToNewTask(rotation); mSystemUiProxy.notifyPrioritizedRotation(rotation); } catch (RemoteException e) { Log.w(TAG, "Failed call onQuickSwitchToNewTask with arg: " + rotation, e); Log.w(TAG, "Failed call notifyPrioritizedRotation with arg: " + rotation, e); } } } Loading Loading
quickstep/src/com/android/quickstep/AbsSwipeUpHandler.java +1 −0 Original line number Diff line number Diff line Loading @@ -750,6 +750,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<S>, setIsLikelyToStartNewTask(isLikelyToStartNewTask, false /* animate */); mStateCallback.setStateOnUiThread(STATE_GESTURE_STARTED); mGestureStarted = true; SystemUiProxy.INSTANCE.get(mContext).notifySwipeUpGestureStarted(); } /** Loading
quickstep/src/com/android/quickstep/RotationTouchHelper.java +1 −1 Original line number Diff line number Diff line Loading @@ -369,7 +369,7 @@ public class RotationTouchHelper implements private void notifySysuiOfCurrentRotation(int rotation) { UI_HELPER_EXECUTOR.execute(() -> SystemUiProxy.INSTANCE.get(mContext) .onQuickSwitchToNewTask(rotation)); .notifyPrioritizedRotation(rotation)); } /** Loading
quickstep/src/com/android/quickstep/SystemUiProxy.java +15 −4 Original line number Diff line number Diff line Loading @@ -341,6 +341,17 @@ public class SystemUiProxy implements ISystemUiProxy, } } @Override public void notifySwipeUpGestureStarted() { if (mSystemUiProxy != null) { try { mSystemUiProxy.notifySwipeUpGestureStarted(); } catch (RemoteException e) { Log.w(TAG, "Failed call notifySwipeUpGestureStarted", e); } } } /** * Notifies that swipe-to-home action is finished. */ Loading @@ -350,18 +361,18 @@ public class SystemUiProxy implements ISystemUiProxy, try { mSystemUiProxy.notifySwipeToHomeFinished(); } catch (RemoteException e) { Log.w(TAG, "Failed call setPinnedStackAnimationType", e); Log.w(TAG, "Failed call notifySwipeToHomeFinished", e); } } } @Override public void onQuickSwitchToNewTask(int rotation) { public void notifyPrioritizedRotation(int rotation) { if (mSystemUiProxy != null) { try { mSystemUiProxy.onQuickSwitchToNewTask(rotation); mSystemUiProxy.notifyPrioritizedRotation(rotation); } catch (RemoteException e) { Log.w(TAG, "Failed call onQuickSwitchToNewTask with arg: " + rotation, e); Log.w(TAG, "Failed call notifyPrioritizedRotation with arg: " + rotation, e); } } } Loading