Skip to content

Commit 2476baf

Browse files
committed
Deprecations removed
1 parent 825b23e commit 2476baf

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

dfu/src/main/java/no/nordicsemi/android/dfu/DfuBaseService.java

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
* The DFU Service provides full support for Over-the-Air (OTA) Device Firmware Update (DFU) by Nordic Semiconductor.
7070
* With the Soft Device 7.0.0+ it allows to upload a new Soft Device, new Bootloader and a new Application. For older soft devices only the Application update is supported.
7171
* <p>
72-
* To run the service to your application extend it in your project and overwrite the missing method. Remember to add your class to the AndroidManifest.xml file.
72+
* To run the service to your application extend it in your project and overwrite the missing method. Remember to add your service class to the AndroidManifest.xml file.
7373
* </p>
7474
* <p>
7575
* The {@link DfuServiceInitiator} object should be used to start the DFU Service.
@@ -581,20 +581,6 @@ public abstract class DfuBaseService extends IntentService implements DfuProgres
581581
public static final String EXTRA_CUSTOM_UUIDS_FOR_BUTTONLESS_DFU_WITHOUT_BOND_SHARING = "no.nordicsemi.android.dfu.extra.EXTRA_CUSTOM_UUIDS_FOR_BUTTONLESS_DFU_WITHOUT_BOND_SHARING";
582582
public static final String EXTRA_CUSTOM_UUIDS_FOR_BUTTONLESS_DFU_WITH_BOND_SHARING = "no.nordicsemi.android.dfu.extra.EXTRA_CUSTOM_UUIDS_FOR_BUTTONLESS_DFU_WITH_BOND_SHARING";
583583

584-
// DFU status values. Those values are now implementation dependent.
585-
@Deprecated
586-
public static final int DFU_STATUS_SUCCESS = 1;
587-
@Deprecated
588-
public static final int DFU_STATUS_INVALID_STATE = 2;
589-
@Deprecated
590-
public static final int DFU_STATUS_NOT_SUPPORTED = 3;
591-
@Deprecated
592-
public static final int DFU_STATUS_DATA_SIZE_EXCEEDS_LIMIT = 4;
593-
@Deprecated
594-
public static final int DFU_STATUS_CRC_ERROR = 5;
595-
@Deprecated
596-
public static final int DFU_STATUS_OPERATION_FAILED = 6;
597-
598584
/**
599585
* Lock used in synchronization purposes
600586
*/

0 commit comments

Comments
 (0)