Convert Boolean to boolean

This commit is contained in:
MasterWanna 2021-05-03 01:32:37 +08:00
parent 2acbbc66ff
commit 398cb4f8ab

View file

@ -50,7 +50,7 @@ public class SyncWorker extends Worker {
* @param backgroundSync the toggle result backgroundSync
*/
public static void update(@NonNull Context context, @NonNull Boolean backgroundSync) {
public static void update(@NonNull Context context, boolean backgroundSync) {
deregister(context);
if (backgroundSync) {
PeriodicWorkRequest work = new PeriodicWorkRequest.Builder(SyncWorker.class, 15, TimeUnit.MINUTES)