SipService: mScreenOn is flipped to wrong value.
http://b/issue?id=3077454 Change-Id: I23b6f70730074689b939e449c2c202ce8ffb586f
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user