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:
@@ -126,9 +126,9 @@ public final class SipService extends ISipService.Stub {
|
|||||||
public void onReceive(Context context, Intent intent) {
|
public void onReceive(Context context, Intent intent) {
|
||||||
String action = intent.getAction();
|
String action = intent.getAction();
|
||||||
if (Intent.ACTION_SCREEN_OFF.equals(action)) {
|
if (Intent.ACTION_SCREEN_OFF.equals(action)) {
|
||||||
mScreenOn = true;
|
|
||||||
} else if (Intent.ACTION_SCREEN_ON.equals(action)) {
|
|
||||||
mScreenOn = false;
|
mScreenOn = false;
|
||||||
|
} else if (Intent.ACTION_SCREEN_ON.equals(action)) {
|
||||||
|
mScreenOn = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user