mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 11:21:29 +00:00
Merge pull request #308 from Zillode/fix-samsungs-bug
Work around for Samsung's MenuBuilder bug (fixes #307).
This commit is contained in:
commit
c8020fd9c2
2 changed files with 5 additions and 0 deletions
|
@ -72,6 +72,8 @@ android {
|
|||
debuggable true
|
||||
}
|
||||
release {
|
||||
minifyEnabled true
|
||||
proguardFile getDefaultProguardFile('proguard-android.txt')
|
||||
if (System.getenv("key_alias")) {
|
||||
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