summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorNikolas Havrikov <havrikov@google.com>2021-10-25 15:10:24 +0200
committerNikolas Havrikov <havrikov@google.com>2021-10-25 20:09:24 +0000
commitc0cc49a4a2363331f87ad8d9efa04eb594b4833d (patch)
treed909a976956197a71099169e2addc89be7b81641 /core/java/android/inputmethodservice/AbstractInputMethodService.java
parent5e2736ae5d14d250e48569af77c2becad0281580 (diff)
Prevent NPE in getSliceDescendants
Since acquireUnstableContentProviderClient returns a nullable value, it is better to check for null to avoid an NPE and gracefully return an empty collection instead. Bug: 179684490 Test: make Change-Id: Icb6cc66a8a347e710b8f0e34e4134000de2b2663
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions