commit | 8d85af5f43bf31f4988c616a7e93a09277b20bb4 | [log] [tgz] |
---|---|---|
author | Paul Chang <paulchang@google.com> | Mon Mar 24 12:05:45 2014 -0400 |
committer | Sascha Haeberling <haeberling@google.com> | Wed Apr 16 11:43:57 2014 -0700 |
tree | 8c1a19f23e225dffbe6af4465bae77d3e3ec447f | |
parent | 92f197607eb6303e11f88dc65e7e23614e384615 [diff] |
Fix edge case in supported video quality selection. Bug: 14108743 If less than three distinct video quality levels are supported, it's possible for getNextSupportedVideoQualityIndex() to return an out-of-range array index. Instead, just return the previous supported video quality -- this appears to be the intended behavior. Change-Id: I089571edf6ff748ce4914f188b4ef844ecb638c2