blob: 83c31512eb70b219f1698515d1ac97c44fa7b0c0 [file] [log] [blame]
John Wu25110732024-10-10 22:40:49 +00001# Ravenwood "policy" that should apply to all code.
2
3# Keep all AIDL interfaces
4class :aidl keepclass
5
6# Keep all feature flag implementations
7class :feature_flags keepclass
8
9# Keep all sysprops generated code implementations
10class :sysprops keepclass
11
12# Keep all resource R classes
13class :r keepclass
14
15# Support APIs not available in standard JRE
16class java.io.FileDescriptor keep
Makoto Onukib4ed8572024-11-27 12:03:41 -080017 method getInt$ @com.android.ravenwood.RavenwoodJdkPatch.getInt$
18 method setInt$ @com.android.ravenwood.RavenwoodJdkPatch.setInt$
John Wu25110732024-10-10 22:40:49 +000019class java.util.LinkedHashMap keep
Makoto Onukib4ed8572024-11-27 12:03:41 -080020 method eldest @com.android.ravenwood.RavenwoodJdkPatch.eldest