summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Jean-Michel Trivi <jmtrivi@google.com> 2022-12-07 04:36:46 +0000
committer Jean-Michel Trivi <jmtrivi@google.com> 2023-05-15 22:34:31 +0000
commita67982c990496d8efded6cc3a7471e30b66dce60 (patch)
treec5239d1222a3b2b1fd7f5c33271309762cffb137 /api/api_test.go
parent16c2a3340baff67d2963b43baeb9ed5f3ac20d48 (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 Merged-In: I3f2c487ded405c0c1a83ef0a2fe99cff7cc9328e (cherry picked from commit 38618f9fb16d3b5617e2289354d47abe5af17dad)
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions