Merge "Use mContext directly, and enforce via logging" into qt-qpr1-dev

This commit is contained in:
TreeHugger Robot
2019-09-19 08:41:37 +00:00
committed by Android (Google) Code Review

View File

@@ -5255,6 +5255,9 @@ public class ActivityManagerService extends IActivityManager.Stub
// Inform checkpointing systems of success
try {
// This line is needed to CTS test for the correct exception handling
// See b/138952436#comment36 for context
Slog.i(TAG, "About to commit checkpoint");
IStorageManager storageManager = PackageHelper.getStorageManager();
storageManager.commitChanges();
} catch (Exception e) {