Catching all exceptions when docking. am: f60a4af047
am: 5e04aeb328
* commit '5e04aeb328c941e8a06d21281068031bc59d1822':
Catching all exceptions when docking.
Change-Id: Ib30bff6adda9728243ae1f63398101ec67b0d432
This commit is contained in:
@@ -417,8 +417,8 @@ public class SystemServicesProxy {
|
|||||||
options.setLaunchStackId(DOCKED_STACK_ID);
|
options.setLaunchStackId(DOCKED_STACK_ID);
|
||||||
mIam.startActivityFromRecents(taskId, options.toBundle());
|
mIam.startActivityFromRecents(taskId, options.toBundle());
|
||||||
return true;
|
return true;
|
||||||
} catch (RemoteException | IllegalArgumentException e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
Log.e(TAG, "Failed to dock task: " + taskId + " with createMode: " + createMode, e);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user