Catching all exceptions when docking.

am: f60a4af047

* commit 'f60a4af04779174b39b7d3d277de88ed1204d024':
  Catching all exceptions when docking.

Change-Id: I7ed98c617e3cdc241546d085ede23f49445cd223
This commit is contained in:
Winson
2016-05-23 17:26:43 +00:00
committed by android-build-merger

View File

@@ -417,8 +417,8 @@ public class SystemServicesProxy {
options.setLaunchStackId(DOCKED_STACK_ID);
mIam.startActivityFromRecents(taskId, options.toBundle());
return true;
} catch (RemoteException | IllegalArgumentException e) {
e.printStackTrace();
} catch (Exception e) {
Log.e(TAG, "Failed to dock task: " + taskId + " with createMode: " + createMode, e);
}
return false;
}