Added button to manage blocked senders

This commit is contained in:
M66B
2022-03-23 09:38:40 +01:00
parent fef6e21ca5
commit cb727e6c0f
5 changed files with 35 additions and 4 deletions

View File

@@ -1645,8 +1645,14 @@ public class ActivitySetup extends ActivityBase implements FragmentManager.OnBac
}
private void onManageLocalContacts(Intent intent) {
Bundle args = new Bundle();
args.putBoolean("junk", intent.getBooleanExtra("junk", false));
FragmentContacts fragment = new FragmentContacts();
fragment.setArguments(args);
FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction();
fragmentTransaction.replace(R.id.content_frame, new FragmentContacts()).addToBackStack("contacts");
fragmentTransaction.replace(R.id.content_frame, fragment).addToBackStack("contacts");
fragmentTransaction.commit();
}