mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
ant astyle
This commit is contained in:
parent
0c2e06133c
commit
3d583da450
@ -1713,22 +1713,19 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
|
||||
mQuotedText.setVisibility(View.GONE);
|
||||
mQuotedHTML.setVisibility(View.GONE);
|
||||
mQuotedTextEdit.setVisibility(View.GONE);
|
||||
}
|
||||
else if (mQuotedTextMode == QuotedTextMode.SHOW) {
|
||||
} else if (mQuotedTextMode == QuotedTextMode.SHOW) {
|
||||
mQuotedTextShow.setVisibility(View.GONE);
|
||||
mQuotedTextBar.setVisibility(View.VISIBLE);
|
||||
if (mMessageFormat == MessageFormat.HTML) {
|
||||
mQuotedText.setVisibility(View.GONE);
|
||||
mQuotedHTML.setVisibility(View.VISIBLE);
|
||||
mQuotedTextEdit.setVisibility(View.VISIBLE);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
mQuotedText.setVisibility(View.VISIBLE);
|
||||
mQuotedHTML.setVisibility(View.GONE);
|
||||
mQuotedTextEdit.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
else if (mQuotedTextMode == QuotedTextMode.HIDE) {
|
||||
} else if (mQuotedTextMode == QuotedTextMode.HIDE) {
|
||||
mQuotedTextShow.setVisibility(View.VISIBLE);
|
||||
mQuotedTextBar.setVisibility(View.GONE);
|
||||
|
||||
@ -2205,8 +2202,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
|
||||
* the source message. Log it as an error, though.
|
||||
*/
|
||||
Log.e(K9.LOG_TAG, "Error while processing source message: ", me);
|
||||
}
|
||||
finally {
|
||||
} finally {
|
||||
mSourceMessageProcessed = true;
|
||||
mDraftNeedsSaving = false;
|
||||
}
|
||||
@ -2236,8 +2232,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
|
||||
|
||||
if (shown) {
|
||||
showOrHideQuotedText(QuotedTextMode.SHOW);
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
showOrHideQuotedText(QuotedTextMode.HIDE);
|
||||
}
|
||||
}
|
||||
|
@ -19,11 +19,12 @@ public class FileBrowserHelper {
|
||||
* A string array that specifies the name of the intent to use, and the scheme to use with it
|
||||
* when setting the data for the intent.
|
||||
*/
|
||||
private static final String[][] PICK_DIRECTORY_INTENTS =
|
||||
{ { "org.openintents.action.PICK_DIRECTORY", "file://" }, // OI File Manager (maybe others)
|
||||
private static final String[][] PICK_DIRECTORY_INTENTS = {
|
||||
{ "org.openintents.action.PICK_DIRECTORY", "file://" }, // OI File Manager (maybe others)
|
||||
{ "com.estrongs.action.PICK_DIRECTORY", "file://" }, // ES File Explorer
|
||||
{ Intent.ACTION_PICK, "folder://" }, // Blackmoon File Browser (maybe others)
|
||||
{ "com.androidworkz.action.PICK_DIRECTORY", "file://" }}; // SystemExplorer
|
||||
{ "com.androidworkz.action.PICK_DIRECTORY", "file://" }
|
||||
}; // SystemExplorer
|
||||
|
||||
private static FileBrowserHelper sInstance;
|
||||
|
||||
|
@ -78,8 +78,7 @@ public class TimePickerPreference extends DialogPreference implements
|
||||
tp.setOnTimeChangedListener(this);
|
||||
originalHour = getHour();
|
||||
originalMinute = getMinute();
|
||||
if (originalHour >= 0 && originalMinute >= 0)
|
||||
{
|
||||
if (originalHour >= 0 && originalMinute >= 0) {
|
||||
tp.setCurrentHour(originalHour);
|
||||
tp.setCurrentMinute(originalMinute);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user