Matthew Fritze 404d96058c Handle Looper in PreferenceController
When indexing content in search, the preference controllers
are init'd on the background thread, thus you can't create a
handler without calling Looper.prepare().

We have PreferenceConttrollerContractTest to catch these
errors, but it was not running in presubmit.
Bug tracking: b/73242024

This caused the indexing thread to crash, thus
not adding any non-indexable keys for settings results.

Test: atest PreferenceControllerContractTest
Fixes: 73168342

Change-Id: I89fe596435d317bb3e3baebdaace97a67700d77e
2018-02-13 09:57:11 -08:00
2015-04-13 09:21:39 -07:00
2017-10-13 15:59:03 -07:00
2017-09-18 17:01:23 -07:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%