Catching all exceptions when docking.
am: f60a4af047
* commit 'f60a4af04779174b39b7d3d277de88ed1204d024':
Catching all exceptions when docking.
Change-Id: I6f7d31e267686de5f9b12161469ca1490de23b15
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