mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-13 04:25:47 +02:00
Exempted
This commit is contained in:
@@ -598,6 +598,8 @@ public class Helper {
|
||||
|
||||
static String getStandbyBucketName(int bucket) {
|
||||
switch (bucket) {
|
||||
case 5:
|
||||
return "exempted";
|
||||
case UsageStatsManager.STANDBY_BUCKET_ACTIVE:
|
||||
return "active";
|
||||
case UsageStatsManager.STANDBY_BUCKET_WORKING_SET:
|
||||
|
||||
@@ -1937,7 +1937,7 @@ public class Log {
|
||||
boolean inactive = usm.isAppInactive(BuildConfig.APPLICATION_ID);
|
||||
sb.append(String.format("Standby bucket: %d-%b-%s %s\r\n",
|
||||
bucket, inactive, Helper.getStandbyBucketName(bucket),
|
||||
(bucket == UsageStatsManager.STANDBY_BUCKET_ACTIVE && !inactive ? "" : "!!!")));
|
||||
(bucket <= UsageStatsManager.STANDBY_BUCKET_ACTIVE && !inactive ? "" : "!!!")));
|
||||
}
|
||||
|
||||
boolean canExact = AlarmManagerCompatEx.canScheduleExactAlarms(context);
|
||||
|
||||
Reference in New Issue
Block a user