diff options
author | Michael Wright <michaelwr@google.com> | 2014-09-08 19:57:50 -0700 |
---|---|---|
committer | Michael Wright <michaelwr@google.com> | 2014-09-12 00:23:14 +0000 |
commit | 1208e2718daeae538dc89c37198092ccb32798a2 (patch) | |
tree | 6ebb64db4e788c398b44039eb8432929d6fd99d4 /tests | |
parent | a374bc049c6de95186c2f9e5a9032134a5428665 (diff) | |
download | frameworks_base-1208e2718daeae538dc89c37198092ccb32798a2.zip frameworks_base-1208e2718daeae538dc89c37198092ccb32798a2.tar.gz frameworks_base-1208e2718daeae538dc89c37198092ccb32798a2.tar.bz2 |
Change constant to PowerManager.RELEAES_FLAG_WAIT_FOR_NO_PROXIMITY
Bug: 17290118
Change-Id: Iae3866bf3f7ac24f756ec4c183e848a79d1f779b
Diffstat (limited to 'tests')
-rw-r--r-- | tests/StatusBar/src/com/android/statusbartest/PowerTest.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/StatusBar/src/com/android/statusbartest/PowerTest.java b/tests/StatusBar/src/com/android/statusbartest/PowerTest.java index 2ec620b..52527d9 100644 --- a/tests/StatusBar/src/com/android/statusbartest/PowerTest.java +++ b/tests/StatusBar/src/com/android/statusbartest/PowerTest.java @@ -77,9 +77,9 @@ public class PowerTest extends TestActivity mProx.release(); } }, - new Test("Disable proximity (WAIT_FOR_DISTANT_PROXIMITY") { + new Test("Disable proximity (RELEASE_FLAG_WAIT_FOR_NO_PROXIMITY") { public void run() { - mProx.release(PowerManager.WAIT_FOR_DISTANT_PROXIMITY); + mProx.release(PowerManager.RELEASE_FLAG_WAIT_FOR_NO_PROXIMITY); } }, new Test("Enable proximity, wait 5 seconds then disable") { @@ -93,13 +93,14 @@ public class PowerTest extends TestActivity }, 5000); } }, - new Test("Enable proximity, wait 5 seconds then disable (WAIT_FOR_DISTANT_PROXIMITY)") { + new Test("Enable proximity, wait 5 seconds then disable " + + "(RELEASE_FLAG_WAIT_FOR_NO_PROXIMITY)") { public void run() { mProx.acquire(); mHandler.postDelayed(new Runnable() { @Override public void run() { - mProx.release(PowerManager.WAIT_FOR_DISTANT_PROXIMITY); + mProx.release(PowerManager.RELEASE_FLAG_WAIT_FOR_NO_PROXIMITY); } }, 5000); } |