commit | 295336f6e8d490a892464d5b4d99a622bcf8f9e2 | [log] [tgz] |
---|---|---|
author | Winson <chiuwinson@google.com> | Mon May 06 17:01:55 2019 -0700 |
committer | Winson <chiuwinson@google.com> | Mon May 06 17:06:02 2019 -0700 |
tree | 6ed94d8f5a6f48d4fdf42f07fad5fcddfbb228ae | |
parent | d7314d7ab38fded0016903b800bc7278853fe391 [diff] |
Call MediaStore#scanFile directly in RingtoneManager Reproduced the failing case, even without thread pool changes. Since RingtoneManager was blocking on the call anyways, changing it to use the synchronous scanFile method directly should be fine. Bug: 131882699 Test: manual add MP3 with RingtonePickerActivity Change-Id: I53b49ed17403cda93ecfefb6985133b161a96983