revert change

This commit is contained in:
Milos Kozak 2020-12-08 08:50:21 +01:00
parent e100e5abae
commit bf0dc1cb9b

View file

@ -771,7 +771,7 @@ public class WatchUpdaterService extends WearableListenerService implements Goog
@SuppressWarnings("UNCHECKED") @SuppressWarnings("UNCHECKED")
private void executeTask(AsyncTask task, DataMap... parameters) { private void executeTask(AsyncTask task, DataMap... parameters) {
task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, (Object) 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) {
// task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); // task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
// } else { // } else {