Suppressing warnings

This commit is contained in:
Aleksander Nowakowski 2018-10-01 14:06:06 +02:00
parent ba73c443c3
commit 92fd8d647c
2 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@ import android.support.v4.content.LocalBroadcastManager;
* will work for all DFU processes, but the {@link #isPaused()} and {@link #isAborted()} methods may report incorrect values.</p>
* <p>Added in DFU Library version 1.0.2.</p>
*/
@SuppressWarnings({"WeakerAccess", "unused"})
public class DfuServiceController implements DfuController {
private LocalBroadcastManager mBroadcastManager;
private boolean mPaused;

View File

@ -44,6 +44,7 @@ import no.nordicsemi.android.error.GattError;
* <p>Use {@link #registerProgressListener(Context, DfuProgressListener)} or {@link #registerLogListener(Context, DfuLogListener)} to register your listeners. Remember about unregistering them
* when your context is destroyed.</p>
*/
@SuppressWarnings({"WeakerAccess", "unused"})
public class DfuServiceListenerHelper {
private static LogBroadcastReceiver mLogBroadcastReceiver;
private static ProgressBroadcastsReceiver mProgressBroadcastReceiver;