Add bounds checking for transparency lookup

Bug: 71361451
Test: manual test with sample app

Change-Id: Icaa626cfc93115fe1cc2f42040b396c2318bb6e4
1 file changed