Add proguard rule for ShortcutBadger now that they use reflection.

// FREEBIE
This commit is contained in:
Moxie Marlinspike 2015-05-07 17:20:44 -07:00
parent e62528d3e2
commit 686be81226
2 changed files with 3 additions and 0 deletions

View File

@ -176,6 +176,7 @@ android {
'proguard-spongycastle.pro', 'proguard-spongycastle.pro',
'proguard-rounded-image-view.pro', 'proguard-rounded-image-view.pro',
'proguard-glide.pro', 'proguard-glide.pro',
'proguard-shortcutbadger.pro',
'proguard.cfg' 'proguard.cfg'
} }
release { release {
@ -191,6 +192,7 @@ android {
'proguard-spongycastle.pro', 'proguard-spongycastle.pro',
'proguard-rounded-image-view.pro', 'proguard-rounded-image-view.pro',
'proguard-glide.pro', 'proguard-glide.pro',
'proguard-shortcutbadger.pro'
'proguard.cfg' 'proguard.cfg'
signingConfig signingConfigs.release signingConfig signingConfigs.release
} }

View File

@ -0,0 +1 @@
-keep class me.leolin.shortcutbadger.** {*;}