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

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

Merge "ApexManager: Use new submitStagedSession API" into stage-aosp-master

am: 968117a4

Change-Id: I378357d85183d03c34455789c5b0f92946b8021e
parents 42762e7b 968117a4
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -312,10 +312,14 @@ class ApexManager {
            int sessionId, @NonNull int[] childSessionIds, @NonNull ApexInfoList apexInfoList) {
        if (!isApexSupported()) return false;
        try {
            return mApexService.submitStagedSession(sessionId, childSessionIds, apexInfoList);
            mApexService.submitStagedSession(sessionId, childSessionIds, apexInfoList);
            return true;
        } catch (RemoteException re) {
            Slog.e(TAG, "Unable to contact apexservice", re);
            throw new RuntimeException(re);
        } catch (Exception e) {
            Slog.e(TAG, "apexd verification failed", e);
            return false;
        }
    }