Track reason for screen turning on.

Change-Id: I1ab64b6d29d7e2c6f9006587d41a318289f13227
This commit is contained in:
Dianne Hackborn
2015-07-14 17:57:51 -07:00
parent f8c219e08f
commit d574af02c8

View File

@@ -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;