am 9bb23fd7: Use new PowerManager API.

* commit '9bb23fd7f9081c28b39dd21f7023676b5c940058':
  Use new PowerManager API.
This commit is contained in:
Jeff Brown
2012-08-15 10:28:04 -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;