全志Launcher代码首次提交

This commit is contained in:
2025-11-05 21:08:38 +08:00
commit 578f5739bf
299 changed files with 26334 additions and 0 deletions

74
app/proguard-rules.pro vendored Normal file
View File

@@ -0,0 +1,74 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# 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
-keep class com.seraphic.ad.** { *; }
-keep interface com.seraphic.ad.** { *; }
-keepclassmembers class com.seraphic.ad.** { *; }
# ========== R 类保留 ==========
#-keep class **.R
#-keep class **.R$* {
# <fields>;
#}
#
## ========== 基本组件保留 ==========
#-keep public class * extends android.app.Activity
#-keep public class * extends android.app.Application
#-keep public class * extends android.app.Service
#-keep public class * extends android.content.BroadcastReceiver
#-keep public class * extends android.content.ContentProvider
#
## ========== GreenDAO 配置 ==========
## 保留 GreenDAO 核心库
#-keep class org.greenrobot.greendao.** { *; }
#-dontwarn org.greenrobot.greendao.**
#
## 保留子程序中的实体类(请根据实际情况修改包名)
#-keep class com.android.nebulasdk.bean.** { *; }
#-keep class com.android.api.response.**{*;}
#
## ========== 其他第三方库 ==========
## Glide
#-keep public class * implements com.bumptech.glide.module.GlideModule
#
## EventBus
#-keepattributes *Annotation*
#-keepclassmembers class * {
# @org.greenrobot.eventbus.Subscribe <methods>;
#}
#
## Retrofit
#-keepattributes Signature, InnerClasses, EnclosingMethod
#-keepattributes RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations
#-keepclassmembers,allowshrinking,allowobfuscation interface * {
# @retrofit2.http.* <methods>;
#}
#
## Media3
#-keep class androidx.media3.** { *; }
#-dontwarn androidx.media3.**
#
## Google Ads
#-keep class com.google.android.gms.ads.** { *; }
#-dontwarn com.google.android.gms.ads.**
#
#-dontwarn org.conscrypt.Conscrypt
#-dontwarn org.conscrypt.OpenSSLProvider