Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 818d8813 authored by Daniel Rosenberg's avatar Daniel Rosenberg Committed by android-build-team Robot
Browse files

Actually use mContext directly

I40e95d72c63f864131f0028c47f121463d0f6dff (Use mContext directly)
lost a needed line in a rebase

Test: Forced commit to return exception, checked that device reboots
Bug: 138952436
Merged-In: Idb7cb9a5b7c4c0d237ece9716932a260956a0109
Change-Id: I8e7484631cd76965e660544a1af9f567dc5d3a34
(cherry picked from commit c5fc5fe3)
parent 859ead52
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");
        }