Missing retention policy annotations
This commit is contained in:
parent
7d4a4ea757
commit
2f61019d6d
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue