Missing retention policy annotations

This commit is contained in:
philips77 2020-05-26 15:32:02 +02:00
parent 7d4a4ea757
commit 2f61019d6d
2 changed files with 8 additions and 0 deletions

View File

@ -2,7 +2,11 @@ package no.nordicsemi.android.dfu;
import androidx.annotation.IntDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@SuppressWarnings("WeakerAccess")
@Retention(RetentionPolicy.SOURCE)
@IntDef(value = {
DfuServiceInitiator.SCOPE_SYSTEM_COMPONENTS,
DfuServiceInitiator.SCOPE_APPLICATION

View File

@ -2,7 +2,11 @@ package no.nordicsemi.android.dfu;
import androidx.annotation.IntDef;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
@SuppressWarnings("WeakerAccess")
@Retention(RetentionPolicy.SOURCE)
@IntDef(value = {
DfuBaseService.TYPE_SOFT_DEVICE,
DfuBaseService.TYPE_BOOTLOADER,