Commit Graph

9 Commits

Author SHA1 Message Date
Daniel Sheng
4cdc1d98b1 Merge "Added suggestion category for camera lift gesture" 2017-04-25 20:43:55 +00:00
Daniel Sheng
73ffcd55e8 Added Trust Agent suggestion category from SUW
Bug: 36513986
Test: make RunSettingsRoboTests
Change-Id: I3238864bfeee1601d735daf811898886baa2b204
2017-04-21 10:15:23 -07:00
Daniel Sheng
5e6708cdee Added suggestion category for camera lift gesture
Bug: 37154489
Test: Robolectric tests run during make

Change-Id: I3528e3d954f872732f55dfa8bdc42fdc15f27d12
2017-04-20 10:28:10 -07:00
Maurice Lam
a2218a938f Add DEFERRED_SETUP as exclusive suggestion
Add the suggestion category DEFERRED_SETUP, and mark as exclusive
which will prevent suggestions from other categories to be shown when
this is available.

Test: Manual
Bug: 35668836
Change-Id: I2b8ddb65482a39ce8bcb2d673af5dfec759b40c8
2017-03-27 15:52:13 -07:00
Ido Ofir
d11743c775 Merge "Remove payments from settings suggestions." 2016-02-01 21:28:05 +00:00
Ido Ofir
acebe4bc7b Adding hotword category to Settings suggested steps.
Change-Id: I1f8c349b5cdd37cddd6b629121af03fb3b6695c6
2016-01-29 16:49:16 -08:00
Ido Ofir
cae4bb354d Remove payments from settings suggestions.
Bug: 26770145

Change-Id: I269b78cfde45bd4a9c1669bc9425676404d54188
2016-01-29 13:32:20 -08:00
Jason Monk
4a60c8876e Add DND Suggestion after 30 days
Suggest users setup automatic rules if they haven't after 30 days

Also fix the id labeling for the RV adapter, so that it can handle
removing of suggestions properly.

Change-Id: I0cce76f3db1d444011f7d8a31348714d102650cf
2016-01-26 17:29:59 -05:00
Jason Monk
d4f03ec86f Add suggestions to settings
Use an XML to define the categories that Settings will look for,
and surface enabled activities under those categories as suggestions.

When clicked on the activity will be started for result.  If the result
is not cancelled, then the operation is assumed successful and the
suggestion is disabled.  Users can also use an overflow -> remove
flow to get rid of unwanted suggestions.

Change-Id: I767abf8efe103af0509bc6b6b55888ae82643512
2016-01-07 16:25:34 -05:00