blob: af4085ae55f33b4900373d45ddd359ca00dc2f6e [file] [log] [blame]
Yohann Roussel0bf13912013-09-06 17:20:52 +02001 -keep public class * extends android.app.Instrumentation {
Yohann Roussel0adb31f2014-02-28 16:34:55 +01002 <init>();
Yohann Roussel0bf13912013-09-06 17:20:52 +02003 }
4 -keep public class * extends android.app.Application {
Yohann Roussel0adb31f2014-02-28 16:34:55 +01005 <init>();
6 void attachBaseContext(android.content.Context);
Yohann Roussel0bf13912013-09-06 17:20:52 +02007 }
8 -keep public class * extends android.app.Activity {
Yohann Roussel0adb31f2014-02-28 16:34:55 +01009 <init>();
Yohann Roussel0bf13912013-09-06 17:20:52 +020010 }
11 -keep public class * extends android.app.Service {
Yohann Roussel0adb31f2014-02-28 16:34:55 +010012 <init>();
Yohann Roussel0bf13912013-09-06 17:20:52 +020013 }
14 -keep public class * extends android.content.ContentProvider {
Yohann Roussel0adb31f2014-02-28 16:34:55 +010015 <init>();
Yohann Roussel0bf13912013-09-06 17:20:52 +020016 }
17 -keep public class * extends android.content.BroadcastReceiver {
Yohann Roussel0adb31f2014-02-28 16:34:55 +010018 <init>();
Yohann Roussel0bf13912013-09-06 17:20:52 +020019 }
20 -keep public class * extends android.app.backup.BackupAgent {
Yohann Roussel0adb31f2014-02-28 16:34:55 +010021 <init>();
Yohann Roussel0bf13912013-09-06 17:20:52 +020022 }
Yohann Roussel5cc19fe2014-05-28 16:14:01 +020023# We need to keep all annotation classes because proguard does not trace annotation attribute
24# it just filter the annotation attributes according to annotation classes it already kept.
25 -keep public class * extends java.lang.annotation.Annotation {
26 *;
27 }