OSDN Git Service

Update keyguard to send userActivity events
authorJim Miller <jaggies@google.com>
Wed, 3 Oct 2012 01:38:09 +0000 (18:38 -0700)
committerJim Miller <jaggies@google.com>
Wed, 3 Oct 2012 07:41:54 +0000 (00:41 -0700)
commit5d2da713ed8338c0d73779d842e6958f86fbc2ee
tree4ff848dcdadc55e5fd71c871d4c2b037d6721cb5
parent3f0a57dcd9a060bb3b2b35da4d2ac6cb42733fef
Update keyguard to send userActivity events

Since the new PowerManager changes are in, keyguard needs to handle
keeping the screen awake.  This change does this in a few places in
addition to the existing security screens:

- when the widget page changes
- when the user interacts with any widget other than the status widget
- when the user taps on the target in the selector screen

Fixes bug 7273646

Change-Id: If4c76a38e9b886dd359ba96cd2aae03652007b66
policy/src/com/android/internal/policy/impl/keyguard/KeyguardHostView.java
policy/src/com/android/internal/policy/impl/keyguard/KeyguardWidgetFrame.java
policy/src/com/android/internal/policy/impl/keyguard/KeyguardWidgetRegion.java