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

Commit d6fc979e authored by Hung-ying Tyan's avatar Hung-ying Tyan
Browse files

SipService: mScreenOn is flipped to wrong value.

http://b/issue?id=3077454

Change-Id: I23b6f70730074689b939e449c2c202ce8ffb586f
parent 4367ab00
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -126,9 +126,9 @@ public final class SipService extends ISipService.Stub {
        public void onReceive(Context context, Intent intent) {
            String action = intent.getAction();
            if (Intent.ACTION_SCREEN_OFF.equals(action)) {
                mScreenOn = true;
            } else if (Intent.ACTION_SCREEN_ON.equals(action)) {
                mScreenOn = false;
            } else if (Intent.ACTION_SCREEN_ON.equals(action)) {
                mScreenOn = true;
            }
        }
    };