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
Loading
Please register or sign in to comment