Use system default key press volume
Bug: 9475973 Change-Id: I6ae825b161dde69e19b52d73fb9aa782e2aa7423
This commit is contained in:
parent
af69a14c96
commit
c90181d6aa
2 changed files with 5 additions and 2 deletions
|
@ -26,7 +26,7 @@
|
|||
<item>HARDWARE=grouper,0.3f</item>
|
||||
<item>HARDWARE=mako,0.3f</item>
|
||||
<item>HARDWARE=manta,0.2f</item>
|
||||
<!-- Default value for unknown device -->
|
||||
<item>,0.2f</item>
|
||||
<!-- Default value for unknown device. The negative value means system default. -->
|
||||
<item>,-1.0f</item>
|
||||
</string-array>
|
||||
</resources>
|
||||
|
|
|
@ -453,6 +453,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 Integer.toString(value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue