diff options
| author | Jeff Brown <jeffbrown@google.com> | 2012-08-15 10:30:45 -0700 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2012-08-15 10:30:45 -0700 |
| commit | cb54296cae11bd1f20f35eada13b6d6e0e1cce22 (patch) | |
| tree | cf170ccafa14bfe4fc34925a3588dbafc0dd18e0 /cmds | |
| parent | d41f9bc7a1f01a2af7cc93a7b6b1067717534162 (diff) | |
| parent | b25ebf3fc78c98b508f1b51278d017c070998ea8 (diff) | |
| download | android_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.java | 2 |
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; |
