-
Notifications
You must be signed in to change notification settings - Fork 136
/
proguard.flags
39 lines (33 loc) · 1.44 KB
/
proguard.flags
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
28
29
30
31
32
33
34
35
36
37
38
39
# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
# SPDX-FileCopyrightText: 2017-2020 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
# Keep all Fragments in this package, which are used by reflection.
-keep class org.lineageos.lineageparts.*Fragment
-keep class org.lineageos.lineageparts.*Picker
-keep class org.lineageos.lineageparts.*Settings
-keep class org.lineageos.lineageparts.contributors.*
-keep class org.lineageos.lineageparts.gestures.*
-keep class org.lineageos.lineageparts.hardware.*
-keep class org.lineageos.lineageparts.input.*
-keep class org.lineageos.lineageparts.lineagestats.*
-keep class org.lineageos.lineageparts.livedisplay.*
-keep class org.lineageos.lineageparts.notificationlight.*
-keep class org.lineageos.lineageparts.power.*
-keep class org.lineageos.lineageparts.privacyguard.*
-keep class org.lineageos.lineageparts.profiles.*
-keep class org.lineageos.lineageparts.sounds.*
# Keep keyhandler constructor
-keep public class * implements com.android.internal.os.DeviceKeyHandler {
public <init>(android.content.Context);
}
# Keep click responders
-keepclassmembers class com.android.settings.inputmethod.UserDictionaryAddWordActivity {
*** onClick*(...);
}
-keep public class * extends androidx.preference.* {
public <init>(android.content.Context, android.util.AttributeSet);
}
# Keep specific fields used via reflection.
-keepclassmembers class * {
public static ** SEARCH_INDEX_DATA_PROVIDER;
}