Track reason for screen turning on.
Change-Id: I1ab64b6d29d7e2c6f9006587d41a318289f13227
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user