SipService: mScreenOn is flipped to wrong value.

http://b/issue?id=3077454

Change-Id: I23b6f70730074689b939e449c2c202ce8ffb586f
This commit is contained in:
Hung-ying Tyan
2010-10-13 09:43:35 +08:00
parent 4367ab00ed
commit d6fc979edb

View File

@@ -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;
}
}
};