Steve Kondik | 7789bbb | 2016-09-09 03:14:20 -0700 | [diff] [blame] | 1 | # Keep all Fragments in this package, which are used by reflection. |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 2 | -keep class org.lineageos.lineageparts.*Fragment |
| 3 | -keep class org.lineageos.lineageparts.*Picker |
| 4 | -keep class org.lineageos.lineageparts.*Settings |
Steve Kondik | 362d0d6 | 2016-09-25 23:53:46 -0700 | [diff] [blame] | 5 | |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 6 | -keep class org.lineageos.lineageparts.contributors.* |
Luca Stefani | 1f9a08c | 2019-09-15 14:00:06 +0200 | [diff] [blame] | 7 | -keep class org.lineageos.lineageparts.gestures.* |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 8 | -keep class org.lineageos.lineageparts.hardware.* |
| 9 | -keep class org.lineageos.lineageparts.input.* |
Luca Stefani | 1f9a08c | 2019-09-15 14:00:06 +0200 | [diff] [blame] | 10 | -keep class org.lineageos.lineageparts.lineagestats.* |
Sam Mortimer | 32a2abb | 2017-09-18 21:40:24 -0700 | [diff] [blame] | 11 | -keep class org.lineageos.lineageparts.livedisplay.* |
| 12 | -keep class org.lineageos.lineageparts.notificationlight.* |
| 13 | -keep class org.lineageos.lineageparts.power.* |
| 14 | -keep class org.lineageos.lineageparts.privacyguard.* |
| 15 | -keep class org.lineageos.lineageparts.profiles.* |
| 16 | -keep class org.lineageos.lineageparts.sounds.* |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 17 | |
Luca Stefani | 1f9a08c | 2019-09-15 14:00:06 +0200 | [diff] [blame] | 18 | # Keep keyhandler constructor |
| 19 | -keep public class * implements com.android.internal.os.DeviceKeyHandler { |
| 20 | public <init>(android.content.Context); |
| 21 | } |
| 22 | |
Steve Kondik | 7789bbb | 2016-09-09 03:14:20 -0700 | [diff] [blame] | 23 | # Keep click responders |
| 24 | -keepclassmembers class com.android.settings.inputmethod.UserDictionaryAddWordActivity { |
| 25 | *** onClick*(...); |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 26 | } |
| 27 | |
Sam Mortimer | ed2482f | 2019-05-13 11:53:47 -0700 | [diff] [blame] | 28 | -keep public class * extends androidx.preference.* { |
Steve Kondik | 66dbbd5 | 2016-09-03 05:15:27 -0700 | [diff] [blame] | 29 | public <init>(android.content.Context, android.util.AttributeSet); |
| 30 | } |
| 31 | |
Luca Stefani | b44e40d | 2020-10-08 19:38:18 +0800 | [diff] [blame^] | 32 | # Keep specific fields used via reflection. |
| 33 | -keepclassmembers class * { |
| 34 | public static ** SEARCH_INDEX_DATA_PROVIDER; |
| 35 | } |