Source:
<code>public void initializeEditorFragment() { if (mEditorFragment instanceof AztecEditorFragment) { AztecEditorFragment aztecEditorFragment = (AztecEditorFragment)mEditorFragment; aztecEditorFragment.setEditorImageSettingsListener(EditPostActivity.this); aztecEditorFragment.setMediaToolbarButtonClickListener(EditPostActivity.this); Drawable loadingImagePlaceholder = EditorMediaUtils.getAztecPlaceholderDrawableFromResID( this, org.wordpress.android.editor.R.drawable.ic_gridicons_image, aztecEditorFragment.getMaxMediaSize() ); aztecEditorFragment.setAztecImageLoader(new AztecImageLoader(getBaseContext(), loadingImagePlaceholder)); aztecEditorFragment.setLoadingImagePlaceholder(loadingImagePlaceholder); Drawable loadingVideoPlaceholder = EditorMediaUtils.getAztecPlaceholderDrawableFromResID( this, org.wordpress.android.editor.R.drawable.ic_gridicons_video_camera, aztecEditorFragment.getMaxMediaSize() ); aztecEditorFragment.setAztecVideoLoader(new AztecVideoLoader(getBaseContext(), loadingVideoPlaceholder)); aztecEditorFragment.setLoadingVideoPlaceholder(loadingVideoPlaceholder); if (getSite() != null && getSite().isWPCom() && !getSite().isPrivate()) { aztecEditorFragment.enableContentLogOnCrashes( new AztecExceptionHandler.ExceptionHandlerHelper() { @Override public boolean shouldLog(Throwable throwable) { <START> return getPost() != null && TextUtils.isEmpty(getPost().getPassword()) && <END> !"private".equals(getPost().getStatus()); } } ); } } }</code><technical_language>this check **either** password protected posts, **or** private posts? this: (haven't tested) return getPost() != null && (TextUtils.isEmpty(getPost().getPassword()) || !"private".equals(getPost().getStatus()));</technical_language>

Target:
public void initializeEditorFragment() { if (mEditorFragment instanceof AztecEditorFragment) { AztecEditorFragment aztecEditorFragment = (AztecEditorFragment)mEditorFragment; aztecEditorFragment.setEditorImageSettingsListener(EditPostActivity.this); aztecEditorFragment.setMediaToolbarButtonClickListener(EditPostActivity.this); Drawable loadingImagePlaceholder = EditorMediaUtils.getAztecPlaceholderDrawableFromResID( this, org.wordpress.android.editor.R.drawable.ic_gridicons_image, aztecEditorFragment.getMaxMediaSize() ); aztecEditorFragment.setAztecImageLoader(new AztecImageLoader(getBaseContext(), loadingImagePlaceholder)); aztecEditorFragment.setLoadingImagePlaceholder(loadingImagePlaceholder); Drawable loadingVideoPlaceholder = EditorMediaUtils.getAztecPlaceholderDrawableFromResID( this, org.wordpress.android.editor.R.drawable.ic_gridicons_video_camera, aztecEditorFragment.getMaxMediaSize() ); aztecEditorFragment.setAztecVideoLoader(new AztecVideoLoader(getBaseContext(), loadingVideoPlaceholder)); aztecEditorFragment.setLoadingVideoPlaceholder(loadingVideoPlaceholder); if (getSite() != null && getSite().isWPCom() && !getSite().isPrivate()) { aztecEditorFragment.enableContentLogOnCrashes( new AztecExceptionHandler.ExceptionHandlerHelper() { @Override public boolean shouldLog(Throwable throwable) { return getPost() != null && TextUtils.isEmpty(getPost().getPassword()) && !PostStatus.PRIVATE.toString().equals(getPost().getStatus()); } } ); } } }