Merge "Actually use mContext directly" into qt-qpr1-dev

This commit is contained in:
TreeHugger Robot
2019-11-13 21:22:02 +00:00
committed by Android (Google) Code Review

View File

@@ -5262,7 +5262,7 @@ public class ActivityManagerService extends IActivityManager.Stub
storageManager.commitChanges();
} catch (Exception e) {
PowerManager pm = (PowerManager)
mInjector.getContext().getSystemService(Context.POWER_SERVICE);
mContext.getSystemService(Context.POWER_SERVICE);
pm.reboot("Checkpoint commit failed");
}