commit | cea3c9146a81959d0317b5dba13ac909a226ce7a | [log] [tgz] |
---|---|---|
author | Flavio Lerda <flerda@google.com> | Thu Aug 25 12:29:50 2011 +0100 |
committer | Flavio Lerda <flerda@google.com> | Thu Aug 25 13:10:27 2011 +0100 |
tree | b4f521d6d0c2e183d1fe7b6e5e346006279c1846 | |
parent | e7d15fb4bacfe85e175aa8012f9af8d41a2cfa15 [diff] |
Fix tests that require the screen to be on. Acquire the wake lock as the tests needs the screen to be on. Previously the test blocked until I pressed the power button on the device, unless the device was already on or set to keep the screen on while plugged in. Change-Id: I61ccbcc1b18bb954128c832b67efddd23dae5f08