1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-22 19:01:30 +00:00

Don't open keyboard on save to Syncthing (#1328)

This commit is contained in:
admin_3.exe 2019-06-04 23:48:57 +03:00 committed by Simon Frei
parent a715fb6d79
commit a65e60b005

View file

@ -39,6 +39,8 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import static android.view.WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN;
/**
* Shares incoming files to syncthing folders.
* <p>
@ -102,6 +104,8 @@ public class ShareActivity extends StateDialogActivity
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_share);
getWindow().setSoftInputMode(SOFT_INPUT_STATE_ALWAYS_HIDDEN);
registerOnServiceConnectedListener(this);
Button mShareButton = findViewById(R.id.share_button);