Setup no clear

pull/209/head
M66B 2 years ago
parent 6a97627df4
commit b9347265a1

@ -441,7 +441,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
public boolean onMenuItemClick(MenuItem item) { public boolean onMenuItemClick(MenuItem item) {
String tab = FragmentOptions.TAB_LABELS.get(item.getOrder()); String tab = FragmentOptions.TAB_LABELS.get(item.getOrder());
startActivity(new Intent(ActivityView.this, ActivitySetup.class) startActivity(new Intent(ActivityView.this, ActivitySetup.class)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK) .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
.putExtra("tab", tab)); .putExtra("tab", tab));
return true; return true;
} }
@ -455,7 +455,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
@Override @Override
public boolean onLongClick(View view) { public boolean onLongClick(View view) {
startActivity(new Intent(ActivityView.this, ActivitySetup.class) startActivity(new Intent(ActivityView.this, ActivitySetup.class)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK)); .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
return true; return true;
} }
}); });
@ -1635,7 +1635,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
Intent manage = new Intent(ActivityView.this, ActivitySetup.class) Intent manage = new Intent(ActivityView.this, ActivitySetup.class)
.setAction("misc") .setAction("misc")
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK) .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
.putExtra("tab", "misc"); .putExtra("tab", "misc");
PendingIntent piManage = PendingIntentCompat.getActivity( PendingIntent piManage = PendingIntentCompat.getActivity(
ActivityView.this, ActivitySetup.PI_MISC, manage, PendingIntent.FLAG_UPDATE_CURRENT); ActivityView.this, ActivitySetup.PI_MISC, manage, PendingIntent.FLAG_UPDATE_CURRENT);
@ -1929,7 +1929,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
private void onMenuSetup() { private void onMenuSetup() {
startActivity(new Intent(ActivityView.this, ActivitySetup.class) startActivity(new Intent(ActivityView.this, ActivitySetup.class)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK)); .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
} }
private void onMenuLegend() { private void onMenuLegend() {

@ -839,7 +839,7 @@ public class AdapterFolder extends RecyclerView.Adapter<AdapterFolder.ViewHolder
@Override @Override
public void onClick(View v) { public void onClick(View v) {
v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class) v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK) .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
.putExtra("tab", "connection")); .putExtra("tab", "connection"));
} }
}); });

@ -5108,7 +5108,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
@Override @Override
public void onClick(DialogInterface dialog, int which) { public void onClick(DialogInterface dialog, int which) {
context.startActivity(new Intent(context, ActivitySetup.class) context.startActivity(new Intent(context, ActivitySetup.class)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK) .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
.putExtra("tab", "privacy")); .putExtra("tab", "privacy"));
} }
}) })

@ -516,7 +516,7 @@ public class FragmentAccounts extends FragmentBase {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class) v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK) .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
.putExtra("tab", "connection")); .putExtra("tab", "connection"));
} }
}); });

@ -87,7 +87,7 @@ public class FragmentDialogForwardRaw extends FragmentDialogBase {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class) v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK) .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
.putExtra("tab", "connection")); .putExtra("tab", "connection"));
} }
}); });

@ -418,7 +418,7 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class) v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK) .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
.putExtra("tab", "privacy")); .putExtra("tab", "privacy"));
} }
}); });

@ -242,7 +242,7 @@ public class FragmentDialogTheme extends FragmentDialogBase {
public void onClick(View v) { public void onClick(View v) {
dismiss(); dismiss();
v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class) v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK) .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
.putExtra("tab", "display")); .putExtra("tab", "display"));
} }
}); });

@ -583,7 +583,7 @@ public class FragmentFolders extends FragmentBase {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class) v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK) .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
.putExtra("tab", "connection")); .putExtra("tab", "connection"));
} }
}); });

@ -633,7 +633,7 @@ public class FragmentMessages extends FragmentBase
@Override @Override
public void onClick(View v) { public void onClick(View v) {
Intent intent = new Intent(v.getContext(), ActivitySetup.class) Intent intent = new Intent(v.getContext(), ActivitySetup.class)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
v.getContext().startActivity(intent); v.getContext().startActivity(intent);
} }
}); });
@ -2109,7 +2109,7 @@ public class FragmentMessages extends FragmentBase
@Override @Override
public void onClick(View v) { public void onClick(View v) {
v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class) v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK) .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
.putExtra("tab", "connection")); .putExtra("tab", "connection"));
} }
}); });
@ -4748,7 +4748,7 @@ public class FragmentMessages extends FragmentBase
@Override @Override
public void onClick(View v) { public void onClick(View v) {
v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class) v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK)); .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK));
} }
}); });
snackbar.show(); snackbar.show();
@ -6248,7 +6248,7 @@ public class FragmentMessages extends FragmentBase
@Override @Override
public void onClick(View v) { public void onClick(View v) {
v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class) v.getContext().startActivity(new Intent(v.getContext(), ActivitySetup.class)
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK) .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
.putExtra("tab", "connection")); .putExtra("tab", "connection"));
} }
}); });

Loading…
Cancel
Save