[app] Fix android codename (#213)

R8 bug
This commit is contained in:
tehcneko 2021-02-27 12:01:12 +08:00 committed by GitHub
parent 64beb89789
commit 9a0a81185e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -130,7 +130,6 @@ public class StatusDialogBuilder extends AlertDialog.Builder {
private String getAndroidVersion() {
switch (Build.VERSION.SDK_INT) {
case 26:
case 27:
return "Oreo";
case 28:

View File

@ -5,8 +5,12 @@ buildscript {
repositories {
google()
jcenter()
maven {
url 'https://storage.googleapis.com/r8-releases/raw'
}
}
dependencies {
classpath 'com.android.tools:r8:3.0.25-dev'
classpath 'com.android.tools.build:gradle:4.1.2'
classpath 'org.eclipse.jgit:org.eclipse.jgit:5.10.0.202012080955-r'
}