mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2024-12-22 16:50:04 +02:00
forward intent when changing the account
This commit is contained in:
parent
d7d5f286f5
commit
ac6d9f430e
1 changed files with 4 additions and 0 deletions
|
@ -752,6 +752,10 @@ public abstract class BaseMainActivity extends BaseActivity implements NetworkSt
|
|||
editor.commit();
|
||||
Intent mainActivity = new Intent(activity, MainActivity.class);
|
||||
mainActivity.putExtra(Helper.INTENT_ACTION, Helper.OPEN_NOTIFICATION);
|
||||
Bundle bundle = intent.getExtras();
|
||||
if (bundle != null) {
|
||||
mainActivity.putExtras(bundle);
|
||||
}
|
||||
activity.startActivity(mainActivity);
|
||||
activity.finish();
|
||||
} catch (DBException e) {
|
||||
|
|
Loading…
Reference in a new issue