Merge "Catch IllegalArgumentException from startActivityFromRecents."
This commit is contained in:
committed by
Android (Google) Code Review
commit
8b3ef5ab8c
@@ -1357,7 +1357,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
}
|
||||
try {
|
||||
ActivityManager.getService().startActivityFromRecents(targetTask.persistentId, null);
|
||||
} catch (RemoteException e) {
|
||||
} catch (RemoteException | IllegalArgumentException e) {
|
||||
Slog.e(TAG, "Failed to start task " + targetTask.persistentId + " from recents", e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user