summaryrefslogtreecommitdiffstats
path: root/tests/StatusBar
diff options
context:
space:
mode:
Diffstat (limited to 'tests/StatusBar')
-rw-r--r--tests/StatusBar/src/com/android/statusbartest/PowerTest.java28
1 files changed, 4 insertions, 24 deletions
diff --git a/tests/StatusBar/src/com/android/statusbartest/PowerTest.java b/tests/StatusBar/src/com/android/statusbartest/PowerTest.java
index 178fa92..92d5bee 100644
--- a/tests/StatusBar/src/com/android/statusbartest/PowerTest.java
+++ b/tests/StatusBar/src/com/android/statusbartest/PowerTest.java
@@ -81,9 +81,9 @@ public class PowerTest extends TestActivity
mProx.release(PowerManager.WAIT_FOR_PROXIMITY_NEGATIVE);
}
},
- new Test("Cheek events don't poke") {
+ new Test("Touch events don't poke") {
public void run() {
- mPokeState |= LocalPowerManager.POKE_LOCK_IGNORE_CHEEK_EVENTS;
+ mPokeState |= LocalPowerManager.POKE_LOCK_IGNORE_TOUCH_EVENTS;
try {
mPowerManager.setPokeLock(mPokeState, mPokeToken, TAG);
} catch (RemoteException e) {
@@ -92,29 +92,9 @@ public class PowerTest extends TestActivity
}
},
- new Test("Cheek events poke") {
+ new Test("Touch events poke") {
public void run() {
- mPokeState &= ~LocalPowerManager.POKE_LOCK_IGNORE_CHEEK_EVENTS;
- try {
- mPowerManager.setPokeLock(mPokeState, mPokeToken, TAG);
- } catch (RemoteException e) {
- throw new RuntimeException(e);
- }
- }
- },
- new Test("Touch and Cheek events don't poke") {
- public void run() {
- mPokeState |= LocalPowerManager.POKE_LOCK_IGNORE_TOUCH_AND_CHEEK_EVENTS;
- try {
- mPowerManager.setPokeLock(mPokeState, mPokeToken, TAG);
- } catch (RemoteException e) {
- throw new RuntimeException(e);
- }
- }
- },
- new Test("Touch and Cheek events poke") {
- public void run() {
- mPokeState &= ~LocalPowerManager.POKE_LOCK_IGNORE_TOUCH_AND_CHEEK_EVENTS;
+ mPokeState &= ~LocalPowerManager.POKE_LOCK_IGNORE_TOUCH_EVENTS;
try {
mPowerManager.setPokeLock(mPokeState, mPokeToken, TAG);
} catch (RemoteException e) {