Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/mumla.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lublin <daniel@lublin.se>2020-04-05 13:12:53 +0300
committerDaniel Lublin <daniel@lublin.se>2020-04-05 13:12:53 +0300
commit93f1ca3790e4705f60ee3caba3c6e902b76c057f (patch)
tree51f3d00d9855db989aa47361db03f9ec34454497
parentc78406b7928a685a0a8b70e8cf96b02447b583a1 (diff)
Setup the message log early on, somebody might need it
-rw-r--r--app/src/main/java/se/lublin/mumla/service/MumlaService.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/se/lublin/mumla/service/MumlaService.java b/app/src/main/java/se/lublin/mumla/service/MumlaService.java
index 9730ba8..a1e426b 100644
--- a/app/src/main/java/se/lublin/mumla/service/MumlaService.java
+++ b/app/src/main/java/se/lublin/mumla/service/MumlaService.java
@@ -115,7 +115,6 @@ public class MumlaService extends HumlaService implements
private BroadcastReceiver mTalkReceiver;
private HumlaObserver mObserver = new HumlaObserver() {
-
@Override
public void onConnecting() {
// Remove old notification left from reconnect,
@@ -286,6 +285,9 @@ public class MumlaService extends HumlaService implements
// XML <application> theme does NOT do this!
setTheme(R.style.Theme_Mumla);
+ mMessageLog = new ArrayList<>();
+ mMessageNotification = new MumlaMessageNotification(MumlaService.this);
+
// Instantiate overlay view
mChannelOverlay = new MumlaOverlay(this);
mHotCorner = new MumlaHotCorner(this, mSettings.getHotCornerGravity(), mHotCornerListener);
@@ -295,8 +297,6 @@ public class MumlaService extends HumlaService implements
mTTS = new TextToSpeech(this, mTTSInitListener);
mTalkReceiver = new TalkBroadcastReceiver(this);
- mMessageLog = new ArrayList<>();
- mMessageNotification = new MumlaMessageNotification(MumlaService.this);
}
@Override