commit | 1991e310f3850aeca19228e19ae66a32c61c8f1f | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Tue Feb 12 14:04:18 2019 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Tue Feb 12 14:04:20 2019 -0700 |
tree | 9fb9348bb32046fcdfc009d97e6809aceb99a5e0 | |
parent | 26aab3f8f1679e12c27458775313b44316213ef5 [diff] |
Better validation of external parameters. Anything that ends up going into path needs to be sanitized to ensure the underlying filesystem can represent it. Also prevent creation of hidden items; new media creation should always be part of the user's visible collection. Bug: 122314416 Test: atest MediaProviderTests Change-Id: I092a524b78fd26fe5d1d2fe6e78073a54682b911