Remove the dialer input preference
It is not hooked up to anything anymore since supporting it with an SQl query would be complicated.
This commit is contained in:
parent
e21e1c6532
commit
043b5c18b0
@ -38,9 +38,6 @@
|
||||
<string name="notification_mode_title">Notification Mode</string>
|
||||
<string name="notification_mode_summary">When to show the notification</string>
|
||||
|
||||
<string name="phone_input_title">Use Phone Dialer Input</string>
|
||||
<string name="phone_input_summary">Enter filter text using buttons 1-9, where 1 matches 1, a, b or c, etc</string>
|
||||
|
||||
<string name="filter_suggestions_title">Use Suggestions in Filter Text</string>
|
||||
<string name="filter_suggestions_summary">Use text suggestions when editing the filter text</string>
|
||||
|
||||
|
@ -30,11 +30,6 @@
|
||||
android:summaryOff="@string/remote_player_summary_off" />
|
||||
</PreferenceCategory>
|
||||
<PreferenceCategory android:title="@string/pref_song_selector">
|
||||
<CheckBoxPreference
|
||||
android:key="phone_input"
|
||||
android:title="@string/phone_input_title"
|
||||
android:summary="@string/phone_input_summary"
|
||||
android:defaultValue="false" />
|
||||
<CheckBoxPreference
|
||||
android:key="filter_suggestions"
|
||||
android:title="@string/filter_suggestions_title"
|
||||
|
@ -120,13 +120,7 @@ public class SongSelector extends Dialog implements AdapterView.OnItemClickListe
|
||||
public void onStart()
|
||||
{
|
||||
SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||
int inputType;
|
||||
if (settings.getBoolean("phone_input", false))
|
||||
inputType = InputType.TYPE_CLASS_PHONE;
|
||||
else if (!settings.getBoolean("filter_suggestions", false))
|
||||
inputType = InputType.TYPE_TEXT_VARIATION_FILTER;
|
||||
else
|
||||
inputType = InputType.TYPE_CLASS_TEXT;
|
||||
int inputType = settings.getBoolean("filter_suggestions", false) ? InputType.TYPE_CLASS_TEXT : InputType.TYPE_TEXT_VARIATION_FILTER;
|
||||
mTextFilter.setInputType(inputType);
|
||||
|
||||
mDefaultAction = Integer.parseInt(settings.getString("default_action_int", "0"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user