Fixed handler nullPointException
This commit is contained in:
parent
0fd28c1e2b
commit
9631db4c8d
@ -291,7 +291,7 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
|
||||
Daedalus.getInstance().deactivateService();
|
||||
} else if (launchAction == LAUNCH_ACTION_AFTER_DEACTIVATE) {
|
||||
Daedalus.updateShortcut(this.getApplicationContext());
|
||||
if (currentFragment == FRAGMENT_MAIN) {
|
||||
if (currentFragment == FRAGMENT_MAIN && mHandler != null) {
|
||||
mHandler.obtainMessage(MainFragment.MainFragmentHandler.MSG_REFRESH).sendToTarget();
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user