mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-07 03:05:51 +08:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
62ec1d16ae
|
|||
7db010c9a1
|
|||
e6fa34d7fd
|
@@ -2,7 +2,7 @@
|
||||
|
||||
[](https://github.com/fankes/MIUINativeNotifyIcon)
|
||||
[](https://github.com/fankes/MIUINativeNotifyIcon/blob/master/LICENSE)
|
||||
[](https://github.com/fankes/MIUINativeNotifyIcon/releases)
|
||||
[](https://github.com/fankes/MIUINativeNotifyIcon/releases)
|
||||
[](https://github.com/fankes/MIUINativeNotifyIcon/releases)
|
||||
[](https://github.com/Xposed-Modules-Repo/com.fankes.miui.notify/releases)
|
||||
[](https://t.me/XiaofangInternet)
|
||||
|
@@ -72,8 +72,8 @@ android {
|
||||
|
||||
dependencies {
|
||||
compileOnly 'de.robv.android.xposed:api:82'
|
||||
implementation 'com.highcapable.yukihookapi:api:1.1.10'
|
||||
ksp 'com.highcapable.yukihookapi:ksp-xposed:1.1.10'
|
||||
implementation 'com.highcapable.yukihookapi:api:1.1.11'
|
||||
ksp 'com.highcapable.yukihookapi:ksp-xposed:1.1.11'
|
||||
implementation 'com.github.duanhong169:drawabletoolbox:1.0.7'
|
||||
implementation "com.github.topjohnwu.libsu:core:5.0.4"
|
||||
implementation 'androidx.annotation:annotation:1.6.0'
|
||||
|
@@ -45,7 +45,6 @@ object HookEntry : IYukiHookXposedInit {
|
||||
elements(PRIORITY)
|
||||
}
|
||||
isDebug = false
|
||||
isEnablePrefsBridgeCache = false
|
||||
}
|
||||
|
||||
override fun onHook() = encase {
|
||||
|
@@ -735,7 +735,6 @@ object SystemUIHooker : YukiBaseHooker() {
|
||||
/** 获取可读写状态 */
|
||||
return prefs.isPreferencesAvailable.also {
|
||||
isUsingCachingMethod = true
|
||||
prefs.clearCache()
|
||||
cachingIconDatas()
|
||||
if (isRefreshCacheOnly) return@also
|
||||
refreshStatusBarIcons()
|
||||
|
@@ -47,7 +47,7 @@ class IconPackParams(private val context: Context? = null, private val param: Pa
|
||||
* 已存储的 JSON 数据
|
||||
* @return [String]
|
||||
*/
|
||||
internal val storageDataJson get() = (context?.prefs() ?: param?.prefs)?.direct()?.get(ConfigData.NOTIFY_ICONS_DATA)
|
||||
internal val storageDataJson get() = (context?.prefs() ?: param?.prefs)?.get(ConfigData.NOTIFY_ICONS_DATA)
|
||||
|
||||
/**
|
||||
* 获取图标数据
|
||||
|
@@ -12,8 +12,8 @@ ext {
|
||||
targetSdk : 33
|
||||
]
|
||||
app = [
|
||||
versionName : '2.99',
|
||||
versionCode : 39,
|
||||
versionName : '2.100',
|
||||
versionCode : 40,
|
||||
signingConfigs: [
|
||||
secretConfigsDirPath : "${projectDir.getAbsolutePath()}/.secret",
|
||||
secretConfigsFileName: "key_store_secret.json"
|
||||
|
Reference in New Issue
Block a user