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

Commit c712fc35 authored by Sally's avatar Sally
Browse files

Add Bold Text to Settings.Secure

Bug: b/110991537
Test: n/a
Change-Id: I06228b6f06e9694221f8e7657cd34ba3bc8140fa
parent 1bb318e0
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -6800,6 +6800,13 @@ public final class Settings {
         */
        public static final String KEYGUARD_SLICE_URI = "keyguard_slice_uri";
        /**
         * Whether to draw text in bold.
         *
         * @hide
         */
        public static final String FORCE_BOLD_TEXT = "force_bold_text";
        /**
         * Whether to speak passwords while in accessibility mode.
         *
+3 −1
Original line number Diff line number Diff line
@@ -219,6 +219,8 @@ message SecureSettingsProto {

    optional SettingProto enhanced_voice_privacy_enabled = 23 [ (android.privacy).dest = DEST_AUTOMATIC ];

    optional SettingProto force_bold_text = 85 [ (android.privacy).dest = DEST_AUTOMATIC ];

    message Gesture {
        optional SettingProto aware_enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];

@@ -615,5 +617,5 @@ message SecureSettingsProto {

    // Please insert fields in alphabetical order and group them into messages
    // if possible (to avoid reaching the method limit).
    // Next tag = 85;
    // Next tag = 86;
}
+3 −0
Original line number Diff line number Diff line
@@ -1775,6 +1775,9 @@ class SettingsProtoDumpUtil {
        dumpSetting(s, p,
                Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED,
                SecureSettingsProto.Accessibility.HIGH_TEXT_CONTRAST_ENABLED);
        dumpSetting(s, p,
                Settings.Secure.FORCE_BOLD_TEXT,
                SecureSettingsProto.FORCE_BOLD_TEXT);
        dumpSetting(s, p,
                Settings.Secure.ACCESSIBILITY_LARGE_POINTER_ICON,
                SecureSettingsProto.Accessibility.LARGE_POINTER_ICON);