diff options
| author | 2022-12-07 04:36:46 +0000 | |
|---|---|---|
| committer | 2022-12-07 04:36:46 +0000 | |
| commit | 38618f9fb16d3b5617e2289354d47abe5af17dad (patch) | |
| tree | 32d05c48a026f74255429c34b7bb77ec6f74bc0d /services/coverage/java | |
| parent | 2591d9de4e5eaea8d0466a062be17b087ffe858a (diff) | |
RingtoneManager: verify default ringtone is audio
When a ringtone picker tries to set a ringtone through
RingtoneManager.setActualDefaultRingtoneUri (also
called by com.android.settings.DefaultRingtonePreference),
verify the mimeType can be obtained (not found when caller
doesn't have access to it) and it is an audio resource.
Bug: 205837340
Test: atest android.media.audio.cts.RingtoneManagerTest
Change-Id: I3f2c487ded405c0c1a83ef0a2fe99cff7cc9328e
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions