Home Controls: Add Device Controls settings

Add a setting that would not require authorization for device controls.

Fixes: 216102581
Test: manual
Change-Id: I1fd98a2fbc1cea44d0b2c3612dd1616a053af394
This commit is contained in:
Aaron Liu
2022-02-04 18:42:29 +00:00
parent ad1a789a86
commit e0f4e795ce
7 changed files with 292 additions and 1 deletions

View File

@@ -30,6 +30,9 @@ import com.android.settings.overlay.FeatureFactory;
/**
* Preference for showing/hiding sensitive device controls content while the device is locked.
*
* Note that ControlsTrivialPrivacyPreferenceController depends on the preferenceKey
* of this controller.
*/
public class ControlsPrivacyPreferenceController extends TogglePreferenceController {