Skip to content
Snippets Groups Projects
Commit f6c14105 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Do not force keyboard display on Android TV

parent 84b087ea
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@ import org.videolan.vlc.VLCApplication;
import org.videolan.vlc.databinding.VlcLoginDialogBinding;
import org.videolan.vlc.gui.helpers.UiTools;
import org.videolan.vlc.gui.preferences.PreferencesActivity;
import org.videolan.vlc.util.AndroidDevices;
import org.videolan.vlc.util.Util;
public class VlcLoginDialog extends VlcDialog<Dialog.LoginDialog, VlcLoginDialogBinding> implements View.OnFocusChangeListener {
......@@ -52,7 +53,7 @@ public class VlcLoginDialog extends VlcDialog<Dialog.LoginDialog, VlcLoginDialog
@Override
public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
if (VLCApplication.showTvUi()) {
if (VLCApplication.showTvUi() && !AndroidDevices.hasPlayServices()) {
mBinding.login.setOnFocusChangeListener(this);
mBinding.password.setOnFocusChangeListener(this);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment