From d6fc979edbba6c65cac1085fb5f2b8b972713758 Mon Sep 17 00:00:00 2001 From: Hung-ying Tyan Date: Wed, 13 Oct 2010 09:43:35 +0800 Subject: SipService: mScreenOn is flipped to wrong value. http://b/issue?id=3077454 Change-Id: I23b6f70730074689b939e449c2c202ce8ffb586f --- voip/java/com/android/server/sip/SipService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'voip') diff --git a/voip/java/com/android/server/sip/SipService.java b/voip/java/com/android/server/sip/SipService.java index 6f426c9..42b4e7c 100644 --- a/voip/java/com/android/server/sip/SipService.java +++ b/voip/java/com/android/server/sip/SipService.java @@ -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; } } }; -- cgit v1.1