a11y: don't crash the system when illegal component name encounted

Bug: https://issuetracker.google.com/issues/139695999
Test: A11y unit tests (I did't find a way to reproduce the bug)

Change-Id: I0aa8f417b157ca3d96b61b8d9356dd65df360dae
Signed-off-by: wangmingming1 <wangmingming1@xiaomi.com>
2 files changed