mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +00:00
Added locale info to debug info
This commit is contained in:
parent
27e4aad5ea
commit
c30df15b44
1 changed files with 5 additions and 0 deletions
|
@ -30,6 +30,7 @@ import android.content.DialogInterface;
|
|||
import android.content.Intent;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.res.Configuration;
|
||||
import android.content.res.Resources;
|
||||
import android.database.sqlite.SQLiteFullException;
|
||||
import android.graphics.Point;
|
||||
import android.net.ConnectivityManager;
|
||||
|
@ -99,6 +100,7 @@ import java.util.Date;
|
|||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
|
@ -1374,6 +1376,9 @@ public class Log {
|
|||
sb.append(String.format("Id: %s\r\n", Build.ID));
|
||||
sb.append("\r\n");
|
||||
|
||||
Locale slocale = Resources.getSystem().getConfiguration().locale;
|
||||
sb.append(String.format("Locale: %s/%s\r\n", Locale.getDefault(), slocale));
|
||||
|
||||
sb.append(String.format("Processors: %d\r\n", Runtime.getRuntime().availableProcessors()));
|
||||
|
||||
ActivityManager am = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
|
||||
|
|
Loading…
Reference in a new issue