Merge "Adding check for recents interface before calling back" into udc-dev

This commit is contained in:
Winson Chung
2023-03-31 06:21:50 +00:00
committed by Android (Google) Code Review
@@ -1117,6 +1117,9 @@ public class SystemUiProxy implements ISystemUiProxy {
*/
public boolean startRecentsActivity(Intent intent, ActivityOptions options,
RecentsAnimationListener listener) {
if (mRecentTasks == null) {
return false;
}
final IRecentsAnimationRunner runner = new IRecentsAnimationRunner.Stub() {
@Override
public void onAnimationStart(IRecentsAnimationController controller,