Eric Lin | c7a4d1b | 2022-01-11 11:56:45 +0000 | [diff] [blame] | 1 | # Keep all snippet classes. |
| 2 | -keep class android.nearby.multidevices.** { |
| 3 | *; |
| 4 | } |
| 5 | |
Eric Lin | c576980 | 2022-03-28 08:59:31 +0000 | [diff] [blame] | 6 | # Keep AdvertisingSetCallback#onOwnAddressRead callback. |
| 7 | -keep class * extends android.bluetooth.le.AdvertisingSetCallback { |
Eric Lin | 44c53a6 | 2022-03-01 15:35:39 +0000 | [diff] [blame] | 8 | *; |
| 9 | } |
| 10 | |
Eric Lin | c7a4d1b | 2022-01-11 11:56:45 +0000 | [diff] [blame] | 11 | # Do not touch Mobly. |
| 12 | -keep class com.google.android.mobly.** { |
| 13 | *; |
| 14 | } |
| 15 | |
| 16 | # Keep names for easy debugging. |
| 17 | -dontobfuscate |
| 18 | |
| 19 | # Necessary to allow debugging. |
| 20 | -keepattributes * |
| 21 | |
| 22 | # By default, proguard leaves all classes in their original package, which |
| 23 | # needlessly repeats com.google.android.apps.etc. |
| 24 | -repackageclasses "" |
| 25 | |
| 26 | # Allows proguard to make private and protected methods and fields public as |
| 27 | # part of optimization. This lets proguard inline trivial getter/setter |
| 28 | # methods. |
| 29 | -allowaccessmodification |