simplify param logic (getInputData() is @NonNull)
This commit is contained in:
parent
366146d22e
commit
ce96eeafb6
|
@ -29,8 +29,7 @@ public class FeedUpdateWorker extends Worker {
|
|||
@Override
|
||||
@NonNull
|
||||
public Result doWork() {
|
||||
final boolean isImmediate = getInputData() != null ?
|
||||
getInputData().getBoolean(PARAM_RUN_IMMEDIATE, false) : false;
|
||||
final boolean isImmediate = getInputData().getBoolean(PARAM_RUN_IMMEDIATE, false);
|
||||
Log.d(TAG, "doWork() : isImmediate = " + isImmediate);
|
||||
ClientConfig.initialize(getApplicationContext());
|
||||
|
||||
|
|
Loading…
Reference in New Issue