commit | 72c2fa5a3d7f6913a387d78b195ad941303f46c6 | [log] [tgz] |
---|---|---|
author | Yanting Yang <yantingyang@google.com> | Wed Jun 17 23:49:09 2020 +0800 |
committer | Yanting Yang <yantingyang@google.com> | Wed Jun 17 23:49:09 2020 +0800 |
tree | 11578760bd7cc0b82b456416e5ce976e60e07293 | |
parent | f9a021511e0cfb84c8630ab3fc8f6a1b3f3d0c65 [diff] |
Avoid NPE when screen title is null The screen title of Settings pages could be empty, e.g., Mobile network detail page. It will cause NPE when Settings generates the slice object, and then results in the Settings Search showing empty view for slice search result. It’s a bad user experience, we need to add the null check to avoid it. Bug: 157986273 Test: robotests Change-Id: I8bf6a081c6b3e97ccb173424ff4a310ae863ae2f