Merge "BUG 17887323: Need to turn off DEBUG log spam in Job Scheduler" into lmp-dev

This commit is contained in:
Georgi Nikolov
2014-10-08 20:50:45 +00:00
committed by Android (Google) Code Review
3 changed files with 3 additions and 4 deletions

View File

@@ -70,8 +70,7 @@ import com.android.server.job.controllers.TimeController;
*/
public class JobSchedulerService extends com.android.server.SystemService
implements StateChangedListener, JobCompletedListener {
// TODO: Switch this off for final version.
static final boolean DEBUG = true;
static final boolean DEBUG = false;
/** The number of concurrent jobs we run at one time. */
private static final int MAX_JOB_CONTEXTS_COUNT = 3;
static final String TAG = "JobSchedulerService";

View File

@@ -62,7 +62,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
*
*/
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";
/** Define the maximum # of jobs allowed to run on a service at once. */
private static final int defaultMaxActiveJobsPerService =

View File

@@ -29,7 +29,7 @@ import java.io.PrintWriter;
* are ready to run, or whether they must be stopped.
*/
public abstract class StateController {
protected static final boolean DEBUG = true;
protected static final boolean DEBUG = false;
protected Context mContext;
protected StateChangedListener mStateChangedListener;