Source:
<code>private void initSettingsFields() { mExcerptEditText.setText(mPost.getPostExcerpt()); String[] items = new String[]{ getResources().getString(R.string.publish_post), getResources().getString(R.string.draft), getResources().getString(R.string.pending_review), getResources().getString(R.string.post_private) }; ArrayAdapter<String> adapter = new ArrayAdapter<>(getActivity(), android.R.layout.simple_spinner_item, items); adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); mStatusSpinner.setAdapter(adapter); mStatusSpinner.setOnTouchListener( new View.OnTouchListener() { @Override public boolean onTouch(View view, MotionEvent motionEvent) { return false; } } ); long pubDate = mPost.getDate_created_gmt(); if (pubDate != 0) { try { int flags = 0; flags |= android.text.format.DateUtils.FORMAT_SHOW_DATE; flags |= android.text.format.DateUtils.FORMAT_ABBREV_MONTH; flags |= android.text.format.DateUtils.FORMAT_SHOW_YEAR; flags |= android.text.format.DateUtils.FORMAT_SHOW_TIME; String formattedDate = DateUtils.formatDateTime(getActivity(), pubDate, flags); mPubDateText.setText(formattedDate); } catch (RuntimeException e) { AppLog.e(T.POSTS, e); } } if (!TextUtils.isEmpty(mPost.getPassword())) { mPasswordEditText.setText(mPost.getPassword()); } <START> updateStatusSpinner(); <END> if (!mPost.isPage()) { if (mPost.getJSONCategories() != null) { mCategories = JSONUtils.fromJSONArrayToStringList(mPost.getJSONCategories()); } } String tags = mPost.getKeywords(); if (!tags.equals("")) { mTagsEditText.setText(tags); } if (AppPrefs.isVisualEditorEnabled()) { updateFeaturedImage(mPost.getFeaturedImageId()); } }</code><technical_language>Is this change relevant anymore? but, left previous versions of this PR. for changes in PostUtils.java WPAlertDialogFragment.java</technical_language>

Target:
private void initSettingsFields() { mExcerptEditText.setText(mPost.getExcerpt()); String[] items = new String[]{getResources().getString(R.string.publish_post), getResources().getString(R.string.draft), getResources().getString(R.string.pending_review), getResources().getString(R.string.post_private)}; ArrayAdapter<String> adapter = new ArrayAdapter<>(getActivity(), android.R.layout.simple_spinner_item, items); adapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item); mStatusSpinner.setAdapter(adapter); mStatusSpinner.setOnTouchListener( new View.OnTouchListener() { @Override public boolean onTouch(View view, MotionEvent motionEvent) { return false; } } ); String pubDate = mPost.getDateCreated(); if (StringUtils.isNotEmpty(pubDate)) { try { int flags = 0; flags |= android.text.format.DateUtils.FORMAT_SHOW_DATE; flags |= android.text.format.DateUtils.FORMAT_ABBREV_MONTH; flags |= android.text.format.DateUtils.FORMAT_SHOW_YEAR; flags |= android.text.format.DateUtils.FORMAT_SHOW_TIME; String formattedDate = DateUtils.formatDateTime(getActivity(), DateTimeUtils.timestampFromIso8601Millis(pubDate), flags); mPubDateText.setText(formattedDate); } catch (RuntimeException e) { AppLog.e(T.POSTS, e); } } if (!TextUtils.isEmpty(mPost.getPassword())) { mPasswordEditText.setText(mPost.getPassword()); } updateStatusSpinner(); }