diff options
author | Jeff Sharkey <jsharkey@android.com> | 2013-08-11 16:28:14 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2013-08-11 17:07:44 -0700 |
commit | 1abdb7123025e52512b2ed7a518f8c754c35f50a (patch) | |
tree | c6ee8a4b4b4f8cf7b865d2d537823d6a59dca441 /services/java/com/android/server/BackupManagerService.java | |
parent | 09335703572db7d6a9b43f3aba32074e473d6a0f (diff) |
APIs for multiple external storage devices.
Provide developer APIs to discover application-specific paths on
secondary external storage devices. Covers files, cache, and OBB
directories. Apps will not have write access outside their package-
specific directories on secondary devices, so only primary storage is
exposed through Environment.
Creation of .nomedia files will be handled by FUSE daemon in future
change.
Change-Id: Ifcce6201a686d80269d7285adb597c008cf8fa7c
Diffstat (limited to 'services/java/com/android/server/BackupManagerService.java')
-rw-r--r-- | services/java/com/android/server/BackupManagerService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/BackupManagerService.java b/services/java/com/android/server/BackupManagerService.java index a537e99dfa98..ad9192a570ca 100644 --- a/services/java/com/android/server/BackupManagerService.java +++ b/services/java/com/android/server/BackupManagerService.java @@ -2877,7 +2877,7 @@ class BackupManagerService extends IBackupManager.Stub { // Save associated .obb content if it exists and we did save the apk // check for .obb and save those too final UserEnvironment userEnv = new UserEnvironment(UserHandle.USER_OWNER); - final File obbDir = userEnv.getExternalStorageAppObbDirectory(pkg.packageName); + final File obbDir = userEnv.buildExternalStorageAppObbDirs(pkg.packageName)[0]; if (obbDir != null) { if (MORE_DEBUG) Log.i(TAG, "obb dir: " + obbDir.getAbsolutePath()); File[] obbFiles = obbDir.listFiles(); |