ShiftParts: initial import
Change-Id: I99ee1bb90d6da3d91a122197283492a0fed3e37c
Signed-off-by: Joey <bevilacquajoey@gmail.com>
diff --git a/proguard.flags b/proguard.flags
new file mode 100644
index 0000000..5f132b6
--- /dev/null
+++ b/proguard.flags
@@ -0,0 +1,24 @@
+# Keep all Fragments in this package, which are used by reflection.
+-keep class com.shiftos.shiftparts.*Fragment
+-keep class com.shiftos.shiftparts.*Picker
+-keep class com.shiftos.shiftparts.*Settings
+
+-keep class com.shiftos.shiftparts.gestures.*
+-keep class com.shiftos.shiftparts.input.*
+-keep class com.shiftos.shiftparts.notificationlight.*
+-keep class com.shiftos.shiftparts.power.*
+-keep class com.shiftos.shiftparts.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);
+}