Loading src/com/android/settings/search/DeviceIndexUpdateJobService.java +6 −4 Original line number Diff line number Diff line Loading @@ -53,10 +53,12 @@ public class DeviceIndexUpdateJobService extends JobService { @Override public boolean onStartJob(JobParameters params) { if (DEBUG) Log.d(TAG, "onStartJob"); if (!mRunningJob) { mRunningJob = true; Thread thread = new Thread(() -> updateIndex(params)); thread.setPriority(Thread.MIN_PRIORITY); thread.start(); } return true; } Loading Loading
src/com/android/settings/search/DeviceIndexUpdateJobService.java +6 −4 Original line number Diff line number Diff line Loading @@ -53,10 +53,12 @@ public class DeviceIndexUpdateJobService extends JobService { @Override public boolean onStartJob(JobParameters params) { if (DEBUG) Log.d(TAG, "onStartJob"); if (!mRunningJob) { mRunningJob = true; Thread thread = new Thread(() -> updateIndex(params)); thread.setPriority(Thread.MIN_PRIORITY); thread.start(); } return true; } Loading