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

Commit 69c5b8c7 authored by Wink Saville's avatar Wink Saville Committed by Gerrit Code Review
Browse files

Merge "Send correct screen state when radio available."

parents 5b5a06f5 cf57b29a
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -2056,9 +2056,8 @@ public final class RIL extends BaseCommands implements CommandsInterface {
        // In case screen state was lost (due to process crash),
        // this ensures that the RIL knows the correct screen state.

        // TODO: Should query Power Manager and send the actual
        // screen state.  Just send true for now.
        sendScreenState(true);
        PowerManager pm = (PowerManager)mContext.getSystemService(Context.POWER_SERVICE);
        sendScreenState(pm.isScreenOn());
   }

    private RadioState getRadioStateFromInt(int stateInt) {