diff options
author | Kenny Root <kroot@google.com> | 2012-05-17 13:30:28 -0700 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2012-05-17 16:06:54 -0700 |
commit | 51a573c76737733638c475f52e441c814e6645cc (patch) | |
tree | 74f38cdf51785be396ecf39c344097d8f9695081 /core/java/android | |
parent | 468a2ac63a065680da30f5e796583d53f70f8e25 (diff) | |
download | frameworks_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.java | 9 |
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. |