blob: 1f0b0326988a86fd09dfc91adc0f4df532f10087 [file] [log] [blame]
Dianne Hackbornf57032f2012-05-02 16:56:14 -07001# 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
Fredrik Rydend84d6222018-04-09 10:41:50 -07005-keep class androidx.preference.Preference* {
Jason Monk7152b1e2015-06-22 12:15:38 -04006 *;
7}
Fredrik Rydend84d6222018-04-09 10:41:50 -07008-dontwarn androidx.core.**
Hai Zhang4817cb42018-12-18 16:52:56 -08009
Hai Zhang43c95bf2019-01-10 14:14:22 -080010# Keep classes that implements RoleBehavior, which are used by reflection.
Nate Myrendf9488f2019-11-01 11:06:08 -070011-keep class * implements com.android.permissioncontroller.role.model.RoleBehavior {
Hai Zhang4817cb42018-12-18 16:52:56 -080012 *;
13}
Cole Faustfe6de4a2020-03-18 15:44:46 -070014
15-keep class com.android.car.ui.** {*;}
Philip P. Moltmann9967c6b2020-05-07 22:59:29 -070016
Philip P. Moltmann5d1dd7e2020-09-15 23:55:25 -070017# Keep as this is only used by instrumentation tests for now. This can be removed once the class is
18# used from code
19-keep class com.android.permissioncontroller.permission.data.AttributionLabelLiveData* {
20 *;
21}
22
Philip P. Moltmann9967c6b2020-05-07 22:59:29 -070023# for proto names for Proto.toString
24-keepclassmembers class * extends com.google.protobuf.GeneratedMessageLite {
25 *** get*();
26 *** set*(***);
27 *** has*();
28}