summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2015-07-14 17:57:51 -0700
committerDianne Hackborn <hackbod@google.com>2015-07-15 10:08:36 -0700
commitd574af02c86819f2e934356bd5ad3b7a4f1559bc (patch)
tree2676d257912d482876b3ca2b2f28959a896301d3
parentf8c219e08f1b1e27cb62de336f33b9e76bd8a29a (diff)
downloadandroid_development-d574af02c86819f2e934356bd5ad3b7a4f1559bc.tar.gz
android_development-d574af02c86819f2e934356bd5ad3b7a4f1559bc.tar.bz2
android_development-d574af02c86819f2e934356bd5ad3b7a4f1559bc.zip
Track reason for screen turning on.
Change-Id: I1ab64b6d29d7e2c6f9006587d41a318289f13227
-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 d192d532a..0eebf7c51 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.wakeUp(SystemClock.uptimeMillis());
+ pm.wakeUp(SystemClock.uptimeMillis(), "Monkey", null);
} catch (RemoteException e) {
Log.e(TAG, "Got remote exception", e);
return false;