diff options
| author | jiabin <jiabin@google.com> | 2021-10-28 00:38:33 +0000 |
|---|---|---|
| committer | jiabin <jiabin@google.com> | 2021-10-28 00:38:33 +0000 |
| commit | 0def6d1b51e23d539728d4fa43032de8d18c69ad (patch) | |
| tree | 6db0cd34c31e4af124ca1b35689bb6ce60e964c4 /core/java/android/inputmethodservice/InputMethodService.java | |
| parent | df08d4937e6553ade3efc70cb30772adc418227a (diff) | |
Add RingtoneManager.hasHapticChannels(Context, Uri).
Currently, RingtoneManager.hasHapticChannels(Uri) will use the context
from AudioService to resolve the given Uri. However, that may not always
work. In that case, add another API to ask apps to provide Context to
resolve given Uri can help the API returning correct result.
Test: atest RingtoneManagerTest
Bug: 196195517
Change-Id: I484e157e0d03e5eeabdd68908b11db534ad3c3ab
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions
