From 448fafc5c42b63e7c5ddfc4aacb5dad9fc828e7f Mon Sep 17 00:00:00 2001 From: Eric House Date: Sun, 5 Apr 2020 16:54:23 -0700 Subject: [PATCH] changes generated by AS (moving to androidx) --- xwords4/android/app/build.gradle | 8 ++++---- xwords4/android/app/src/main/AndroidManifest.xml | 2 +- .../java/org/eehouse/android/xw4/AboutAlert.java | 2 -- .../main/java/org/eehouse/android/xw4/DBAlert.java | 7 ------- .../java/org/eehouse/android/xw4/DelegateBase.java | 4 ---- .../java/org/eehouse/android/xw4/DlgDelegate.java | 6 ------ .../org/eehouse/android/xw4/DlgDelegateAlert.java | 2 +- .../main/java/org/eehouse/android/xw4/GameLock.java | 2 +- .../org/eehouse/android/xw4/InviteChoicesAlert.java | 7 ------- .../java/org/eehouse/android/xw4/LookupAlert.java | 3 --- .../java/org/eehouse/android/xw4/MainActivity.java | 8 +++----- .../java/org/eehouse/android/xw4/NotAgainAlert.java | 11 +---------- .../java/org/eehouse/android/xw4/OkOnlyAlert.java | 11 +---------- .../main/java/org/eehouse/android/xw4/Perms23.java | 9 ++------- .../java/org/eehouse/android/xw4/PrefsActivity.java | 1 - .../java/org/eehouse/android/xw4/RelayService.java | 4 +--- .../java/org/eehouse/android/xw4/TilePickAlert.java | 3 --- .../src/main/java/org/eehouse/android/xw4/Utils.java | 9 ++------- .../java/org/eehouse/android/xw4/XWActivity.java | 11 +++++------ .../src/main/java/org/eehouse/android/xw4/XWApp.java | 12 ++++++------ .../org/eehouse/android/xw4/XWDialogFragment.java | 4 +--- .../java/org/eehouse/android/xw4/XWFragment.java | 3 +-- .../java/org/eehouse/android/xw4/XWJIService.java | 3 +-- xwords4/android/gradle.properties | 5 ++++- 24 files changed, 35 insertions(+), 102 deletions(-) diff --git a/xwords4/android/app/build.gradle b/xwords4/android/app/build.gradle index 0fd4aee24..29985fdfa 100644 --- a/xwords4/android/app/build.gradle +++ b/xwords4/android/app/build.gradle @@ -313,11 +313,11 @@ ext { } dependencies { - implementation "com.android.support:support-v4:$SUPPORT_LIB_VERSION" - implementation "com.android.support:support-compat:$SUPPORT_LIB_VERSION" + implementation 'androidx.legacy:legacy-support-v4:1.0.0' + implementation 'androidx.core:core:1.0.0' - implementation "android.arch.lifecycle:extensions:1.1.1" - annotationProcessor "android.arch.lifecycle:compiler:1.1.1" + implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0' + annotationProcessor 'androidx.lifecycle:lifecycle-compiler:2.0.0' // 2.6.8 is probably as far forward as I can go without upping my // min-supported SDK version diff --git a/xwords4/android/app/src/main/AndroidManifest.xml b/xwords4/android/app/src/main/AndroidManifest.xml index 8d1e0d07b..b53bde654 100644 --- a/xwords4/android/app/src/main/AndroidManifest.xml +++ b/xwords4/android/app/src/main/AndroidManifest.xml @@ -43,7 +43,7 @@ android:theme="@style/AppTheme" > -