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 androidx.annotation.IntDef;
|
||||||
|
|
||||||
|
import java.lang.annotation.Retention;
|
||||||
|
import java.lang.annotation.RetentionPolicy;
|
||||||
|
|
||||||
@SuppressWarnings("WeakerAccess")
|
@SuppressWarnings("WeakerAccess")
|
||||||
|
@Retention(RetentionPolicy.SOURCE)
|
||||||
@IntDef(value = {
|
@IntDef(value = {
|
||||||
DfuServiceInitiator.SCOPE_SYSTEM_COMPONENTS,
|
DfuServiceInitiator.SCOPE_SYSTEM_COMPONENTS,
|
||||||
DfuServiceInitiator.SCOPE_APPLICATION
|
DfuServiceInitiator.SCOPE_APPLICATION
|
||||||
|
|
|
@ -2,7 +2,11 @@ package no.nordicsemi.android.dfu;
|
||||||
|
|
||||||
import androidx.annotation.IntDef;
|
import androidx.annotation.IntDef;
|
||||||
|
|
||||||
|
import java.lang.annotation.Retention;
|
||||||
|
import java.lang.annotation.RetentionPolicy;
|
||||||
|
|
||||||
@SuppressWarnings("WeakerAccess")
|
@SuppressWarnings("WeakerAccess")
|
||||||
|
@Retention(RetentionPolicy.SOURCE)
|
||||||
@IntDef(value = {
|
@IntDef(value = {
|
||||||
DfuBaseService.TYPE_SOFT_DEVICE,
|
DfuBaseService.TYPE_SOFT_DEVICE,
|
||||||
DfuBaseService.TYPE_BOOTLOADER,
|
DfuBaseService.TYPE_BOOTLOADER,
|
||||||
|
|
Loading…
Reference in New Issue