diff options
author | Ming-Shin Lu <lumark@google.com> | 2021-07-16 21:42:46 +0800 |
---|---|---|
committer | Ming-Shin Lu <lumark@google.com> | 2021-07-16 21:49:43 +0800 |
commit | 120ae3dbedcafff31f9a3470fb1cc211b1d3ea84 (patch) | |
tree | f654bdd9eadea0d1c33aba77a796ae6c50a31c24 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 0077afd88a42326767982d18812ccb5aa6de64ae (diff) |
Fix NPE when calling PasswordViewEntry.getWindowInsetsController().hide()
As PasswordViewEntry didn't always attached to KeyguardPasswordView,
check if the view is attached in case NPE happen when getting null
WindowInsetsController
Fix: 192644416
Test: manual test as issue steps
Test: 1) make a security lock
2) unlocked to go to launcher
3) turn off screen
4) check the log and make sure no crash log.
Change-Id: I13897f05576150b2f5e867c43d20efb02e681cef
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions