# Add project specific ProGuard rules here. # By default, the flags in this file are appended to flags specified # in D:\Users\xiandongluo\AppData\Local\Android\sdk1/tools/proguard/proguard-android.txt # You can edit the include path and order by changing the proguardFiles # directive in build.gradle. # # For more details, see # http://developer.android.com/guide/developing/tools/proguard.html # Add any project specific keep options here: # If your project uses WebView with JS, uncomment the following # and specify the fully qualified class name to the JavaScript interface # class: #-keepclassmembers class fqcn.of.javascript.interface.for.webview { # public *; #} # Uncomment this to preserve the line number information for # debugging stack traces. #-keepattributes SourceFile,LineNumberTable # If you keep the line number information, uncomment this to # hide the original source file name. #-renamesourcefileattribute SourceFile #-optimizationpasses 7 #-optimizations !code/simplification/arithmetic,!field/*,!class/merging/* -dontoptimize -dontusemixedcaseclassnames -verbose -dontskipnonpubliclibraryclasses -dontskipnonpubliclibraryclassmembers #noinspection ShrinkerUnresolvedReference #-overloadaggressively -dontwarn **HoneycombMR2 -dontwarn **CompatICS -dontwarn **Honeycomb -dontwarn **CompatIcs* -dontwarn **CompatFroyo -dontwarn **CompatGingerbread -dontwarn android.support.** -dontwarn com.alipay.sdk.** -dontwarn com.tencent.mm.opensdk.** -dontwarn android.telephony.** -dontwarn android.graphics.** -dontwarn android.view.** -dontwarn com.tencent.mtt.weapp.** -dontwarn **ConcurrentHashMap** -dontwarn **KeySetView # -keep public class * extends android.app.Activity { public ; public ; } -keep public class * extends android.app.Application { public ; public ; } -keep public class * extends android.app.Service -keep public class * extends android.content.BroadcastReceiver -keep public class * extends android.content.ContentProvider -keep public class * extends android.app.backup.BackupAgentHelper -keep public class * extends android.preference.Preference -keepclassmembers enum * { public static **[] values(); public static ** valueOf(java.lang.String); } -keepclasseswithmembers class * { public (android.content.Context, android.util.AttributeSet); } -keepclasseswithmembers class * { public (android.content.Context, android.util.AttributeSet, int); } -keepattributes *Annotation*,Signature,InnerClasses # -keepclasseswithmembers class * { native ; } -keep class * implements android.os.Parcelable { public static final android.os.Parcelable$Creator *; } # # # -keep class **JNI* {*;} -keep class com.tencent.mtt.hippy.*{*;} -keep class com.tencent.mtt.hippy.common.* {*;} -keep class com.tencent.mtt.hippy.annotation.* {*;} -keep class com.tencent.mtt.hippy.adapter.** {*;} -keep class com.tencent.mtt.hippy.modules.* {*;} -keep class * extends com.tencent.mtt.hippy.modules.nativemodules.HippyNativeModuleBase{ public *;} -keep class com.tencent.mtt.hippy.modules.nativemodules.* {*;} -keep class com.tencent.mtt.hippy.modules.javascriptmodules.* {*;} -keep class com.tencent.mtt.hippy.bridge.bundleloader.* {*;} #-keep class com.tencent.mtt.hippy.uimanager.* {*;} -keep class com.tencent.mtt.hippy.uimanager.DiffUtils {*;} -keep class com.tencent.mtt.hippy.uimanager.DiffUtils$* {*;} -keep class com.tencent.mtt.hippy.uimanager.HippyCustomViewCreator {*;} -keep class com.tencent.mtt.hippy.uimanager.HippyViewController {*;} -keep class com.tencent.mtt.hippy.uimanager.HippyViewBase {*;} -keep class com.tencent.mtt.hippy.uimanager.HippyGroupController {*;} -keep class com.tencent.mtt.hippy.uimanager.HippyViewEvent {*;} -keep class com.tencent.mtt.hippy.uimanager.RenderNode {*;} -keepclasseswithmembers class com.tencent.mtt.hippy.uimanager.RenderManager { public com.tencent.mtt.hippy.uimanager.RenderNode getRenderNode(int); public com.tencent.mtt.hippy.uimanager.ControllerManager getControllerManager(); public void addUpdateNodeIfNeeded(com.tencent.mtt.hippy.uimanager.RenderNode); } -keep class com.tencent.mtt.hippy.uimanager.NativeGestureDispatcher {*;} -keep class com.tencent.mtt.hippy.uimanager.ListItemRenderNode{ public boolean shouldSticky(); } -keepclasseswithmembers class com.tencent.mtt.hippy.uimanager.ControllerManager { public android.view.View findView(int); public void deleteChild(int ,int ); } -keepclasseswithmembers class com.tencent.mtt.hippy.dom.DomManager { public void updateNodeSize(int,int,int); public void forceUpdateNode(int); public void addActionInterceptor(com.tencent.mtt.hippy.dom.node.DomActionInterceptor); public void removeActionInterceptor(com.tencent.mtt.hippy.dom.node.DomActionInterceptor); } -keepclasseswithmembers class com.tencent.mtt.hippy.bridge.HippyBridgeImpl { *; } -keepclasseswithmembers class com.tencent.mtt.hippy.bridge.NativeCallback { *; } -keep public interface com.tencent.mtt.hippy.modules.nativemodules.deviceevent.DeviceEventModule$InvokeDefaultBackPress {*;} -keep class com.tencent.mtt.hippy.utils.* {*;} -keep class com.tencent.mtt.hippy.dom.node.NodeProps {*;} -keep class com.tencent.mtt.hippy.dom.node.TextExtra {*;} -keep class * extends com.tencent.mtt.hippy.dom.node.DomNode {*;} -keep class com.tencent.mtt.hippy.views.** {*;} -keep interface com.tencent.mtt.hippy.bridge.HippyBridge {*;} -keep class com.tencent.mtt.supportui.views.** {*;} -keep class com.tencent.mtt.hippy.utils.** {*;} -keep class com.tencent.mtt.hippy.dom.node.TypeFaceUtil {*;} -keep class com.tencent.mtt.hippy.adapter.image.HippyImageLoader {*;} -keep class com.tencent.mtt.hippy.dom.node.DomActionInterceptor {*;} -keepclasseswithmembers class com.tencent.mtt.supportui.** { public ; } -keepclasseswithmembers class com.tencent.mtt.supportui.** { protected ; } -keepclasseswithmembers class com.tencent.mtt.supportui.** { public ; } -keepclasseswithmembers class com.tencent.mtt.supportui.** { protected ; } -keepclasseswithmembers class androidx.recyclerview.widget.** { public ; } -keepclasseswithmembers class androidx.recyclerview.widget.** { protected ; } -keepclasseswithmembers class androidx.recyclerview.widget.** { public ; } -keepclasseswithmembers class androidx.recyclerview.widget.** { protected ; } # turbo -keep class com.tencent.mtt.hippy.annotation.HippyTurboObj -keep @com.tencent.mtt.hippy.annotation.HippyTurboObj class * {*;} -keep class com.tencent.mtt.hippy.annotation.HippyTurboProp -keepclasseswithmembers class * { @com.tencent.mtt.hippy.annotation.HippyTurboProp ; } -keep public class com.tencent.mtt.hippy.bridge.jsi.TurboModuleManager { public ; public ; }