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

Commit e530e263 authored by Phil Weaver's avatar Phil Weaver
Browse files

Update string for dwell click timing

Also adding a footer to the preference.

Change-Id: If34cf34ecec29918a1def0c924f4fe1dc378918c
Fixes: 71869029
Test: Make, navigate and observe glorious new string
parent 388b5314
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -4408,7 +4408,9 @@
    <!-- Subtitle for the accessibility preference to configure display color inversion. [CHAR LIMIT=NONE] -->
    <string name="accessibility_display_inversion_preference_subtitle">May affect performance</string>
    <!-- Title for accessibility preference for configuring feature that performs click action soon after mouse/trackpad pointer stops moving. [CHAR LIMIT=NONE] -->
    <string name="accessibility_autoclick_preference_title">Click after pointer stops moving</string>
    <string name="accessibility_autoclick_preference_title">Dwell timing</string>
    <!-- Footer text to explain what autoclick does -->
    <string name="accessibility_autoclick_description">If you are using a mouse, you can set the cursor to take action automatically when it stops moving for a certain amount of time.</string>
    <!-- Title for accessibility preference for configuring amount of time that has to pass after pointer stops moving before click action can be performed (if automatic click after pointer stops moving feature is enabled). [CHAR LIMIT=NONE] -->
    <string name="accessibility_autoclick_delay_preference_title">Delay before click</string>
    <!-- Title for accessibility preference screen for configuring vibrations. -->
+2 −0
Original line number Diff line number Diff line
@@ -126,6 +126,8 @@ public class ToggleAutoclickPreferenceFragment extends ToggleFeaturePreferenceFr
        mDelay.setMax(delayToSeekBarProgress(MAX_AUTOCLICK_DELAY));
        mDelay.setProgress(delayToSeekBarProgress(delay));
        mDelay.setOnPreferenceChangeListener(this);
        mFooterPreferenceMixin.createFooterPreference()
                .setTitle(R.string.accessibility_autoclick_description);
    }

    @Override