commit | 7f2433549325c0843d10fb5de34e0159fbb9cbf9 | [log] [tgz] |
---|---|---|
author | Shikha Malhotra <shikhamalhotra@google.com> | Mon Jan 24 20:20:39 2022 +0000 |
committer | Shikha Malhotra <shikhamalhotra@google.com> | Fri Feb 04 07:14:48 2022 +0000 |
tree | 59fcf43834b8061ce2fc2f7ba7833bc716e85db7 | |
parent | 02e0ed643667466353d3e01fb1c4349de5d7d9e4 [diff] |
Fix getStorageVolumes to return only storage volumes available to the calling user Before this change, it also returns volumes (SDCards) that are mounted on a different user. Bug: b/196928102 Test: atest StorageManagerTest Test: atest StorageManagerCrossProfileUSBTest Test: atest StorageManagerCrossProfileSDCardTest Change-Id: I2bcece22a67a1b06281ec73608d83a31b315b8c8