commit | 8afc29141564045b1d8f99c79f007ed31cfc0a6e | [log] [tgz] |
---|---|---|
author | Chienyuan <chienyuanhuang@google.com> | Tue Mar 03 16:57:14 2020 +0800 |
committer | Chienyuan <chienyuanhuang@google.com> | Thu Mar 05 11:26:46 2020 +0800 |
tree | f959ba8ccef86a05520bf75800e7777726de0757 | |
parent | 9d6175770d73fdbe7b5534b3a383ff0c5da5a460 [diff] |
Opp: Use MediaStore to handle received file getExternalStorageDirectory was deprecated in API level 29. To improve user privacy, direct access to shared/external storage devices is deprecated. Use MediaStore to handle received file as alternative. Now the files will be downloaded to the "Download" folder. Bug: 149610220 Test: manual Change-Id: If23459c0586114409e79cf9e5d0be1a4f3e2025c Merged-In: I45b6fdb7ba7957d19ce3bf92c6c36711c8433c09