694088075e57f031a36a1000d6c69e356fe52d51 |
|
23-Jun-2017 |
Matthew Fritze <mfritze@google.com> |
Add list-select as an inline result Move the majority of the Setting set & get logic into InlinePayload, but add formatting of input to each concrete payload class. Bug: 62022517 Test: make RunSettingsRoboTests Change-Id: I08932871554beb4a04625f05f8555a5b3a887fe2
/packages/apps/Settings/src/com/android/settings/search/CursorToSearchResultConverter.java
|
2b1a88da3df42e4ec1cb2fb9814f7a440b3735f2 |
|
23-May-2017 |
Matthew Fritze <mfritze@google.com> |
Simplify InlineSwitchPayloads and generalize get/set method InlineSwitchPayload now assumes that all switches will be stored as 1 or 0, which simplifies the code. Moves Availability into ResultPayload, so that custom payloads can be created to set/get values which are more complicated than stotring ints (like bluetooth or DnD), and give more expressive reasons when unavailable. Bug: 62022517 Test: make RunSettingsRoboTests Change-Id: I87e6fc041bfd398e7daf6e6e479d502930d36f0f
/packages/apps/Settings/src/com/android/settings/search/CursorToSearchResultConverter.java
|
6efea1e624bb4b48290000cfdb82df224a31b81d |
|
13-May-2017 |
Matthew Fritze <mfritze@google.com> |
Update Settings search result unique ids - SearchResult stableIds are now DocIds from the database - DocIds are data reference key's hash, when the key is not empty or null - Otherwise, DocIds are a hashcode from a set of fields. Change-Id: Id36f7bf4ceaaa3a2bd326ecafbfe97fd0b247df2 Fixes: 37327194 Test: make RunSettingsRoboTest
/packages/apps/Settings/src/com/android/settings/search/CursorToSearchResultConverter.java
|
2078bc2358031ef3a191900d9036daf4251911c1 |
|
22-May-2017 |
Matthew Fritze <mfritze@google.com> |
Remove search2 package and put everything into search Change-Id: Ie8651c79ef023f154cd7120a88a20f3481abce2b Fixes: 38502743 Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/search/CursorToSearchResultConverter.java
|