Index: tools/android/mempressure.py |
diff --git a/tools/android/mempressure.py b/tools/android/mempressure.py |
index 77f45a9e1cf426d2cfdda0c3c0c820e3592c1375..bd606f132235f70f1c4c762dff7d1e4f6a117e75 100755 |
--- a/tools/android/mempressure.py |
+++ b/tools/android/mempressure.py |
@@ -98,7 +98,8 @@ def main(argv): |
if ENABLE_TEST_INTENTS_FLAG not in flags.Get(): |
flags.AddFlags([ENABLE_TEST_INTENTS_FLAG]) |
- device.old_interface.StartActivity(package, activity, action=action) |
+ device.StartActivity(intent.Intent(package=package, activity=activity, |
+ action=action)) |
if __name__ == '__main__': |
sys.exit(main(sys.argv)) |