commit | 95a9ae79d73a9cba1a35e515b24f8dfd7055ecb7 | [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 12:50:22 2019 -0700 |
tree | 2054dd2a11b5831d63db759cb9ca87149a7b697b | |
parent | 2fbb55d91024970a106df06b9516301e36fdb34a [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