summaryrefslogtreecommitdiff
path: root/packages/SettingsLib/src/com/android/settingslib/HelpUtils.java
AgeCommit message (Collapse)Author
2018-08-29Factor out HelpUtils into @SystemAPI libPhilip P. Moltmann
This is the first of a few sub-libraries that will get factored out of the settings lib. These libs will be included by mainline modules which are compiles against system-api. Bug: 110953302 Test: Looked at UI m -j RunRoboSettingsLibTests Change-Id: I16347e565aca554d6a8653df35765c2194479e78
2018-08-28Sort importsFan Zhang
Having consistent import order will reduce chance of merge conflict between internal and external master Test: rebuild Change-Id: I9acb311ec05f72f0a37f08b0d26785841fe91de5
2017-12-04Add major version code to platform.Dianne Hackborn
It turns the version code into almost a 64-bit integer, with the new major part being the upper 32 bits. The only tricky part about this is the backup manager, since it stored 32-bit version codes in its backup data sets. This is dealt with by, when the major version code is not 0, writing MIN_INT as the version code and following that by the full long version code, which we can detect when reading. Note that this makes backup sets containing apps with major version codes incompatible with older versions of the platform. Bug: 64459786 Test: Added in Change-Id: Iab8a682b62103babd6c16a56b8dc1e97d7078658 Change-Id: Ibfffe235bbfcf358b3741abd3f7197fdb063d3f3
2017-04-20Move settingslib overlays to framework-res.Andrew Sapperstein
AAPT2 no longer supports overlays of static libraries. As a result, these overlays don't work correctly any more. To fix, move the overlay config resources into framework-res. They can still be read by any of the apps using settingslib, but now actually work without having to override for each app. Bug: 33694217 Test: robotests Change-Id: I58df748d7646e8caee18614d87af1333fc84985c
2017-03-06Show help icon in actionbarFan Zhang
Fix: 35955986 Test: RunSettingsLibRoboTests Change-Id: If4c328cacf1e3c9a5f66eeb248749c97c80cdb6c
2017-01-26Change the theme to light for help activity.jackqdyulei
Help activity is in gmscore, so we need to change the intent theme parameter to light theme. Bug: 34690364 Test: Manual - take a screenshot Change-Id: I8fb71ab461d97d1461e017d3de8290ac19730897
2016-12-19Add flags to send package name for feedback.Andrew Sapperstein
Bug: 32189956 Test: make RunSettingsLibRoboTests Change-Id: I0bd40fdf60b4f3ee21afad6e3f7dc3e4e87212f0
2016-11-08Update package names to work with the proto3 compilerTamas Berghammer
Bug: b/28974522 Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
2016-08-25Adding flags to allow package names to be sent to support.Matthew Fritze
am: e1398ea4d9 Change-Id: I2c459d9467fada537bafd6d780e12f8ba7a082fc
2016-08-25Adding flags to allow package names to be sent to support.Matthew Fritze
Bug: 30924073 Change-Id: I9ec0a90a178adb72da3d4a426e75a79315832bf6 Tests: Manual.
2016-08-23Add metrics logging for Settings -> Help & FeedbackDoris Ling
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-07-19Merge \"Pre-setup restrictions\" into nyc-devJason Monk
am: f84c05c360 Change-Id: I2902c765eeacdbe05a393b01936572233c783988
2016-06-30Pre-setup restrictionsJason Monk
- Prevent external tiles from system apps - Disable help Bug: 29194585 Change-Id: I92da498110db49f7a523d6f775f191c4b52a4ad6
2016-06-16Refactor DeviceDefault themes.Andrew Sapperstein
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-04-21Make theme decoration method public.Fan Zhang
Bug: 28141203 Change-Id: I0a51de3f9cafe8f562108f6e859c9e59f733d0ca
2016-04-07Moving HelpUtils to SettingsLibSuprabh Shukla
Moved HelpUtils to SettingsLib from com.android.settings so it can be shared with packageinstaller. Bug: b/22096093 Change-Id: I75efb6476a8c7621279705a636f87b32d8d921be