summaryrefslogtreecommitdiff
path: root/native/android/configuration.cpp
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:35:16 +0000
commit88f5aae54cf522e4ec50c2dbf2c782872734db00 (patch)
tree4823cdab4f19ded8da04c7bfd5a85df5e93d661a /native/android/configuration.cpp
parent5993338b0b25174c2a6fc0c8a37f3f1aa5c52921 (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 'native/android/configuration.cpp')
0 files changed, 0 insertions, 0 deletions