this.mUsbRealDisconnectionWorkRequest = new OneTimeWorkRequest.Builder(UsbRealDisconnectionWorker.class)
.addTag(UsbRealDisconnectionWorker.WORKER_TAG)
.setInitialDelay(11, TimeUnit.MINUTES)
.build();
WorkManager workManager = WorkManager.getInstance(mContext);
workManager.enqueueUniqueWork(UsbRealDisconnectionWorker.WORKER_TAG
, ExistingWorkPolicy.REPLACE
, mUsbRealDisconnectionWorkRequest);
WorkManager.getInstance(mContext).cancelAllWorkByTag(UsbRealDisconnectionWorker.WORKER_TAG);
μΆμ²: limgyumin λ―Έλμ