mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Clear delayed
This commit is contained in:
parent
2b305ec7f1
commit
4f2b0995bf
1 changed files with 16 additions and 11 deletions
|
@ -766,6 +766,9 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
|||
@Override
|
||||
public void onFragmentDestroyed(@NonNull FragmentManager fm, @NonNull Fragment f) {
|
||||
log(fm, f, "onFragmentDestroyed");
|
||||
getMainHandler().post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
try {
|
||||
for (Field field : f.getClass().getDeclaredFields()) {
|
||||
Class<?> type = field.getType();
|
||||
|
@ -780,6 +783,8 @@ abstract class ActivityBase extends AppCompatActivity implements SharedPreferenc
|
|||
Log.w(ex);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFragmentDetached(@NonNull FragmentManager fm, @NonNull Fragment f) {
|
||||
|
|
Loading…
Reference in a new issue