mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Optimization
This commit is contained in:
parent
bf3ec37815
commit
993c5c4ea3
1 changed files with 3 additions and 2 deletions
|
@ -1035,8 +1035,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|||
@Override
|
||||
public void onClick(View view) {
|
||||
Log.i("Manual GC");
|
||||
Runtime.getRuntime().runFinalization();
|
||||
Runtime.getRuntime().gc();
|
||||
Runtime rt = Runtime.getRuntime();
|
||||
rt.runFinalization();
|
||||
rt.gc();
|
||||
view.postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
|
Loading…
Reference in a new issue