From c02d9124ae9f11e3c580efca2c47afe8e5fffa87 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Sat, 8 Feb 2014 20:50:14 +0100 Subject: [PATCH] Fixed a crash on notification tap. --- src/com/github/nutomic/controldlna/gui/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/github/nutomic/controldlna/gui/MainActivity.java b/src/com/github/nutomic/controldlna/gui/MainActivity.java index 79a4399..d50ecd9 100644 --- a/src/com/github/nutomic/controldlna/gui/MainActivity.java +++ b/src/com/github/nutomic/controldlna/gui/MainActivity.java @@ -100,7 +100,6 @@ public class MainActivity extends ActionBarActivity { */ public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - onNewIntent(getIntent()); final ActionBar actionBar = getSupportActionBar(); actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS); @@ -175,6 +174,7 @@ public class MainActivity extends ActionBarActivity { mServerFragment = new ServerFragment(); mRouteFragment = new RouteFragment(); } + onNewIntent(getIntent()); } /**