Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,15 @@ public void onTrimMemory(int level) {
If the event is TRIM_MEMORY_COMPLETE, the process will be one of
the first to be terminated.
*/
new AlertDialog.Builder(this)

// This alert is causing problems on MIUI and other third party OSes, I believe it is not necessary to be shown.
// This alert always appears on a Xiaomi mi 9 with 6 GBs of ram
/* new AlertDialog.Builder(this)
.setTitle(R.string.low_memory)
.setMessage(R.string.low_memory_message)
.create()
.show();
*/
break;
default:
/*
Expand All @@ -125,4 +129,4 @@ public void onTrimMemory(int level) {
System.loadLibrary("opencv_java3");
System.loadLibrary("Scanner");
}
}
}