Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7fea69c3 authored by Winson's avatar Winson Committed by android-build-merger
Browse files

Catching all exceptions when docking.

am: f60a4af0

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

Change-Id: I7ed98c617e3cdc241546d085ede23f49445cd223
parents a882b8c1 f60a4af0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
    }