Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authora.marchuk <a.marchuk@corp.mail.ru>2015-07-16 18:39:15 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:56:11 +0300
commitad786ffd14a71f8a4a6db07ded6650d775432dc1 (patch)
tree06a06e6d01b21723efb1d332e79ac75cee0745bf /android/proguard-mwm.txt
parent949082bfbd77fc89f01c961fc82d60dffec1d1c9 (diff)
[android] refactor: Popup menus replaced with BottomSheet.
Diffstat (limited to 'android/proguard-mwm.txt')
-rw-r--r--android/proguard-mwm.txt19
1 files changed, 18 insertions, 1 deletions
diff --git a/android/proguard-mwm.txt b/android/proguard-mwm.txt
index 5396a08339..61420feb99 100644
--- a/android/proguard-mwm.txt
+++ b/android/proguard-mwm.txt
@@ -21,4 +21,21 @@
#
#-printseeds seeds.txt
#-printusage unused.txt
-#-printmapping mapping.txt \ No newline at end of file
+#-printmapping mapping.txt
+
+
+# Gson support
+-keep class com.mapswithme.util.Gsonable
+-keep class * implements com.mapswithme.util.Gsonable
+
+-keepclassmembernames class * implements com.mapswithme.util.Gsonable {
+ !transient <fields>;
+}
+
+-keepnames class * implements com.mapswithme.util.Gsonable {
+ !transient <fields>;
+}
+
+-keepclassmembers class * implements com.mapswithme.util.Gsonable {
+ <init>(...);
+} \ No newline at end of file