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

Commit af69a14c authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Use system default vibration pattern

Bug: 9468462
Change-Id: Ifa46a56873c10888da8eaa2782fe07ef138a141b
parent 3b5a503e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@
        <item>MODEL=XT907:MANUFACTURER=motorola,30</item>
        <!-- Sony Xperia Z -->
        <item>MODEL=C6603:MANUFACTURER=Sony,35</item>
        <!-- Default value for unknown device -->
        <item>,20</item>
        <!-- Default value for unknown device. The negative value means system default. -->
        <item>,-1</item>
    </string-array>
</resources>
+2 −0
Original line number Diff line number Diff line
@@ -79,6 +79,8 @@

    <!-- Units abbreviation for the duration (milliseconds) [CHAR LIMIT=10] -->
    <string name="abbreviation_unit_milliseconds"><xliff:g id="milliseconds">%s</xliff:g>ms</string>
    <!-- The text that represents the current settings value is the system default [CHAR LIMIT=20] -->
    <string name="settings_system_default">System default</string>

    <!-- Option name for enabling or disabling the use of names of people in Contacts for suggestion and correction [CHAR LIMIT=25] -->
    <string name="use_contacts_dict">Suggest Contact names</string>
+3 −0
Original line number Diff line number Diff line
@@ -367,6 +367,9 @@ public final class SettingsFragment extends InputMethodSettingsFragment

            @Override
            public String getValueText(final int value) {
                if (value < 0) {
                    return res.getString(R.string.settings_system_default);
                }
                return res.getString(R.string.abbreviation_unit_milliseconds, value);
            }
        });