History log of /packages/apps/Settings/src/com/android/settings/search/InlinePayload.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
458bb887e130926f36d8926ea8462ecfbfd1e0ef 24-Jul-2017 Matthew Fritze <mfritze@google.com> Add default value to inline payloads

If we try to set an inline result when it has not yet been
accessed in settings, nothing is read from Settings.
Thus, include a default value for a fallback.

Manual merge for: ag/2588219/

Change-Id: I3b8eea4f82764852cea642db4455ba57f10a7d37
Fixes: 63955012
Test: robotests
/packages/apps/Settings/src/com/android/settings/search/InlinePayload.java
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/InlinePayload.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/InlinePayload.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/InlinePayload.java