1# The support library contains references to newer platform versions. 2# Don't warn about those in case this app is linking against an older 3# platform version. We know about them, and they are safe. 4 5-keep class androidx.preference.Preference* { 6 *; 7} 8-dontwarn androidx.core.** 9 10# Keep classes that implements RoleBehavior, which are used by reflection. 11-keep class * implements com.android.role.controller.model.RoleBehavior { 12 *; 13} 14 15# Keep classes that implements RoleUiBehavior, which are used by reflection. 16-keep class * implements com.android.permissioncontroller.role.ui.behavior.RoleUiBehavior { 17 *; 18} 19 20-keep class com.android.car.ui.** {*;} 21 22# Keep as this is only used by instrumentation tests for now. This can be removed once the class is 23# used from code 24-keep class com.android.permissioncontroller.permission.data.AttributionLabelLiveData* { 25 *; 26} 27 28# for proto names for Proto.toString 29-keepclassmembers class * extends com.google.protobuf.GeneratedMessageLite { 30 *** get*(); 31 *** set*(***); 32 *** has*(); 33} 34 35# Strip verbose logs. 36-assumenosideeffects class android.util.Log { 37 static *** v(...); 38 static *** isLoggable(...); 39} 40-assumenosideeffects class android.util.Slog { 41 static *** v(...); 42} 43-maximumremovedandroidloglevel 2 44