Skip to content
Commit 629e52b9 authored by liangguihao1's avatar liangguihao1 Committed by Guihao Liang
Browse files

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: default avatarliangguihao1 <liangguihao1@xiaomi.corp-partner.google.com>
parent 9a350627
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment