diff options
author | Daniel Lublin <daniel@lublin.se> | 2020-04-05 13:12:53 +0300 |
---|---|---|
committer | Daniel Lublin <daniel@lublin.se> | 2020-04-05 13:12:53 +0300 |
commit | 93f1ca3790e4705f60ee3caba3c6e902b76c057f (patch) | |
tree | 51f3d00d9855db989aa47361db03f9ec34454497 | |
parent | c78406b7928a685a0a8b70e8cf96b02447b583a1 (diff) |
Setup the message log early on, somebody might need it
-rw-r--r-- | app/src/main/java/se/lublin/mumla/service/MumlaService.java | 6 |
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 |