summaryrefslogtreecommitdiffstats
path: root/tests/MemoryUsage
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-01-31 15:00:51 -0800
committerDianne Hackborn <hackbod@google.com>2013-02-01 15:14:29 -0800
commitf265ea9d8307282ff1da3915978625a94fc2859e (patch)
tree4e92b5de30239c1808a395cb49c9b17fe28ccffb /tests/MemoryUsage
parent7a4ecc957d437ad4914988edc7593570f1e43f79 (diff)
downloadframeworks_base-f265ea9d8307282ff1da3915978625a94fc2859e.zip
frameworks_base-f265ea9d8307282ff1da3915978625a94fc2859e.tar.gz
frameworks_base-f265ea9d8307282ff1da3915978625a94fc2859e.tar.bz2
App ops: vibration, neighboring cells, dialing, etc.
Improve handling of vibration op, so that apps are better blamed (there is now a hidden vibrator API that supplies the app to blame, and the system now uses this when vibrating on behalf of an app). Add operation for retrieving neighboring cell information. Add a new op for calling a phone number. This required plumbing information about the launching package name through the activity manager, which required changing the internal startActivity class, which required hitting a ton of code that uses those internal APIs. Change-Id: I3f8015634fdb296558f07fe654fb8d53e5c94d07
Diffstat (limited to 'tests/MemoryUsage')
-rw-r--r--tests/MemoryUsage/src/com/android/tests/memoryusage/MemoryUsageTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/MemoryUsage/src/com/android/tests/memoryusage/MemoryUsageTest.java b/tests/MemoryUsage/src/com/android/tests/memoryusage/MemoryUsageTest.java
index b550957..397ef13 100644
--- a/tests/MemoryUsage/src/com/android/tests/memoryusage/MemoryUsageTest.java
+++ b/tests/MemoryUsage/src/com/android/tests/memoryusage/MemoryUsageTest.java
@@ -275,7 +275,7 @@ public class MemoryUsageTest extends InstrumentationTestCase {
UserHandle.USER_CURRENT);
}
- mAm.startActivityAndWait(null, mLaunchIntent, mimeType,
+ mAm.startActivityAndWait(null, null, mLaunchIntent, mimeType,
null, null, 0, mLaunchIntent.getFlags(), null, null, null,
UserHandle.USER_CURRENT_OR_SELF);
} catch (RemoteException e) {