summaryrefslogtreecommitdiffstats
path: root/core/tests/coretests/src
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2015-04-18 20:23:13 -0700
committerJeff Sharkey <jsharkey@android.com>2015-04-18 21:11:58 -0700
commit529f91fc8e7e884ef19bef8eb3e4e3a1d69336f4 (patch)
tree463b7b5d9175e98402939a2bbfebd4f30899feac /core/tests/coretests/src
parent355df8f16ae4c428997d88ba86f1ce07e5eca35e (diff)
downloadframeworks_base-529f91fc8e7e884ef19bef8eb3e4e3a1d69336f4.zip
frameworks_base-529f91fc8e7e884ef19bef8eb3e4e3a1d69336f4.tar.gz
frameworks_base-529f91fc8e7e884ef19bef8eb3e4e3a1d69336f4.tar.bz2
Always send volume UUID with installd commands.
Since packages can be moved to other volumes, all relevant commands to installd now require an explicit volume UUID parameter. Bug: 20275577 Change-Id: Ie84f5bc43c7aada5800b8d71692c7928b42b965e
Diffstat (limited to 'core/tests/coretests/src')
-rw-r--r--core/tests/coretests/src/android/content/pm/AppCacheTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/tests/coretests/src/android/content/pm/AppCacheTest.java b/core/tests/coretests/src/android/content/pm/AppCacheTest.java
index aae55e8..54316d5 100644
--- a/core/tests/coretests/src/android/content/pm/AppCacheTest.java
+++ b/core/tests/coretests/src/android/content/pm/AppCacheTest.java
@@ -490,7 +490,7 @@ public class AppCacheTest extends AndroidTestCase {
PackageDataObserver observer = new PackageDataObserver();
//wait on observer
synchronized(observer) {
- getPm().freeStorageAndNotify(idealStorageSize, observer);
+ getPm().freeStorageAndNotify(null, idealStorageSize, observer);
long waitTime = 0;
while(!observer.isDone() || (waitTime > MAX_WAIT_TIME)) {
observer.wait(WAIT_TIME_INCR);
@@ -515,7 +515,7 @@ public class AppCacheTest extends AndroidTestCase {
try {
// Spin lock waiting for call back
synchronized(r) {
- getPm().freeStorage(idealStorageSize, pi.getIntentSender());
+ getPm().freeStorage(null, idealStorageSize, pi.getIntentSender());
long waitTime = 0;
while(!r.isDone() && (waitTime < MAX_WAIT_TIME)) {
r.wait(WAIT_TIME_INCR);