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

Commit 5908a40a 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

am: 18571143

Change-Id: Iaaf4e897789556878c123889c5954163cc05e223
parents cdc0b2d3 18571143
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;
        }
    }