Workaround for 4.2.2 samsung(and some other devices) bug with appcompat-v7 Toolbar.

This commit is contained in:
Dmitry Yunitsky 2015-01-15 19:25:57 +03:00 committed by Alex Zolotarev
parent b59b4c22f6
commit a44338d9a2
2 changed files with 15 additions and 0 deletions

View file

@ -284,6 +284,8 @@ android {
release {
signingConfig signingConfigs.mapswithme
minifyEnabled true
proguardFile('proguard-mwm.txt')
}
beta {

13
android/proguard-mwm.txt Normal file
View file

@ -0,0 +1,13 @@
# obfuscate supportV7 menu subclasses. it fixes bug with some Samsung and other devices ROMS based on android 4.2.2.
# more details here : https://code.google.com/p/android/issues/detail?id=78377
-keep class !android.support.v7.internal.view.menu.**,** {*;}
# ignore warnings from MRGS billing.
-dontwarn ru.mail.**
# log proguard info
#
#-verbose
#
#-printseeds seeds.txt
#-printusage unused.txt
#-printmapping mapping.txt