Use mContext directly
am: dd3737611c
Change-Id: Icf6e6216a789f8f7899eeae39cd253e285d7c98e
This commit is contained in:
@@ -5259,7 +5259,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