summaryrefslogtreecommitdiff
path: root/src/com/android/settings/development/BugReportInPowerPreferenceController.java
AgeCommit message (Collapse)Author
2018-08-28Sort importsFan Zhang
Having consistent import order will reduce chance of merge conflict between internal and external master Test: rebuild Change-Id: I0b1a170967ddcce7f388603fd521f6ed1eeba30b
2018-06-18Reorder and clean up imports.Fan Zhang
Test: rebuild Change-Id: I178485c84ae7146f991fd77b6d7504b029942a68
2018-04-20Migrate Settings to androidx.Aurimas Liutikas
Test: make Settings Bug: 76692459 Change-Id: I941dea40562170649bf056e675cc32e5163c0e39
2018-03-01Remove unnecessary onDeveloperOptionsSwitchEnabled/Disabled override.Doris Ling
- default implementation has been added in the super class to handle enabling/disabling the preference when the master developer options switch it turned on/off. Removing all subclass that originally implemented the methods that only contains the default behavior. Bug: 73955632 Test: make RunSettingsRoboTests Change-Id: I13c372c2ab498a5786b40cdc1ad3b5f3424abb5a
2018-02-03Move bugreport storage enabling into OS.Jeff Sharkey
It's convoluted to enable/disable bugreport storage based on the "power menu" shortcut, and it's frustrating for dogfooders to have to manually cycle this setting once to enable the provider. So move the enable/disable logic directly into the OS, toggle it when the broader DEVELOPMENT_SETTINGS_ENABLED changes, and update to match state at device boot. Test: builds, boots Bug: 32540478 Change-Id: I8721dfbfc1dc2e19adb9cb5588f6b35f2872da9d
2017-11-22rename v2 controllersjeffreyhuang
- Remove v2 postfix on controllers now that v1 dev options have been removed Bug: 34203528 Test: compiles and tests still pass Change-Id: I7a937e914293233801dbd1d9536b7b47ee70d591
2017-11-17Delete DevelopmentSettings.javajeffreyhuang
- Remove the old DevelopmentSettings - Remove references to the feature flag Fixes: 65522949 Test: make RunSettingsRoboTests -j40 Change-Id: Ie2eb3465127d79a027de6bb58a47bb15e3094f89
2017-10-02Introduce BugReportInPowerPreferenceControllerV2jeffreyhuang
- Create new BugReportInPowerPreferenceControllerV2 - Deprecate BugReportInPowerPreferenceController - Create controller inside the DashboardFragment - Copy logic from BugReportInPowerPreferenceController with slight modifications for dashboard fragment compatibility Bug: 34203528 Test: make RunSettingsRoboTests -j40# Please enter the commit message for your changes. Lines starting Change-Id: I8ec0c84fa9c4e59aca48586cc081822d78d8c0d5
2017-06-26Make PreferenceController a mixinTony Mantler
Bug: 62912136 Test: Existing tests in BaseSearchIndexProviderTest Change-Id: Ieda359806c09a019840b2005446c7ec8b61fdb00
2016-12-09Add check for DISALLOW_DEBUGGING_FEATURES restrictionDoris Ling
- if the user has restriction for the action DISALLOW_DEBUGGING_FEATURES, remove the preference for taking bug report and the switch preference to enable bug report shortcut in the power key. - refactor DevelopmentSettings to use preference controller for Take bug report and enable bug report in power key. Fixes: 27145643 Test: make RunSettingsRoboTests Change-Id: I18784d218d37956130c33f527d514ab703727397