summaryrefslogtreecommitdiffstats
path: root/cmds
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-08-15 10:28:04 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-15 10:28:04 -0700
commitb25ebf3fc78c98b508f1b51278d017c070998ea8 (patch)
tree4a80e4a3870c569587c85caa255e0d87be635a11 /cmds
parent979d29539489e150fe83b284a8a0b9b3e0a9da23 (diff)
parent9bb23fd7f9081c28b39dd21f7023676b5c940058 (diff)
downloadandroid_development-b25ebf3fc78c98b508f1b51278d017c070998ea8.tar.gz
android_development-b25ebf3fc78c98b508f1b51278d017c070998ea8.tar.bz2
android_development-b25ebf3fc78c98b508f1b51278d017c070998ea8.zip
am 9bb23fd7: Use new PowerManager API.
* commit '9bb23fd7f9081c28b39dd21f7023676b5c940058': 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;