forward intent when changing the account

pull/984/head
Thomas 1 year ago
parent d7d5f286f5
commit ac6d9f430e

@ -752,6 +752,10 @@ public abstract class BaseMainActivity extends BaseActivity implements NetworkSt
editor.commit(); editor.commit();
Intent mainActivity = new Intent(activity, MainActivity.class); Intent mainActivity = new Intent(activity, MainActivity.class);
mainActivity.putExtra(Helper.INTENT_ACTION, Helper.OPEN_NOTIFICATION); mainActivity.putExtra(Helper.INTENT_ACTION, Helper.OPEN_NOTIFICATION);
Bundle bundle = intent.getExtras();
if (bundle != null) {
mainActivity.putExtras(bundle);
}
activity.startActivity(mainActivity); activity.startActivity(mainActivity);
activity.finish(); activity.finish();
} catch (DBException e) { } catch (DBException e) {

Loading…
Cancel
Save