OSDN Git Service

Add location as a Inline list payload
authorMatthew Fritze <mfritze@google.com>
Fri, 7 Jul 2017 15:04:42 +0000 (08:04 -0700)
committerMatthew Fritze <mfritze@google.com>
Mon, 10 Jul 2017 18:21:15 +0000 (18:21 +0000)
commit0609c4c28183cd21a6dea5b9675d75be1b41f45b
tree02e33629bc867d96f23d5ed9afe122a3041e8b50
parent50535da16d0c1fd21e15dd93534bc7409a7756b0
Add location as a Inline list payload

The inline payload is added to security settings because
security settings indexes the setting with the key
"location" which corresponds with the correct
PreferenceController, LocationPreferenceController.

However, we suppress the Location search result, so to
avoid confusion later, we don't include the ResultPayload
in the search indexing.

Bug: 62022517
Test: make RunSettingsRoboTests
Change-Id: Ica9b775fe7b43259e651f95b079b8cccb29d0ea8
Merged-In: Ic5515d38064498ae908f4cefedfeb3c2a2af449c
src/com/android/settings/location/LocationPreferenceController.java
tests/robotests/src/com/android/settings/location/LocationPreferenceControllerTest.java