summaryrefslogtreecommitdiffstats
path: root/core/tests
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2012-08-20 17:23:30 -0700
committerDianne Hackborn <hackbod@google.com>2012-08-21 10:34:20 -0700
commit0c3804950236fe170ebf6cc7a5f1e3e305b8f315 (patch)
tree832ea4ab2c17fe568df894aa3ed7438a01d97533 /core/tests
parenta5d5d608ccd885d8328879dde782a8cc93b7cf4f (diff)
downloadframeworks_base-0c3804950236fe170ebf6cc7a5f1e3e305b8f315.zip
frameworks_base-0c3804950236fe170ebf6cc7a5f1e3e305b8f315.tar.gz
frameworks_base-0c3804950236fe170ebf6cc7a5f1e3e305b8f315.tar.bz2
Improve multi-user app management.
Introduce API to get per-user storage information, keep track of services associated with users, and various small cleanup. Change-Id: I5d4e784e7ff3cccfed627d66a090d2f464202634
Diffstat (limited to 'core/tests')
-rwxr-xr-xcore/tests/coretests/src/android/content/pm/AppCacheTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tests/coretests/src/android/content/pm/AppCacheTest.java b/core/tests/coretests/src/android/content/pm/AppCacheTest.java
index 8d53db9..aae55e8 100755
--- a/core/tests/coretests/src/android/content/pm/AppCacheTest.java
+++ b/core/tests/coretests/src/android/content/pm/AppCacheTest.java
@@ -570,7 +570,7 @@ public class AppCacheTest extends AndroidTestCase {
PackageStatsObserver observer = new PackageStatsObserver();
//wait on observer
synchronized(observer) {
- getPm().getPackageSizeInfo(packageName, observer);
+ getPm().getPackageSizeInfo(packageName, UserHandle.myUserId(), observer);
long waitTime = 0;
while((!observer.isDone()) || (waitTime > MAX_WAIT_TIME) ) {
observer.wait(WAIT_TIME_INCR);