Commit Graph

6 Commits

Author SHA1 Message Date
0e39ea83c5 Fixes for proximity sensor behavior:
Add optional flag to Wakelock.release() to specify whether we should wait for proximity sensor to go negative before turning on the screen.
Clear the "waiting for proximity sensor to go negative" state when the power key is pressed.

Part of the fix for b/2243198 (Black screen lockup after ending call)

Change-Id: I813fdb7aa4192cd3384a25be9e59d7d4b90da53a
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-18 18:45:59 -05:00
401ad721ad Modify svc power command so it pokes the wake lock when called. This will ensure screen is not asleep if stayon is requested. 2009-08-13 18:13:50 -07:00
9066cfe988 auto import from //depot/cupcake/@135843 2009-03-03 19:31:44 -08:00
d83a98f4ce auto import from //depot/cupcake/@135843 2009-03-03 18:28:45 -08:00
f013e1afd1 Code drop from //branches/cupcake/...@124589 2008-12-17 18:05:43 -08:00
54b6cfa9a9 Initial Contribution 2008-10-21 07:00:00 -07:00