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
2 files changed