Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
krystofwoldrich committed Nov 16, 2022
1 parent 706dc8e commit 8c89da7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@ public void close() throws IOException {
}
}

private void setCurrentActivity(@NonNull Activity activity) {
currentActivityHolder.setActivity(activity);
}

private void cleanCurrentActivity(@NonNull Activity activity) {
if (currentActivityHolder.getActivity() == activity) {
currentActivityHolder.clearActivity();
}
}

private void setCurrentActivity(@NonNull Activity activity) {
currentActivityHolder.setActivity(activity);
}
}

0 comments on commit 8c89da7

Please sign in to comment.