John Wu | 2511073 | 2024-10-10 22:40:49 +0000 | [diff] [blame] | 1 | # Ravenwood "policy" that should apply to all code. |
| 2 | |
| 3 | # Keep all AIDL interfaces |
| 4 | class :aidl keepclass |
| 5 | |
| 6 | # Keep all feature flag implementations |
| 7 | class :feature_flags keepclass |
| 8 | |
| 9 | # Keep all sysprops generated code implementations |
| 10 | class :sysprops keepclass |
| 11 | |
| 12 | # Keep all resource R classes |
| 13 | class :r keepclass |
| 14 | |
| 15 | # Support APIs not available in standard JRE |
| 16 | class java.io.FileDescriptor keep |
Makoto Onuki | b4ed857 | 2024-11-27 12:03:41 -0800 | [diff] [blame] | 17 | method getInt$ @com.android.ravenwood.RavenwoodJdkPatch.getInt$ |
| 18 | method setInt$ @com.android.ravenwood.RavenwoodJdkPatch.setInt$ |
John Wu | 2511073 | 2024-10-10 22:40:49 +0000 | [diff] [blame] | 19 | class java.util.LinkedHashMap keep |
Makoto Onuki | b4ed857 | 2024-11-27 12:03:41 -0800 | [diff] [blame] | 20 | method eldest @com.android.ravenwood.RavenwoodJdkPatch.eldest |