commit | 2269ed875680ffcb0a5768805fe97d1c487434a3 | [log] [tgz] |
---|---|---|
author | Edgar Arriaga <edgararriaga@google.com> | Wed Aug 24 10:37:44 2022 -0700 |
committer | Edgar Arriaga GarcĂa <edgararriaga@google.com> | Tue Sep 06 17:05:54 2022 +0000 |
tree | af935c33d04186233697ddff15bbe3a854865129 | |
parent | 0db3434413fdb663a0df64d3bf9c3b23ac839b5a [diff] |
Avoid duplicate ringtone load When we create the ringtone defer creating the mediaplayer until AudioAttributes are set, this avoids a duplicate creation of the mediaplayer which causes a duplicate asset load for the ringtone. Bug: 240621827 Test: Receive a call and hear ringtone Change-Id: Ic36412759bd17e63857182435c02c44b535f3210