commit | fb6935fb8b59fb249703b3848dd94a0ab7050d88 | [log] [tgz] |
---|---|---|
author | Chienyuan <chienyuanhuang@google.com> | Wed Mar 04 17:03:00 2020 +0800 |
committer | Chienyuan <chienyuanhuang@google.com> | Thu Mar 05 11:04:43 2020 +0800 |
tree | 326ce84cc5e990a99fcf7b569b80191f7a28067b | |
parent | 6b18acb83cdc2abe5ef203d58615e608b3cc464f [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: I45b6fdb7ba7957d19ce3bf92c6c36711c8433c09