diff options
author | kwaky <kwaky@google.com> | 2020-02-05 12:51:46 -0800 |
---|---|---|
committer | kwaky <kwaky@google.com> | 2020-02-12 09:26:00 -0800 |
commit | d445aaf1e2e4c9e98f03d0726cd513a34952a693 (patch) | |
tree | 78432f4c6f3edad4fb00d0c6bc7f595ee82f3479 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c1e78426b5632271e501bbc91ace4b8a68ee791e (diff) |
Add null check for voiceInteractorComponentName.
Voice Assistant can be disabled on a user-level. Adding this null check
prevents crash for when Assistant is enabled for the system in general but
disabled for a specific user.
Bug: 149112015
Test: Manual -- Change config_disableLockscreenByDefault to true to
emulate the environment in which Volvo observed the bug. Verify that
switching to user0 through adb shell switch-user 0 causes the same crash.
Verify that the crash does not happen with the new null check.
Change-Id: I5b8ede1e5bd8c1bc047bc6d6220b425dea8f50ea
Merged-in: I5b8ede1e5bd8c1bc047bc6d6220b425dea8f50ea
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions