commit | 9ba7fd65128df3dd2b399db873e4bc1870d36963 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Thu Jun 11 16:54:37 2020 +0100 |
committer | Narayan Kamath <narayan@google.com> | Tue Jun 16 11:58:03 2020 +0100 |
tree | e5ffa36f29c094de9eb26dbe99e53da4432e1749 | |
parent | fdab0241b8a0444b9d5c1eddd73438cd7c2af667 [diff] |
Add test for file ownership updates. If a legacy app races to create a file at the same location as an app in scoped storage, we update the ownership to the legacy app to prevent the app in scoped storage from being able to observe writes made by the legacy app. Test: atest LegacyStorageHostTest Bug: 150507736 Change-Id: I98b1d7a2fa26c2ba59bdeed03168d537aeb818bf