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:
parent
a715fb6d79
commit
a65e60b005
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue