diff options
author | Henrik Baard <henrik.baard@sony.com> | 2019-03-14 12:23:04 +0100 |
---|---|---|
committer | Henrik Baard <henrik.baard@sony.com> | 2019-03-15 09:40:34 +0100 |
commit | a2c86e8ae93934bc7af9ad60ce1399bbed19121d (patch) | |
tree | 46d8c4adcf4b498003a2855351b16d470e3332ea /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | e7e5a35b38f8c054218f3457549109fb6d6ba0db (diff) |
revent NFE in SystemUI when parsing invalid int (2)
A user can change various tunable settings setting via adb.
If the value set is not an integer, SystemUI will end up in an exception
loop.
Test: No crash when running:
adb exec-out settings put secure sysui_qs_move_whole_rows a
adb exec-out settings put secure qs_show_brightness a
adb exec-out settings put secure clock_seconds a
adb exec-out settings put secure sysui_volume_down_silent a
adb exec-out settings put secure sysui_volume_up_silent a
adb exec-out settings put secure sysui_do_not_disturb a
Change-Id: If9c565cbdd44db25ba7fce381c98aa0ab735bfc4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions