Fixed a crash on notification tap.
This commit is contained in:
parent
278c2bb75a
commit
c02d9124ae
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Reference in a new issue