Skip to content

Commit

Permalink
removed debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Aug 23, 2019
1 parent b14306d commit 79e2aa5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/src/main/java/co/tinode/tindroid/MessageActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,6 @@ private boolean isFragmentVisible(String tag) {
}

void showFragment(String tag, Bundle args, boolean addToBackstack) {
Log.w(TAG, "showFragment " + tag + "; addToBS:" + addToBackstack);
FragmentManager fm = getSupportFragmentManager();
Fragment fragment = fm.findFragmentByTag(tag);
if (fragment == null) {
Expand Down Expand Up @@ -411,14 +410,11 @@ void showFragment(String tag, Bundle args, boolean addToBackstack) {

FragmentTransaction trx = fm.beginTransaction();
if (!fragment.isAdded()) {
Log.w(TAG, "showFragment " + tag + " added");
trx = trx.replace(R.id.contentFragment, fragment, tag)
.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN);
} else if (!fragment.isVisible()) {
Log.w(TAG, "showFragment " + tag + " shown");
trx = trx.show(fragment);
} else {
Log.w(TAG, "showFragment " + tag + " NONE");
addToBackstack = false;
}

Expand Down

0 comments on commit 79e2aa5

Please sign in to comment.