Merge "Adding check for recents interface before calling back" into udc-dev
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user