suppress warning
This commit is contained in:
parent
dde5b05029
commit
51fae5fa36
1 changed files with 2 additions and 0 deletions
|
@ -56,6 +56,7 @@ import info.nightscout.androidaps.utils.DefaultValueHelper;
|
||||||
import info.nightscout.androidaps.utils.ToastUtils;
|
import info.nightscout.androidaps.utils.ToastUtils;
|
||||||
import info.nightscout.androidaps.utils.resources.ResourceHelper;
|
import info.nightscout.androidaps.utils.resources.ResourceHelper;
|
||||||
import info.nightscout.androidaps.utils.sharedPreferences.SP;
|
import info.nightscout.androidaps.utils.sharedPreferences.SP;
|
||||||
|
import kotlin.Suppress;
|
||||||
|
|
||||||
public class WatchUpdaterService extends WearableListenerService implements GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener {
|
public class WatchUpdaterService extends WearableListenerService implements GoogleApiClient.ConnectionCallbacks, GoogleApiClient.OnConnectionFailedListener {
|
||||||
@Inject public HasAndroidInjector injector;
|
@Inject public HasAndroidInjector injector;
|
||||||
|
@ -768,6 +769,7 @@ public class WatchUpdaterService extends WearableListenerService implements Goog
|
||||||
// Log.d(TAG, "WR: " + source + " " + data);
|
// Log.d(TAG, "WR: " + source + " " + data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("UNCHECKED")
|
||||||
private void executeTask(AsyncTask task, DataMap... parameters) {
|
private void executeTask(AsyncTask task, DataMap... parameters) {
|
||||||
task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, parameters);
|
task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, parameters);
|
||||||
// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
|
// if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
|
||||||
|
|
Loading…
Reference in a new issue