commit | 1ad9a3ca60432e48c94c8b9651c66a521bdad9c8 | [log] [tgz] |
---|---|---|
author | Tyler Gunn <tgunn@google.com> | Wed Apr 17 12:50:22 2019 -0700 |
committer | Tyler Gunn <tgunn@google.com> | Wed Apr 17 20:02:33 2019 +0000 |
tree | af88336b849e5a51ca830f7791aeb7397df992f5 | |
parent | b1854cccde56b3e945f33309f14bd9a386d4c027 [diff] |
Set ringtone stream using audio attributes. Move away from deprecated setStreamType which has some issues and can potentially not properly mark the ringtone as a ringtone. Use AudioAttributes which is the new supported API. Test: Manual Bug: 129694437 Change-Id: I6b7936ea60b2d364809437973a05bcffda0abb3e AOSP: aosp/947037