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

Commit 968117a4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents 1c373c43 eba1c74c
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;
        }
    }