summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAnnie Meng <anniemeng@google.com>2018-05-17 16:00:16 +0100
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-05-17 21:11:21 +0000
commitf6e6b8f1608cc69950ea9e37e608458b4c894d1c (patch)
tree9291e1365062b84c04d9fd6a2c849e19ac5df4e5 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent05fd3cae5243321de385863fe58ab98330eaa1b7 (diff)
Fix NPE in ComponentNameValidator
In general, we should consider null component names as invalid settings, meaning that we don't restore. b/79925290 to allow restoring null component names for specific settings where null has semantic meaning. Bug: 79910479 Test: 1) atest SettingsValidatorsTest 2) Manual: - In Settings UI, select "None" for autofill service and accessibility shortcut target - "adb backup -keyvalue -f nullsettings.ab com.android.providers.settings" - "adb restore nullsettings.ab" and verify no crashes Change-Id: Iffecbe7d26a93a816e7be42f564ba471f9681876 (cherry picked from commit 5d26b8c03a1e11076e41699fd54259ef5ff4a1e0)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions