am d574af02: Track reason for screen turning on.
* commit 'd574af02c86819f2e934356bd5ad3b7a4f1559bc': Track reason for screen turning on.
This commit is contained in:
@@ -437,7 +437,7 @@ public class MonkeySourceNetwork implements MonkeyEventSource {
|
|||||||
IPowerManager pm =
|
IPowerManager pm =
|
||||||
IPowerManager.Stub.asInterface(ServiceManager.getService(Context.POWER_SERVICE));
|
IPowerManager.Stub.asInterface(ServiceManager.getService(Context.POWER_SERVICE));
|
||||||
try {
|
try {
|
||||||
pm.wakeUp(SystemClock.uptimeMillis());
|
pm.wakeUp(SystemClock.uptimeMillis(), "Monkey", null);
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
Log.e(TAG, "Got remote exception", e);
|
Log.e(TAG, "Got remote exception", e);
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user