commit | cc20600102f7b61bac8be6160cce64fd4b1dde11 | [log] [tgz] |
---|---|---|
author | Doris Ling <dling@google.com> | Wed Dec 07 13:21:20 2016 -0800 |
committer | Doris Ling <dling@google.com> | Fri Dec 09 11:38:22 2016 -0800 |
tree | 3947f6970e9aa0f78198f3b8d4b8a48ccdd5474e | |
parent | fb8d1bf427408c9375b0b0b27bbcdb81af569d6d [diff] |
Add check for DISALLOW_DEBUGGING_FEATURES restriction - 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