|
|
|
@ -4476,10 +4476,7 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
|
|
|
|
|
|
final Context context = getContext();
|
|
|
|
|
|
|
|
|
|
new Handler().post(new Runnable() {
|
|
|
|
|
@Override
|
|
|
|
|
public void run() {
|
|
|
|
|
View target;
|
|
|
|
|
final View target;
|
|
|
|
|
if (TextUtils.isEmpty(etTo.getText().toString().trim()))
|
|
|
|
|
target = etTo;
|
|
|
|
|
else if (TextUtils.isEmpty(etSubject.getText().toString()))
|
|
|
|
@ -4487,6 +4484,9 @@ public class FragmentCompose extends FragmentBase {
|
|
|
|
|
else
|
|
|
|
|
target = etBody;
|
|
|
|
|
|
|
|
|
|
new Handler().post(new Runnable() {
|
|
|
|
|
@Override
|
|
|
|
|
public void run() {
|
|
|
|
|
target.requestFocus();
|
|
|
|
|
|
|
|
|
|
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
|
|
|
|