mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-23 18:15:22 +00:00
Automatically show keyboard when new SMS is composed
This commit is contained in:
parent
75ce00cb90
commit
e9a8c7474c
@ -128,6 +128,7 @@
|
|||||||
|
|
||||||
<activity android:name=".ContactSelectionActivity"
|
<activity android:name=".ContactSelectionActivity"
|
||||||
android:label="@string/AndroidManifest__select_contacts"
|
android:label="@string/AndroidManifest__select_contacts"
|
||||||
|
android:windowSoftInputMode="stateHidden"
|
||||||
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
|
||||||
|
|
||||||
<activity android:name=".AutoInitiateActivity"
|
<activity android:name=".AutoInitiateActivity"
|
||||||
|
@ -646,6 +646,9 @@ public class ConversationActivity extends PassphraseRequiredSherlockFragmentActi
|
|||||||
|
|
||||||
if (this.recipients != null) {
|
if (this.recipients != null) {
|
||||||
recipientsPanel.addRecipients(this.recipients);
|
recipientsPanel.addRecipients(this.recipients);
|
||||||
|
} else {
|
||||||
|
InputMethodManager input = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
|
||||||
|
input.toggleSoftInput(InputMethodManager.SHOW_IMPLICIT, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user