commit | 8b55dd05ce694a97123fafa3f01c4f4dfe4854d9 | [log] [tgz] |
---|---|---|
author | Ivan Chiang <chiangi@google.com> | Tue Apr 19 09:29:44 2022 +0000 |
committer | Ivan Chiang <chiangi@google.com> | Thu Apr 21 07:00:34 2022 +0000 |
tree | 5795c886b9290de1e8eff079c8b3ae5c13a20adf | |
parent | bd72a95c1f61080ca489748705b302b8a703a27d [diff] |
Block subdirs of Android for SAF and normalize the path - When the Apps launch SAF, they can set initial uri to launch the specific directory. Block the access for data/obb/sandbox directories of Android - Normalize path (E.g. the path includes . or ..) to avoid unexpected behavior Bug: 200034476 Bug: 220066255 Test: atest ExternalStorageProviderTest Test: atest DocumentsTest Change-Id: I226a9c25710fcf78d14d775eb3270bfd3b491dd3