Merge "ApexManager: Use new submitStagedSession API" into stage-aosp-master
This commit is contained in:
committed by
Android (Google) Code Review
commit
968117a4c3
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user