Reset the queue position when the song selector opens
This is what the old behavior did
This commit is contained in:
parent
acfc656cb9
commit
af213a1a30
@ -116,7 +116,11 @@ public class SongSelector extends Dialog implements AdapterView.OnItemClickListe
|
||||
@Override
|
||||
public void onStart()
|
||||
{
|
||||
SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(getContext());
|
||||
// reset queue pos
|
||||
Context context = getContext();
|
||||
context.startService(new Intent(context, PlaybackService.class));
|
||||
|
||||
SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
int inputType = settings.getBoolean("filter_suggestions", false) ? InputType.TYPE_CLASS_TEXT : InputType.TYPE_TEXT_VARIATION_FILTER;
|
||||
mTextFilter.setInputType(inputType);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user