commit | 7a44bb23aadc107c369d230fb96f4ce3374f3f5b | [log] [tgz] |
---|---|---|
author | Ajay Panicker <apanicke@google.com> | Wed Aug 09 19:39:36 2017 -0700 |
committer | Myles Watson <mylesgw@google.com> | Fri Sep 22 16:36:03 2017 +0000 |
tree | dde4471aa5fcc59c955b087dae0316f09d4ee4c0 | |
parent | 5e5cfd5f5e651367111c5553230e066fc6817942 [diff] |
Fix IndexOutOfBounds exception due to incorrect media player start index Before, if there were no addressed players there would be an index out of bounds exception due to accessing past the end of the array as position zero would be skipped. Now set start index to 0 if there is no addressed player. Bug: 64440498 Test: Connect to carkit with only one player Change-Id: I76bf4a872e9722ca7cc6b1ca90f88200a72c8c27 (cherry picked from commit f73db9bf71badd648320cac0074169e009562d77)