| # Add project specific ProGuard rules here. |
| # You can control the set of applied configuration files using the |
| # proguardFiles setting in build.gradle. |
| # |
| # For more details, see |
| # http://developer.android.com/guide/developing/tools/proguard.html |
| |
| # Keep all IInterfaces which are needed for host communications. |
| -keep class androidx.car.app.** extends android.os.IInterface { *; } |
| # Don't obfuscate classes instantiated from outside the library via reflection |
| -keep public class androidx.car.app.activity.** extends androidx.car.app.managers.Manager { *; } |
| -keep public class androidx.car.app.hardware.AutomotiveCarHardwareManager { *; } |
| # Keep all private final fields from a class. |
| -keepclasseswithmembers @androidx.car.app.annotations.KeepFields class * { |
| *; |
| } |