summaryrefslogtreecommitdiffstats
path: root/voip
diff options
context:
space:
mode:
authorHung-ying Tyan <tyanh@google.com>2010-10-13 09:43:35 +0800
committerHung-ying Tyan <tyanh@google.com>2010-10-13 10:25:07 +0800
commitd6fc979edbba6c65cac1085fb5f2b8b972713758 (patch)
treece0a5686005ebffe0fb09d599e9605368cc110d0 /voip
parent4367ab00edb59f95703e4a8a0f9a1a73dbf13551 (diff)
downloadframeworks_base-d6fc979edbba6c65cac1085fb5f2b8b972713758.zip
frameworks_base-d6fc979edbba6c65cac1085fb5f2b8b972713758.tar.gz
frameworks_base-d6fc979edbba6c65cac1085fb5f2b8b972713758.tar.bz2
SipService: mScreenOn is flipped to wrong value.
http://b/issue?id=3077454 Change-Id: I23b6f70730074689b939e449c2c202ce8ffb586f
Diffstat (limited to 'voip')
-rw-r--r--voip/java/com/android/server/sip/SipService.java4
1 files changed, 2 insertions, 2 deletions
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;
}
}
};