[DSRM] Fix the index ArrayIndexOutOfBoundsException
Symptom:
- java.lang.ArrayIndexOutOfBoundsException: length=4; index=4
- This issue will happen when device meet data stall and recovered by
RECOVERY_ACTION_MODEM_RESET, the validation status should be (Failed -> Passed -> Failed),
When device meet the data stall again, since the lastaction keep
RESET_MODEM(index 4) so we meet the IndexOutOfBoundsException.
Solution:
- We will initialize all parameters when we receiving the validation passed.
BUg: 222418674
Test: atest DataStallRecoveryManagerTest
test result: go/dsrm-test-result
Change-Id: I41e3102997f9e4e25b1120c63e6526b0e7a6b06c
Loading
Please register or sign in to comment