am f1b1eec9: Merge "SipService: mScreenOn is flipped to wrong value." into gingerbread

Merge commit 'f1b1eec9de1ca27b660f6c00487de07a30eecf64' into gingerbread-plus-aosp

* commit 'f1b1eec9de1ca27b660f6c00487de07a30eecf64':
  SipService: mScreenOn is flipped to wrong value.
This commit is contained in:
Hung-ying Tyan
2010-10-12 19:46:14 -07:00
committed by Android Git Automerger

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