Merge pull request #536 from bozsco/fix-#487

Merge Automatically show keyboard when new SMS is composed
This commit is contained in:
Moxie Marlinspike 2014-01-09 14:40:33 -08:00
commit 8ca60a8746
2 changed files with 4 additions and 0 deletions

View File

@ -128,6 +128,7 @@
<activity android:name=".ContactSelectionActivity"
android:label="@string/AndroidManifest__select_contacts"
android:windowSoftInputMode="stateHidden"
android:configChanges="touchscreen|keyboard|keyboardHidden|orientation|screenLayout|screenSize"/>
<activity android:name=".AutoInitiateActivity"

View File

@ -646,6 +646,9 @@ public class ConversationActivity extends PassphraseRequiredSherlockFragmentActi
if (this.recipients != null) {
recipientsPanel.addRecipients(this.recipients);
} else {
InputMethodManager input = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
input.toggleSoftInput(InputMethodManager.SHOW_IMPLICIT, 0);
}
}