mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-26 10:55:09 +01:00
Refactoring
This commit is contained in:
@@ -406,7 +406,7 @@ public class HtmlHelper {
|
||||
}
|
||||
|
||||
private static int getMaxFormatTextSize(Context context) {
|
||||
ActivityManager am = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
|
||||
ActivityManager am = Helper.getSystemService(context, ActivityManager.class);
|
||||
int mc = am.getMemoryClass();
|
||||
if (mc >= 256)
|
||||
return MAX_FORMAT_TEXT_SIZE;
|
||||
|
||||
Reference in New Issue
Block a user