mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 11:55:20 +01:00
Log foreground status
This commit is contained in:
@@ -468,6 +468,10 @@ public class Log {
|
||||
event.addMetadata("extra", "theme", theme);
|
||||
event.addMetadata("extra", "package", BuildConfig.APPLICATION_ID);
|
||||
event.addMetadata("extra", "locale", Locale.getDefault().toString());
|
||||
|
||||
Boolean foreground = Helper.isOnForeground();
|
||||
if (foreground != null)
|
||||
event.addMetadata("extra", "foreground", Boolean.toString(foreground));
|
||||
}
|
||||
|
||||
return should;
|
||||
|
||||
Reference in New Issue
Block a user