diff --git a/app/build.gradle b/app/build.gradle index d85643a41..67b2ff5a9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -21,7 +21,7 @@ def basicApplicationId = "org.fdroid.basic" def privilegedExtensionApplicationId = '"org.fdroid.fdroid.privileged"' android { - compileSdkVersion 29 + compileSdkVersion 30 defaultConfig { versionCode 1013001 @@ -142,10 +142,9 @@ android { } dependencies { - implementation 'androidx.appcompat:appcompat:1.2.0' + implementation 'androidx.appcompat:appcompat:1.3.0' implementation 'androidx.preference:preference:1.1.1' implementation 'androidx.gridlayout:gridlayout:1.0.0' - implementation 'androidx.annotation:annotation:1.1.0' implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.vectordrawable:vectordrawable:1.1.0' diff --git a/app/src/main/java/org/fdroid/fdroid/installer/FileInstallerActivity.java b/app/src/main/java/org/fdroid/fdroid/installer/FileInstallerActivity.java index c068d8441..925e283d6 100644 --- a/app/src/main/java/org/fdroid/fdroid/installer/FileInstallerActivity.java +++ b/app/src/main/java/org/fdroid/fdroid/installer/FileInstallerActivity.java @@ -128,6 +128,7 @@ public class FileInstallerActivity extends FragmentActivity { @Override public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { + super.onRequestPermissionsResult(requestCode, permissions, grantResults); switch (requestCode) { case MY_PERMISSIONS_REQUEST_STORAGE: // If request is cancelled, the result arrays are empty. diff --git a/app/src/main/java/org/fdroid/fdroid/views/PreferencesFragment.java b/app/src/main/java/org/fdroid/fdroid/views/PreferencesFragment.java index ec2f37e73..022d22a3b 100644 --- a/app/src/main/java/org/fdroid/fdroid/views/PreferencesFragment.java +++ b/app/src/main/java/org/fdroid/fdroid/views/PreferencesFragment.java @@ -53,6 +53,7 @@ import org.fdroid.fdroid.work.CleanCacheWorker; import org.fdroid.fdroid.work.FDroidMetricsWorker; import androidx.appcompat.app.AppCompatActivity; +import androidx.core.app.ActivityCompat; import androidx.preference.CheckBoxPreference; import androidx.preference.EditTextPreference; import androidx.preference.ListPreference; @@ -291,7 +292,7 @@ public class PreferencesFragment extends PreferenceFragmentCompat AppCompatActivity activity = (AppCompatActivity) getActivity(); // Theme will be applied upon activity creation if (activity != null) { - activity.recreate(); + ActivityCompat.recreate(activity); } } break; diff --git a/gradle/verification-keyring.gpg b/gradle/verification-keyring.gpg index 809bc7020..07bed8a29 100644 Binary files a/gradle/verification-keyring.gpg and b/gradle/verification-keyring.gpg differ diff --git a/gradle/verification-metadata.xml b/gradle/verification-metadata.xml index 9e93bb9f8..a3d8faa40 100644 --- a/gradle/verification-metadata.xml +++ b/gradle/verification-metadata.xml @@ -7,169 +7,107 @@ - - - - - - - - - - + - - - - - - - + - + - - - - - - + - - - - - + - - - - - - + - - - - - - - - - - + - - - + - - - - - - - + + - - - - - - - - - - + + + - - - - - - - - + + - - - - + + - + - - - + + + - - + + - - - + + + + + + + + - - - - - - - + + - - - + + + + + + - - - + + + - - + + - - - - - - - - + + + @@ -192,6 +130,9 @@ + + + @@ -209,11 +150,6 @@ - - - - - @@ -222,31 +158,21 @@ - - - - - - - - - - - - - - - + + + + + @@ -256,17 +182,12 @@ - - - + + + - - - - - - - + + @@ -289,17 +210,11 @@ - - - - - - @@ -321,18 +236,16 @@ - - - - + + - - - + + + - - + + @@ -375,51 +288,36 @@ - - - + + + - - - - - - - - - - - - - - - + + - - - - - - - + + - - - + + + + + + - - - + + + - - + + @@ -427,20 +325,20 @@ - - - + + + - - + + - - - + + + - - + + @@ -509,12 +407,12 @@ - - - + + + - - + + @@ -529,11 +427,17 @@ + + + + + + @@ -543,96 +447,61 @@ - - - - - - - - - - - - - - - + + - - - - - - - + + - - - - - - - + + - - - - - - - + + - - - - - - - + + - - - - - - - + + + + + @@ -642,6 +511,14 @@ + + + + + + + + @@ -666,12 +543,12 @@ - - - + + + - - + + @@ -709,9 +586,6 @@ - - - @@ -729,15 +603,6 @@ - - - - - - - - - @@ -746,118 +611,70 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -874,364 +691,128 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -1242,522 +823,79 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1771,39 +909,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1822,118 +927,20 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1942,477 +949,25 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2423,11 +978,6 @@ - - - - - @@ -2444,204 +994,19 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2697,125 +1062,9 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -2823,11 +1072,5 @@ - - - - - -