Commit Graph

6 Commits

Author SHA1 Message Date
Doris Ling
319c806cc0 Add metrics logging for Settings -> Help & Feedback
Add new metrics event constant for Settings->Help & Feedback, and log it
whenever user selects the help option menu, passing the context extra for
the corresponding settings preference where the help menu is launched.

Change-Id: I971e8e50b959a5451ed085e5da5fd8504111e6c3
Fixes: 30140281
2016-08-23 14:49:15 -07:00
Jason Monk
47d17a4f18 Merge \"Pre-setup restrictions\" into nyc-dev
am: f84c05c360

Change-Id: I2902c765eeacdbe05a393b01936572233c783988
2016-07-19 20:37:15 +00:00
Jason Monk
64600cf6b1 Pre-setup restrictions
- Prevent external tiles from system apps
 - Disable help

Bug: 29194585
Change-Id: I92da498110db49f7a523d6f775f191c4b52a4ad6
2016-06-30 13:15:48 -04:00
Andrew Sapperstein
0114dc5237 Refactor DeviceDefault themes.
Adds colors_device_defaults.xml and defines the primary, primary dark, accent,
and secondary colors for the dark, light, and settings themes.

Also creates primary and primary dark values for the Material.Settings theme
and updates the themes to use those values.

Finally, fixes HelpUtils to properly get the value of colorAccent. Previously,
if colorAccent were defined to a hex value directly, it would crash.

BUG: 28625050
BUG: 29003416

Change-Id: Ia73b7368014c57c1676904d494cbb5169c8a836b
2016-06-16 10:37:25 -07:00
Fan Zhang
27904e913b Make theme decoration method public.
Bug: 28141203

Change-Id: I0a51de3f9cafe8f562108f6e859c9e59f733d0ca
2016-04-21 18:14:07 -07:00
Suprabh Shukla
c15c1be257 Moving HelpUtils to SettingsLib
Moved HelpUtils to SettingsLib from com.android.settings so it can be
shared with packageinstaller.

Bug: b/22096093
Change-Id: I75efb6476a8c7621279705a636f87b32d8d921be
2016-04-07 13:25:23 -07:00