am 682d77dc: am 6eb0f480: Merge "BUG 17887323: Need to turn off DEBUG log spam in Job Scheduler" into lmp-dev
* commit '682d77dcf19c2d1a7b26a22e457e53daee6fb212': BUG 17887323: Need to turn off DEBUG log spam in Job Scheduler
This commit is contained in:
@@ -70,8 +70,7 @@ import com.android.server.job.controllers.TimeController;
|
|||||||
*/
|
*/
|
||||||
public class JobSchedulerService extends com.android.server.SystemService
|
public class JobSchedulerService extends com.android.server.SystemService
|
||||||
implements StateChangedListener, JobCompletedListener {
|
implements StateChangedListener, JobCompletedListener {
|
||||||
// TODO: Switch this off for final version.
|
static final boolean DEBUG = false;
|
||||||
static final boolean DEBUG = true;
|
|
||||||
/** The number of concurrent jobs we run at one time. */
|
/** The number of concurrent jobs we run at one time. */
|
||||||
private static final int MAX_JOB_CONTEXTS_COUNT = 3;
|
private static final int MAX_JOB_CONTEXTS_COUNT = 3;
|
||||||
static final String TAG = "JobSchedulerService";
|
static final String TAG = "JobSchedulerService";
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class JobServiceContext extends IJobCallback.Stub implements ServiceConnection {
|
public class JobServiceContext extends IJobCallback.Stub implements ServiceConnection {
|
||||||
private static final boolean DEBUG = true;
|
private static final boolean DEBUG = false;
|
||||||
private static final String TAG = "JobServiceContext";
|
private static final String TAG = "JobServiceContext";
|
||||||
/** Define the maximum # of jobs allowed to run on a service at once. */
|
/** Define the maximum # of jobs allowed to run on a service at once. */
|
||||||
private static final int defaultMaxActiveJobsPerService =
|
private static final int defaultMaxActiveJobsPerService =
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ import java.io.PrintWriter;
|
|||||||
* are ready to run, or whether they must be stopped.
|
* are ready to run, or whether they must be stopped.
|
||||||
*/
|
*/
|
||||||
public abstract class StateController {
|
public abstract class StateController {
|
||||||
protected static final boolean DEBUG = true;
|
protected static final boolean DEBUG = false;
|
||||||
protected Context mContext;
|
protected Context mContext;
|
||||||
protected StateChangedListener mStateChangedListener;
|
protected StateChangedListener mStateChangedListener;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user