Loading apex/jobscheduler/service/java/com/android/server/job/JobSchedulerService.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -56,6 +56,7 @@ import android.os.BatteryStats; import android.os.BatteryStatsInternal; import android.os.BatteryStatsInternal; import android.os.Binder; import android.os.Binder; import android.os.Handler; import android.os.Handler; import android.os.LimitExceededException; import android.os.Looper; import android.os.Looper; import android.os.Message; import android.os.Message; import android.os.ParcelFileDescriptor; import android.os.ParcelFileDescriptor; Loading Loading @@ -1002,7 +1003,7 @@ public class JobSchedulerService extends com.android.server.SystemService } } if (isDebuggable) { if (isDebuggable) { // Only throw the exception for debuggable apps. // Only throw the exception for debuggable apps. throw new IllegalStateException( throw new LimitExceededException( "schedule()/enqueue() called more than " "schedule()/enqueue() called more than " + mQuotaTracker.getLimit(Category.SINGLE_CATEGORY) + mQuotaTracker.getLimit(Category.SINGLE_CATEGORY) + " times in the past " + " times in the past " Loading Loading
apex/jobscheduler/service/java/com/android/server/job/JobSchedulerService.java +2 −1 Original line number Original line Diff line number Diff line Loading @@ -56,6 +56,7 @@ import android.os.BatteryStats; import android.os.BatteryStatsInternal; import android.os.BatteryStatsInternal; import android.os.Binder; import android.os.Binder; import android.os.Handler; import android.os.Handler; import android.os.LimitExceededException; import android.os.Looper; import android.os.Looper; import android.os.Message; import android.os.Message; import android.os.ParcelFileDescriptor; import android.os.ParcelFileDescriptor; Loading Loading @@ -1002,7 +1003,7 @@ public class JobSchedulerService extends com.android.server.SystemService } } if (isDebuggable) { if (isDebuggable) { // Only throw the exception for debuggable apps. // Only throw the exception for debuggable apps. throw new IllegalStateException( throw new LimitExceededException( "schedule()/enqueue() called more than " "schedule()/enqueue() called more than " + mQuotaTracker.getLimit(Category.SINGLE_CATEGORY) + mQuotaTracker.getLimit(Category.SINGLE_CATEGORY) + " times in the past " + " times in the past " Loading