Merge change Icdb3d036 into eclair
* changes: Don't trigger user activity in screenOnStoppedLw() if the screen is off.
This commit is contained in:
@@ -2221,7 +2221,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
}
|
||||
|
||||
public void screenOnStoppedLw() {
|
||||
if (!mKeyguardMediator.isShowing()) {
|
||||
if (!mKeyguardMediator.isShowing() && mPowerManager.isScreenOn()) {
|
||||
long curTime = SystemClock.uptimeMillis();
|
||||
mPowerManager.userActivity(curTime, false, LocalPowerManager.OTHER_EVENT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user