Merge "Actually use mContext directly" into qt-qpr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
abd0f5ba3d
@@ -5262,7 +5262,7 @@ public class ActivityManagerService extends IActivityManager.Stub
|
|||||||
storageManager.commitChanges();
|
storageManager.commitChanges();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
PowerManager pm = (PowerManager)
|
PowerManager pm = (PowerManager)
|
||||||
mInjector.getContext().getSystemService(Context.POWER_SERVICE);
|
mContext.getSystemService(Context.POWER_SERVICE);
|
||||||
pm.reboot("Checkpoint commit failed");
|
pm.reboot("Checkpoint commit failed");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user