diff options
author | Jeff Hao <jeffhao@google.com> | 2014-08-20 10:35:34 -0700 |
---|---|---|
committer | Jeff Hao <jeffhao@google.com> | 2014-08-26 15:54:25 -0700 |
commit | 1b012d302b56b4adf950035136d1d191a1936d5a (patch) | |
tree | 4b6fc0a3e89f7a2251680e7e13f7211a8dff7ba2 /tests/MemoryUsage/src/com | |
parent | 987eb9734445bd92f6925b596b9b0ece90ad70b8 (diff) | |
download | frameworks_base-1b012d302b56b4adf950035136d1d191a1936d5a.zip frameworks_base-1b012d302b56b4adf950035136d1d191a1936d5a.tar.gz frameworks_base-1b012d302b56b4adf950035136d1d191a1936d5a.tar.bz2 |
Add sample profiling option to am.
Also bundles all profiling options into a class.
Bug: 17040932
Change-Id: I85d675ee1494bdc7308caffdf94145d27c996e9d
Diffstat (limited to 'tests/MemoryUsage/src/com')
-rw-r--r-- | tests/MemoryUsage/src/com/android/tests/memoryusage/MemoryUsageTest.java | 2 |
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 f582a91..a7e3bec 100644 --- a/tests/MemoryUsage/src/com/android/tests/memoryusage/MemoryUsageTest.java +++ b/tests/MemoryUsage/src/com/android/tests/memoryusage/MemoryUsageTest.java @@ -318,7 +318,7 @@ public class MemoryUsageTest extends InstrumentationTestCase { } mAm.startActivityAndWait(null, null, mLaunchIntent, mimeType, - null, null, 0, mLaunchIntent.getFlags(), null, null, null, + null, null, 0, mLaunchIntent.getFlags(), null, null, UserHandle.USER_CURRENT_OR_SELF); } catch (RemoteException e) { Log.w(TAG, "Error launching app", e); |