summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author liangguihao1 <liangguihao1@xiaomi.corp-partner.google.com> 2023-05-31 11:37:27 +0800
committer Guihao Liang <liangguihao1@xiaomi.corp-partner.google.com> 2023-05-31 07:51:47 +0000
commit629e52b9d9f65cb6f5109e43e9f8b209c919a7e7 (patch)
treed5614ef9bdb813fdded93602f09926959c8dc8a8 /cmds/bootanimation/BootAnimation.cpp
parent9a350627142135febbd5f655da3427cc5645a2a7 (diff)
Fix the problem that AccessibilityNodeInfo maybe null and cause a crash.
If the mAccessibilityDelegate of a view is not null, the mAccessibilityDelegate also has a corresponding AccessibilityNodeProvider object. If the AccessibilityNodeProvider does not overload the createAccessibilityNodeInfo(int virtualViewId) method, the app will crash. This bugfix is to add a non-null judgment here. Bug:285078234 Change-Id: Iaccca83e9e47cfeb271186d0a4344555d6b433b6 Signed-off-by: liangguihao1 <liangguihao1@xiaomi.corp-partner.google.com>
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions