Merge "Add onQuickSwitchToNewTask(int rotation)" into rvc-dev am: 4c04982fd6 am: ca795cc427
Change-Id: Icbcf75a221f3e0211b3917d0f0f5c0dc8c9fb13b
This commit is contained in:
commit
09f16f2cda
2 files changed
+8
-13
No files matched your search
@@ -782,10 +782,6 @@ public class LauncherSwipeHandler<T extends BaseDraggingActivity>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (endTarget == NEW_TASK) {
|
|
||||||
SystemUiProxy.INSTANCE.get(mContext).onQuickSwitchToNewTask();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (endTarget == RECENTS || endTarget == HOME) {
|
if (endTarget == RECENTS || endTarget == HOME) {
|
||||||
// Since we're now done quickStepping, we want to only listen for touch events
|
// Since we're now done quickStepping, we want to only listen for touch events
|
||||||
// for the main orientation's nav bar, instead of multiple
|
// for the main orientation's nav bar, instead of multiple
|
||||||
|
|||||||
@@ -334,14 +334,13 @@ public class SystemUiProxy implements ISystemUiProxy {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onQuickSwitchToNewTask() {
|
public void onQuickSwitchToNewTask(int rotation) {
|
||||||
//TODO(b/150250451) add back in after big CL goes through
|
if (mSystemUiProxy != null) {
|
||||||
// if (mSystemUiProxy != null) {
|
try {
|
||||||
// try {
|
mSystemUiProxy.onQuickSwitchToNewTask(rotation);
|
||||||
// mSystemUiProxy.onQuickSwitchToNewTask();
|
} catch (RemoteException e) {
|
||||||
// } catch (RemoteException e) {
|
Log.w(TAG, "Failed call onQuickSwitchToNewTask with arg: " + rotation, e);
|
||||||
// Log.w(TAG, "Failed call onQuickstepStarted", e);
|
}
|
||||||
// }
|
}
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user