diff options
| author | 2022-09-09 14:02:15 +0100 | |
|---|---|---|
| committer | 2022-11-29 09:40:29 +0000 | |
| commit | fb9e2f4e9f622367ce07e72fc6503de9ec20b67f (patch) | |
| tree | d12d40cd68c693e60902c303c1801e2657cfd135 /libs/androidfw/ConfigDescription.cpp | |
| parent | 96c4978054d8524112169b0276b40d788fd03218 (diff) | |
Fixing Storage Volume listing for Cloned User.
Current implementation only returns the Volumes for the current user.
In case of Cloned user this causes issues as Cloned user uses Media
Provider of User 0, thereby returning only Volume 0, causing problems in
assigning projectIds, and affecting storage calculation.
The projectId assignement happens via
MediaProvider.updateExternalStorageFileQuota.
Bug: 235321217
Test: atest android.appsecurity.cts.StorageHostTest
Change-Id: I617bae9b201fd66d7b62b6cbd1c48b9f276f1924
(cherry picked from commit 4e65c53b43429e08a65aa901f043c9016e02f23c)
Merged-In: I617bae9b201fd66d7b62b6cbd1c48b9f276f1924
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions