summaryrefslogtreecommitdiffstats
path: root/tools/mainDexClasses.rules
diff options
context:
space:
mode:
authorYohann Roussel <yroussel@google.com>2014-02-28 16:34:55 +0100
committerYohann Roussel <yroussel@google.com>2014-02-28 16:34:55 +0100
commit0adb31f4d3e055007fc2850f81e1a174e51e37bc (patch)
treeb77f670c9877f2b25ac6b6d2d839fe1d446fc121 /tools/mainDexClasses.rules
parentba5d20d6513d0616088cd0f5ae476161dad4f1a7 (diff)
downloadprebuilts_sdk-0adb31f4d3e055007fc2850f81e1a174e51e37bc.zip
prebuilts_sdk-0adb31f4d3e055007fc2850f81e1a174e51e37bc.tar.gz
prebuilts_sdk-0adb31f4d3e055007fc2850f81e1a174e51e37bc.tar.bz2
Update mainDexClasses.rules
To benefit from - "Adapt mainDexClasses.rules to proguard 4.10" 60548f3a78778bfb65f30ec2845e3b5d9ee0990a - "Fix mainDexClasses with obfuscation." 4f6a857f32dfb9bf17103a2bf94ee0f74cd951ce Change-Id: If12c31c5edb7d8e7280aa8073fa9bb91b1d91282
Diffstat (limited to 'tools/mainDexClasses.rules')
-rw-r--r--tools/mainDexClasses.rules11
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/mainDexClasses.rules b/tools/mainDexClasses.rules
index 4a3bb50..f57cbdd 100644
--- a/tools/mainDexClasses.rules
+++ b/tools/mainDexClasses.rules
@@ -1,17 +1,22 @@
-keep public class * extends android.app.Instrumentation {
+ <init>();
}
-keep public class * extends android.app.Application {
+ <init>();
+ void attachBaseContext(android.content.Context);
}
-keep public class * extends android.app.Activity {
+ <init>();
}
-keep public class * extends android.app.Service {
+ <init>();
}
-keep public class * extends android.content.ContentProvider {
+ <init>();
}
-keep public class * extends android.content.BroadcastReceiver {
+ <init>();
}
-keep public class * extends android.app.backup.BackupAgent {
+ <init>();
}
- -keep class android.support.multidex.** {
- *;
- } \ No newline at end of file