summaryrefslogtreecommitdiff
path: root/proguard.flags
blob: 693eb05506430c06de9d68f8051c6df0aebeeed1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# The support library contains references to newer platform versions.
# Don't warn about those in case this app is linking against an older
# platform version.  We know about them, and they are safe.

-keep class androidx.preference.Preference* {
    *;
}
-dontwarn androidx.core.**

# Keep classes that implements RoleBehavior, which are used by reflection.
-keep class * implements com.android.permissioncontroller.role.model.RoleBehavior {
    *;
}

-keep class com.android.car.ui.** {*;}

# for proto names for Proto.toString
-keepclassmembers class * extends com.google.protobuf.GeneratedMessageLite {
  *** get*();
  *** set*(***);
  *** has*();
}