summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2012-05-17 13:30:28 -0700
committerKenny Root <kroot@google.com>2012-05-17 16:06:54 -0700
commit51a573c76737733638c475f52e441c814e6645cc (patch)
tree74f38cdf51785be396ecf39c344097d8f9695081 /core/java/android
parent468a2ac63a065680da30f5e796583d53f70f8e25 (diff)
downloadframeworks_base-51a573c76737733638c475f52e441c814e6645cc.zip
frameworks_base-51a573c76737733638c475f52e441c814e6645cc.tar.gz
frameworks_base-51a573c76737733638c475f52e441c814e6645cc.tar.bz2
Wait for ASECs to be scanned before proceeding
Move MountService up the list, then pause waiting for MountService to finish scanning ASECs before the services that require those packages to be ready. Additionally, don't automatically mark all ASEC apps as FLAG_EXTERNAL on reboot. This prevents AppWidgets and other things from being used with ASECs which are on internal storage. Bug: 6445613 Change-Id: I3e0b3e244fec966814d7a5ea93de5d337aea79bd
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/os/storage/IMountService.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/java/android/os/storage/IMountService.java b/core/java/android/os/storage/IMountService.java
index f4abda6..ab64866 100644
--- a/core/java/android/os/storage/IMountService.java
+++ b/core/java/android/os/storage/IMountService.java
@@ -1360,7 +1360,14 @@ public interface IMountService extends IInterface {
*/
public Parcelable[] getVolumeList() throws RemoteException;
- public String getSecureContainerFilesystemPath(String id) throws RemoteException;
+ /**
+ * Gets the path on the filesystem for the ASEC container itself.
+ *
+ * @param cid ASEC container ID
+ * @return path to filesystem or {@code null} if it's not found
+ * @throws RemoteException
+ */
+ public String getSecureContainerFilesystemPath(String cid) throws RemoteException;
/*
* Fix permissions in a container which has just been created and populated.