blob: cfbdae392515331eb465e7d795950ad261cb5bb1 [file] [log] [blame]
Michael W9fbeb192023-10-01 17:45:23 +02001# SPDX-FileCopyrightText: 2016 The CyanogenMod Project
2# SPDX-FileCopyrightText: 2017-2020 The LineageOS Project
3# SPDX-License-Identifier: Apache-2.0
4
Steve Kondik7789bbb2016-09-09 03:14:20 -07005# Keep all Fragments in this package, which are used by reflection.
Sam Mortimer32a2abb2017-09-18 21:40:24 -07006-keep class org.lineageos.lineageparts.*Fragment
7-keep class org.lineageos.lineageparts.*Picker
8-keep class org.lineageos.lineageparts.*Settings
Steve Kondik362d0d62016-09-25 23:53:46 -07009
Sam Mortimer32a2abb2017-09-18 21:40:24 -070010-keep class org.lineageos.lineageparts.contributors.*
Luca Stefani1f9a08c2019-09-15 14:00:06 +020011-keep class org.lineageos.lineageparts.gestures.*
Sam Mortimer32a2abb2017-09-18 21:40:24 -070012-keep class org.lineageos.lineageparts.hardware.*
13-keep class org.lineageos.lineageparts.input.*
Luca Stefani1f9a08c2019-09-15 14:00:06 +020014-keep class org.lineageos.lineageparts.lineagestats.*
Sam Mortimer32a2abb2017-09-18 21:40:24 -070015-keep class org.lineageos.lineageparts.livedisplay.*
16-keep class org.lineageos.lineageparts.notificationlight.*
17-keep class org.lineageos.lineageparts.power.*
18-keep class org.lineageos.lineageparts.privacyguard.*
19-keep class org.lineageos.lineageparts.profiles.*
20-keep class org.lineageos.lineageparts.sounds.*
Steve Kondik66dbbd52016-09-03 05:15:27 -070021
Luca Stefani1f9a08c2019-09-15 14:00:06 +020022# Keep keyhandler constructor
23-keep public class * implements com.android.internal.os.DeviceKeyHandler {
24 public <init>(android.content.Context);
25}
26
Steve Kondik7789bbb2016-09-09 03:14:20 -070027# Keep click responders
28-keepclassmembers class com.android.settings.inputmethod.UserDictionaryAddWordActivity {
29 *** onClick*(...);
Steve Kondik66dbbd52016-09-03 05:15:27 -070030}
31
Sam Mortimered2482f2019-05-13 11:53:47 -070032-keep public class * extends androidx.preference.* {
Steve Kondik66dbbd52016-09-03 05:15:27 -070033 public <init>(android.content.Context, android.util.AttributeSet);
34}
35
Luca Stefanib44e40d2020-10-08 19:38:18 +080036# Keep specific fields used via reflection.
37-keepclassmembers class * {
38 public static ** SEARCH_INDEX_DATA_PROVIDER;
39}