summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2012-11-20 17:06:51 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2012-11-20 17:59:34 -0800
commit4dd3fb3e2c2b0d3dd7cb18f9e7e40a7b9dee8692 (patch)
tree22df76b15a056eca93363e87cb72334696756df4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent02053d1cce52f11ef1bc3b562279940208f9c54e (diff)
Fix audio focus evaluation order for display update
Change 1f9196a8e5de9b004e61afabc70b18caf7cf9c7e 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: I0c1900dbf98599a621a420ab55531a3eee838fe5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions