mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-30 00:01:19 +00:00
Work around for Samsung's MenuBuilder bug (fixes #307).
This commit is contained in:
parent
4f98061325
commit
b73aaad0f5
2 changed files with 5 additions and 0 deletions
|
@ -72,6 +72,8 @@ android {
|
||||||
debuggable true
|
debuggable true
|
||||||
}
|
}
|
||||||
release {
|
release {
|
||||||
|
minifyEnabled true
|
||||||
|
proguardFile getDefaultProguardFile('proguard-android.txt')
|
||||||
if (System.getenv("key_alias")) {
|
if (System.getenv("key_alias")) {
|
||||||
signingConfig signingConfigs.release
|
signingConfig signingConfigs.release
|
||||||
}
|
}
|
||||||
|
|
3
proguard-android.txt
Normal file
3
proguard-android.txt
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Fix appcompat-v7 v21.0.0 causing crash on Samsung devices with Android v4.2.2 (https://code.google.com/p/android/issues/detail?id=78377)
|
||||||
|
-keep class !android.support.v7.internal.view.menu.MenuBuilder, !android.support.v7.internal.view.menu.SubMenuBuilder, android.support.v7.** { *; }
|
||||||
|
-keep interface android.support.v7.** { *; }
|
Loading…
Reference in a new issue