diff options
| author | 2021-08-05 11:44:44 -0700 | |
|---|---|---|
| committer | 2021-08-05 15:04:28 -0700 | |
| commit | 7637292d4b764233d0385d42f0c4bb072bd16ba5 (patch) | |
| tree | b6f7e958319dd02b5c7056dde8823bb5f0b1be62 /libs/input/SpriteController.cpp | |
| parent | f8dd173528811e9e2d50d13b586ea54d3860962c (diff) | |
Fix bug in Ledger.
Avoid an IndexOutOfBoundsException by checking that the size of the
transactions list is greater than 0 before trying to access the 0th
element.
Bug: 158300259
Test: atest FrameworksServicesTests:LedgerTest
Change-Id: I76df357f0cf65f5577ed1c625579a6cb656264d9
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions