summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/org/xapek/andiodine/FragmentStatus.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/org/xapek/andiodine/FragmentStatus.java b/src/org/xapek/andiodine/FragmentStatus.java
index ee14562..c12afd9 100644
--- a/src/org/xapek/andiodine/FragmentStatus.java
+++ b/src/org/xapek/andiodine/FragmentStatus.java
@@ -57,8 +57,10 @@ public class FragmentStatus extends Fragment {
@Override
public void onReceive(Context context, Intent intent) {
if (IodineClient.ACTION_LOG_MESSAGE.equals(intent.getAction())) {
- mLogmessages.append("\n");
- mLogmessages.append(intent.getStringExtra(IodineClient.EXTRA_MESSAGE));
+ final String newLogEntry = intent.getStringExtra(IodineClient.EXTRA_MESSAGE);
+ if (!".".equals(newLogEntry)) // Suppress newline for progress indicator'.'
+ mLogmessages.append("\n");
+ mLogmessages.append(newLogEntry);
mScrollview.fullScroll(View.FOCUS_DOWN);
}
}