Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 29aab220 authored by Rhed Jao's avatar Rhed Jao
Browse files

Update accessibility timeout settings to proto.

Bug: 119282240
Test: build pass
Change-Id: I3403e6151c35ca4509ef0e1ccbc9a52e90240636
parent 3da55268
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -72,6 +72,9 @@ message SecureSettingsProto {
        // List of the accessibility services to which the user has granted
        // permission to put the device into touch exploration mode.
        optional SettingProto touch_exploration_granted_accessibility_services = 31;
        // Settings for accessibility timeout
        optional SettingProto non_interactive_ui_timeout_ms = 32 [ (android.privacy).dest = DEST_AUTOMATIC ];
        optional SettingProto interactive_ui_timeout_ms = 33 [ (android.privacy).dest = DEST_AUTOMATIC ];
    }
    optional Accessibility accessibility = 2;

+6 −0
Original line number Diff line number Diff line
@@ -1711,6 +1711,12 @@ class SettingsProtoDumpUtil {
        dumpSetting(s, p,
                Settings.Secure.TOUCH_EXPLORATION_GRANTED_ACCESSIBILITY_SERVICES,
                SecureSettingsProto.Accessibility.TOUCH_EXPLORATION_GRANTED_ACCESSIBILITY_SERVICES);
        dumpSetting(s, p,
                Settings.Secure.ACCESSIBILITY_NON_INTERACTIVE_UI_TIMEOUT_MS,
                SecureSettingsProto.Accessibility.NON_INTERACTIVE_UI_TIMEOUT_MS);
        dumpSetting(s, p,
                Settings.Secure.ACCESSIBILITY_INTERACTIVE_UI_TIMEOUT_MS,
                SecureSettingsProto.Accessibility.INTERACTIVE_UI_TIMEOUT_MS);
        p.end(accessibilityToken);

        dumpSetting(s, p,