1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Conditionally clear

This commit is contained in:
M66B 2021-09-30 11:38:55 +02:00
parent cc78e3e255
commit fb9b0a1c42

View file

@ -766,6 +766,7 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
@Override @Override
public void onFragmentDestroyed(@NonNull FragmentManager fm, @NonNull Fragment f) { public void onFragmentDestroyed(@NonNull FragmentManager fm, @NonNull Fragment f) {
log(fm, f, "onFragmentDestroyed"); log(fm, f, "onFragmentDestroyed");
if (!BuildConfig.PLAY_STORE_RELEASE)
try { try {
for (Field field : f.getClass().getDeclaredFields()) { for (Field field : f.getClass().getDeclaredFields()) {
Class<?> type = field.getType(); Class<?> type = field.getType();