commit | a8728c993e71d4158ef88210dfc175ea508b9af5 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Fri Jul 31 11:59:25 2020 -0700 |
committer | Eric Laurent <elaurent@google.com> | Fri Jul 31 11:59:25 2020 -0700 |
tree | c1d7f77a8dea1ad0770b66d4bec9a6b5f65e6f3f | |
parent | 4fc108418ad4fa4d87b9ef293bba48c0ca1a95e7 [diff] |
AudioService: suppress superfluous volume changed intents Do not broadcast VOLUME_CHANGED_ACTION intent if the externally visible volume index does not change: this can happen on aliased streams when the internal volume index changes but the externally visible index (divided by 10) does not change due to rounding. Bug: 156835211 Test: verify intent broacasts in activity manager manually. Change-Id: I98f25d175ada39fe1d2bc4f7d008f20a5d29ef16