summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Edgar Arriaga <edgararriaga@google.com> 2022-09-07 12:22:10 -0700
committer Edgar Arriaga <edgararriaga@google.com> 2022-10-31 18:53:39 +0000
commit833b169eeb028628e339a742d52b68cd4c612e88 (patch)
tree35a2d2c236058edfbb3376dc18d31e980cee0c81 /libs/androidfw/StringPool.cpp
parent5f359071477d525ccbc3e8d4f653418afe7ac7ff (diff)
Reuse ringtone across multiple ringer operations
This patch avoids multiple ringtone loads when taking place that were redundant as previous approach instantiated the same ringtone multiple times over the play flow instead we gather all the requirements for a ringtone and instantiate it once. Bug: 240621827 Test: atest RingtoneTest Test: atest RingerTest Test: atest IncomingCallTest Test: Verified ringtone and vibration works in various forms when receiving call. Change-Id: I7ac0a52c99d48fb7241c55c709a9a876a6057319
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions