summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authordavidln <davidln@google.com>2018-09-25 10:21:20 -0700
committerDavid Nelloms <davidln@google.com>2018-09-25 17:49:47 +0000
commitedb31e130eadc7767fa0c197cb126e2eb866c49e (patch)
tree47ce43bfd6b0ef733bcedfc2791c343991a82ca0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentb16030f305f1d204dc25c81c8ee03bdccf18c073 (diff)
Correct null check for end button behavior.
SettingsState.getSettingLocked never returns a null value, so the car_product overlay value of this setting is always ignored. PhoneWindowManager then uses a hardcoded default with undesired behavior for the car. Checking the null indicator on the returned value allows the setting to be initialized properly. Fixes: 113123033 Test: adb shell input keyevent 6 before and after change, verify desired behavior Change-Id: Ib2b64331ae986efda6bb961d487e4de023c43d84
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions