Update job ids in Settings
Use constant integers instead of ids Bug: 77331929 Test: RunSettingsRoboTests Change-Id: Ic6def54aaae4a9ba025161340f1cee210cb2e87f
This commit is contained in:
@@ -70,7 +70,7 @@ public class AnomalyDetectionJobService extends JobService {
|
||||
final ComponentName component = new ComponentName(context,
|
||||
AnomalyDetectionJobService.class);
|
||||
final JobInfo.Builder jobBuilder =
|
||||
new JobInfo.Builder(R.id.job_anomaly_detection, component)
|
||||
new JobInfo.Builder(R.integer.job_anomaly_detection, component)
|
||||
.setOverrideDeadline(MAX_DELAY_MS);
|
||||
|
||||
if (jobScheduler.enqueue(jobBuilder.build(), new JobWorkItem(intent))
|
||||
|
Reference in New Issue
Block a user