Commit 4dd3fb3
committed
Fix audio focus evaluation order for display update
Change 1f9196a introduced
an issue when trying to ignore audio focus entries in the
stack that don't use the music stream, or are for transient
audio focus gain, for remote control display updates.
The bug was that the audio focus stack traversal was not
starting from the top, as it should. It was using
the iterator order, which, in the case of a stack, starts
with the bottom-most entry.
The fix consists in traversing the stack from the top, i.e.
from the last element of the vector used to hold the stack
entries.
Bug 7311023
Change-Id: I0c1900dbf98599a621a420ab55531a3eee838fe51 parent 02053d1 commit 4dd3fb3
1 file changed
+14
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5088 | 5088 | | |
5089 | 5089 | | |
5090 | 5090 | | |
5091 | | - | |
| 5091 | + | |
| 5092 | + | |
5092 | 5093 | | |
5093 | 5094 | | |
5094 | 5095 | | |
5095 | | - | |
5096 | | - | |
5097 | | - | |
5098 | | - | |
5099 | | - | |
5100 | | - | |
5101 | | - | |
| 5096 | + | |
| 5097 | + | |
| 5098 | + | |
| 5099 | + | |
| 5100 | + | |
| 5101 | + | |
| 5102 | + | |
| 5103 | + | |
5102 | 5104 | | |
| 5105 | + | |
| 5106 | + | |
| 5107 | + | |
5103 | 5108 | | |
5104 | 5109 | | |
5105 | 5110 | | |
| |||
5120 | 5125 | | |
5121 | 5126 | | |
5122 | 5127 | | |
| 5128 | + | |
5123 | 5129 | | |
5124 | 5130 | | |
5125 | 5131 | | |
| |||
0 commit comments