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:20:02 +0000 (11:20 -0700)
commitea72afa3306cf054b923d882604dc1900e865fcd
tree8118760b733c98382b840af8e8d447ab6c7a3923
parent159461569dfd7985ad623e9c61b5ed1e297a7b27
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.

Merge from: ag/2511709/

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