Merge "Request focus in field when cc/bcc is toggled."

This commit is contained in:
Ben Komalo 2011-10-21 08:38:32 -07:00 committed by Android (Google) Code Review
commit 1fb0b605e2

View File

@ -1536,10 +1536,13 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
}
private void showCcBccFields() {
if (mCcBccContainer.getVisibility() != View.VISIBLE) {
mCcBccContainer.setVisibility(View.VISIBLE);
mCcView.requestFocus();
UiUtilities.setVisibilitySafe(this, R.id.add_cc_bcc, View.INVISIBLE);
invalidateOptionsMenu();
}
}
/**
* Kick off a picker for whatever kind of MIME types we'll accept and let Android take over.