diff --git a/software/IOIOLibAndroid/build.gradle b/software/IOIOLibAndroid/build.gradle index 741c5dc0a..afd02f18f 100644 --- a/software/IOIOLibAndroid/build.gradle +++ b/software/IOIOLibAndroid/build.gradle @@ -25,5 +25,4 @@ android { dependencies { api project(":IOIOLibCore") - api 'androidx.appcompat:appcompat:1.2.0' } diff --git a/software/IOIOLibAndroid/src/main/java/ioio/lib/util/android/IOIOActivity.java b/software/IOIOLibAndroid/src/main/java/ioio/lib/util/android/IOIOActivity.java index 99f023e4a..9192d4cca 100644 --- a/software/IOIOLibAndroid/src/main/java/ioio/lib/util/android/IOIOActivity.java +++ b/software/IOIOLibAndroid/src/main/java/ioio/lib/util/android/IOIOActivity.java @@ -31,15 +31,14 @@ import ioio.lib.impl.SocketIOIOConnection; import ioio.lib.util.IOIOLooper; import ioio.lib.util.IOIOLooperProvider; -import androidx.appcompat.app.AppCompatActivity; +import android.app.Activity; import android.content.Intent; import android.os.Bundle; - /** * A convenience class for easy creation of IOIO-based activities. * - * It is used by creating a concrete {@link AppCompatActivity} in your application, which + * It is used by creating a concrete {@link Activity} in your application, which * extends this class. This class then takes care of proper creation and * abortion of the IOIO connection and of a dedicated thread for IOIO * communication. @@ -69,7 +68,7 @@ * example, in the case of {@link SocketIOIOConnection}, the second argument * will contain an {@link Integer} representing the local port number. */ -public abstract class IOIOActivity extends AppCompatActivity implements +public abstract class IOIOActivity extends Activity implements IOIOLooperProvider { private final IOIOAndroidApplicationHelper helper_ = new IOIOAndroidApplicationHelper(this, this);