aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-12-27 20:54:01 +0100
committerChristian Schneppe <christian@pix-art.de>2017-12-27 20:54:01 +0100
commit044bc0e95d81cb12c6ba47c72db930616205e7eb (patch)
tree89c71a8cf0371eabfede8b222bb1dd45a65ded1c /src/main
parent1e50689658d0d2363e0fe965d99e50dd4bc66adf (diff)
store new intent in welcome account activity
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/de/pixart/messenger/ui/WelcomeActivity.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/WelcomeActivity.java b/src/main/java/de/pixart/messenger/ui/WelcomeActivity.java
index 3b6954f8f..c2b5a49bb 100644
--- a/src/main/java/de/pixart/messenger/ui/WelcomeActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/WelcomeActivity.java
@@ -65,6 +65,13 @@ public class WelcomeActivity extends XmppActivity {
}
@Override
+ public void onNewIntent(Intent intent) {
+ if (intent != null) {
+ setIntent(intent);
+ }
+ }
+
+ @Override
protected void onCreate(final Bundle savedInstanceState) {
if (getResources().getBoolean(R.bool.portrait_only)) {
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);