Prevent crash in Search from Stack overflow

NotificationSettingBase's getPreferenceController call
is recursive with no base case which crashes search.

Root cause here is that NotificationSettingsBase should
not be indexed for seacrh but was probably failing the
code inspection test. Added NotificationSettingsBase
child classes to grandfather list of classes that
should be ignored for search.

Change-Id: I04ed242db3a394b88e0d0ac420aaaff6f9301cb5
Fixes: 69096424
Test: robotests
This commit is contained in:
Matthew Fritze
2017-11-09 09:40:09 -08:00
parent d0965a21e4
commit f6cf598d03
5 changed files with 20 additions and 48 deletions

View File

@@ -79,4 +79,4 @@ com.android.settings.IccLockSettings
com.android.settings.TetherSettings
com.android.settings.ApnEditor
com.android.settings.UserCredentialsSettings
com.android.settings.TestingSettings
com.android.settings.TestingSettings