blob: f0f4b8580f7df08ebff8a842786376969e1e4bf3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Ravenwood "policy" that should apply to all code.
# The "no-pta" marker is used to exclude the lines from "ravenhelper pta",
# which tries to convert policies to annotations.
# Keep all AIDL interfaces
class :aidl keepclass
# Keep all feature flag implementations
class :feature_flags keepclass
# Keep all sysprops generated code implementations
class :sysprops keepclass
# Keep all resource R classes
class :r keepclass
# Support APIs not available in standard JRE
class java.io.FileDescriptor # no-pta
method getInt$ @com.android.ravenwood.RavenwoodJdkPatch.getInt$
method setInt$ @com.android.ravenwood.RavenwoodJdkPatch.setInt$
class java.util.LinkedHashMap # no-pta
method eldest @com.android.ravenwood.RavenwoodJdkPatch.eldest
# Always set flag UNICODE_CHARACTER_CLASS when compiling regex
class java.util.regex.Pattern keep
method compile @com.android.ravenwood.RavenwoodJdkPatch.compilePattern
|