summaryrefslogtreecommitdiffstats
path: root/tests/StatusBar
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2010-11-08 09:48:20 -0800
committerJoe Onorato <joeo@google.com>2010-11-08 13:02:58 -0800
commit1a542c7b8ed0be049869a12d1e01e2604d052ac2 (patch)
treeed1b5acbe31240e259689a6496ed1cf2dfa5dd1b /tests/StatusBar
parent3915bb845b032dc184dba5e60970b803390ca3ed (diff)
downloadframeworks_base-1a542c7b8ed0be049869a12d1e01e2604d052ac2.zip
frameworks_base-1a542c7b8ed0be049869a12d1e01e2604d052ac2.tar.gz
frameworks_base-1a542c7b8ed0be049869a12d1e01e2604d052ac2.tar.bz2
The CHEEK_TOUCH stuff never worked. Remove it.
Bug: 3104906 Change-Id: Ia37236ba1775fc3ec8c111e2e0b85b105e0dea6a
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) {