Yohann Roussel | 0bf1391 | 2013-09-06 17:20:52 +0200 | [diff] [blame] | 1 | -keep public class * extends android.app.Instrumentation {
|
Yohann Roussel | 0adb31f | 2014-02-28 16:34:55 +0100 | [diff] [blame] | 2 | <init>();
|
Yohann Roussel | 0bf1391 | 2013-09-06 17:20:52 +0200 | [diff] [blame] | 3 | }
|
| 4 | -keep public class * extends android.app.Application {
|
Yohann Roussel | 0adb31f | 2014-02-28 16:34:55 +0100 | [diff] [blame] | 5 | <init>();
|
| 6 | void attachBaseContext(android.content.Context);
|
Yohann Roussel | 0bf1391 | 2013-09-06 17:20:52 +0200 | [diff] [blame] | 7 | }
|
| 8 | -keep public class * extends android.app.Activity {
|
Yohann Roussel | 0adb31f | 2014-02-28 16:34:55 +0100 | [diff] [blame] | 9 | <init>();
|
Yohann Roussel | 0bf1391 | 2013-09-06 17:20:52 +0200 | [diff] [blame] | 10 | }
|
| 11 | -keep public class * extends android.app.Service {
|
Yohann Roussel | 0adb31f | 2014-02-28 16:34:55 +0100 | [diff] [blame] | 12 | <init>();
|
Yohann Roussel | 0bf1391 | 2013-09-06 17:20:52 +0200 | [diff] [blame] | 13 | }
|
| 14 | -keep public class * extends android.content.ContentProvider {
|
Yohann Roussel | 0adb31f | 2014-02-28 16:34:55 +0100 | [diff] [blame] | 15 | <init>();
|
Yohann Roussel | 0bf1391 | 2013-09-06 17:20:52 +0200 | [diff] [blame] | 16 | }
|
| 17 | -keep public class * extends android.content.BroadcastReceiver {
|
Yohann Roussel | 0adb31f | 2014-02-28 16:34:55 +0100 | [diff] [blame] | 18 | <init>();
|
Yohann Roussel | 0bf1391 | 2013-09-06 17:20:52 +0200 | [diff] [blame] | 19 | }
|
| 20 | -keep public class * extends android.app.backup.BackupAgent {
|
Yohann Roussel | 0adb31f | 2014-02-28 16:34:55 +0100 | [diff] [blame] | 21 | <init>();
|
Yohann Roussel | 0bf1391 | 2013-09-06 17:20:52 +0200 | [diff] [blame] | 22 | }
|
Yohann Roussel | 5cc19fe | 2014-05-28 16:14:01 +0200 | [diff] [blame] | 23 | # 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 | }
|