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

This commit is contained in:
Hung-ying Tyan
2010-10-12 19:44:17 -07:00
committed by Android (Google) Code Review

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