| OLD | NEW |
| 1 # Keep line number information, useful for stack traces. | 1 # Keep line number information, useful for stack traces. |
| 2 -keepattributes SourceFile,LineNumberTable | 2 -keepattributes SourceFile,LineNumberTable |
| 3 | 3 |
| 4 # Keep all annotation related attributes that can affect runtime | 4 # Keep all annotation related attributes that can affect runtime |
| 5 -keepattributes RuntimeVisible*Annotations | 5 -keepattributes RuntimeVisible*Annotations |
| 6 -keepattributes AnnotationDefault | 6 -keepattributes AnnotationDefault |
| 7 | 7 |
| 8 # Keep the annotations, because if we don't, the ProGuard rules that use them | 8 # Keep the annotations, because if we don't, the ProGuard rules that use them |
| 9 # will not be respected. These classes then show up in our final dex, which we | 9 # will not be respected. These classes then show up in our final dex, which we |
| 10 # do not want - see crbug.com/628226. | 10 # do not want - see crbug.com/628226. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 static *** d(...); | 49 static *** d(...); |
| 50 static *** v(...); | 50 static *** v(...); |
| 51 static *** isLoggable(...); | 51 static *** isLoggable(...); |
| 52 } | 52 } |
| 53 | 53 |
| 54 # Keep all enum values and valueOf methods. See | 54 # Keep all enum values and valueOf methods. See |
| 55 # http://proguard.sourceforge.net/index.html#manual/examples.html | 55 # http://proguard.sourceforge.net/index.html#manual/examples.html |
| 56 # for the reason for this. Also, see http://crbug.com/248037. | 56 # for the reason for this. Also, see http://crbug.com/248037. |
| 57 -keepclassmembers enum * { | 57 -keepclassmembers enum * { |
| 58 public static **[] values(); | 58 public static **[] values(); |
| 59 public static ** valueOf(java.lang.String); | |
| 60 } | 59 } |
| OLD | NEW |