summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-08-15 10:30:45 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-15 10:30:45 -0700
commitcb54296cae11bd1f20f35eada13b6d6e0e1cce22 (patch)
treecf170ccafa14bfe4fc34925a3588dbafc0dd18e0 /cmds
parentd41f9bc7a1f01a2af7cc93a7b6b1067717534162 (diff)
parentb25ebf3fc78c98b508f1b51278d017c070998ea8 (diff)
downloadandroid_development-cb54296cae11bd1f20f35eada13b6d6e0e1cce22.tar.gz
android_development-cb54296cae11bd1f20f35eada13b6d6e0e1cce22.tar.bz2
android_development-cb54296cae11bd1f20f35eada13b6d6e0e1cce22.zip
am b25ebf3f: am 9bb23fd7: Use new PowerManager API.
* commit 'b25ebf3fc78c98b508f1b51278d017c070998ea8': Use new PowerManager API.
Diffstat (limited to 'cmds')
-rw-r--r--cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetwork.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetwork.java b/cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetwork.java
index 99e7c0760..cae641656 100644
--- a/cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetwork.java
+++ b/cmds/monkey/src/com/android/commands/monkey/MonkeySourceNetwork.java
@@ -437,7 +437,7 @@ public class MonkeySourceNetwork implements MonkeyEventSource {
IPowerManager pm =
IPowerManager.Stub.asInterface(ServiceManager.getService(Context.POWER_SERVICE));
try {
- pm.userActivityWithForce(SystemClock.uptimeMillis(), true, true);
+ pm.wakeUp(SystemClock.uptimeMillis());
} catch (RemoteException e) {
Log.e(TAG, "Got remote exception", e);
return false;