summaryrefslogtreecommitdiff
path: root/tools/aidl/generate_java.cpp
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2009-07-27 13:50:57 -0700
committerMike Lockwood <lockwood@android.com>2009-07-28 13:09:21 -0700
commitbc706a03a25f0dfe2cb0ecd1f6e4f7be905592a7 (patch)
treeeb342641644dc68423569aca2b4d0b621dab62ac /tools/aidl/generate_java.cpp
parentb3c82efb4725e959a50dca3f7ff50d1d99a059b4 (diff)
PowerManager: Add proximity sensor support.
Add new wakelock flag PROXIMITY_SCREEN_OFF_WAKE_LOCK. If you create a wakelock with this flag, while the wakelock is acquired, the screen will turn off automatically when the sensor detects an object close to the screen. Removing the object will cause the screen to wake up again. Added PowerManager.getSupportedWakeLockFlags(), which can be used to determine if proximity screen off wakelocks are supported by the hardware. Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'tools/aidl/generate_java.cpp')
0 files changed, 0 insertions, 0 deletions