Merge "Since we are using string.subString(startIndex, endIndex) when parsing denylist, we should make sure startIndex <= endIndex before calling string.substring(). Otherwise, an index out of bound excpetion would throw and make the app terminate. This could happen if we are not careful with the denylist and make the denylist wrong formatted. For example, a ";" is left out in the end, and startIndex in this case would become -1." into udc-dev am: 51009536ce am: 9bd81f5eee

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21487245

Change-Id: I303a5e9136ad56fa27e4755c279bc9f175e939fa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Haoran Zhang
2023-02-27 19:52:37 +00:00
committed by Automerger Merge Worker

Diff Content Not Available