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

Commit df130ae5 authored by Nikita Ioffe's avatar Nikita Ioffe Committed by android-build-merger
Browse files

Populate error message if apexd.markStagedSessionReady fails am: 3e5c8487

am: 096cef9e

Change-Id: Ie771bd2e8b883d7ff8c08e258669803c543bb36a
parents 066f435c 096cef9e
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -333,10 +333,14 @@ class ApexManager {
    boolean markStagedSessionReady(int sessionId) {
        if (!isApexSupported()) return false;
        try {
            return mApexService.markStagedSessionReady(sessionId);
            mApexService.markStagedSessionReady(sessionId);
            return true;
        } catch (RemoteException re) {
            Slog.e(TAG, "Unable to contact apexservice", re);
            throw new RuntimeException(re);
        } catch (Exception e) {
            Slog.e(TAG, "Failed to mark session " + sessionId + " ready", e);
            return false;
        }
    }