summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorCurtis Belmonte <curtislb@google.com>2019-10-24 12:55:01 -0700
committerCurtis Belmonte <curtislb@google.com>2019-10-24 15:01:24 -0700
commitffa9d87b1f4691e542fc56693350358a16d4fbae (patch)
treef639d308fd3d3326f0b3ed2c8efc68471f9f7986 /tools/aapt2/java/JavaClassGenerator.cpp
parentede9fb07a6f0251f1d7fff081afeb547865331fe (diff)
Check for null receiver in biometric AuthController
We've witnessed at least one crash due to mReceiver being null while trying to handle callbacks such as onTryAgainPressed in AuthController (formerly BiometricDialogImpl). In these cases, not running the callback is likely better than crashing, so this commit adds null-checks where they're currently missing. It also adds unit test cases to exercise the new logic. Test: atest AuthControllerTest Fixes: 143251337 Change-Id: I3c46c7fab0dfe802de499180c7bb0c756f7e652b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions