am b25ebf3f: am 9bb23fd7: Use new PowerManager API.

* commit 'b25ebf3fc78c98b508f1b51278d017c070998ea8':
  Use new PowerManager API.
This commit is contained in:
Jeff Brown
2012-08-15 10:30:45 -07:00
committed by Android Git Automerger

View File

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