3 Commits
2.99 ... 2.100

Author SHA1 Message Date
62ec1d16ae Update version to 2.100 2023-04-25 06:40:55 +08:00
7db010c9a1 Modify merge to YukiHookAPI new usage 2023-04-25 06:26:05 +08:00
e6fa34d7fd Update YukiHookAPI 2023-04-25 06:25:55 +08:00
6 changed files with 6 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
[![Blank](https://img.shields.io/badge/build-passing-brightgreen)](https://github.com/fankes/MIUINativeNotifyIcon) [![Blank](https://img.shields.io/badge/build-passing-brightgreen)](https://github.com/fankes/MIUINativeNotifyIcon)
[![Blank](https://img.shields.io/badge/license-AGPL3.0-blue)](https://github.com/fankes/MIUINativeNotifyIcon/blob/master/LICENSE) [![Blank](https://img.shields.io/badge/license-AGPL3.0-blue)](https://github.com/fankes/MIUINativeNotifyIcon/blob/master/LICENSE)
[![Blank](https://img.shields.io/badge/version-v2.99-green)](https://github.com/fankes/MIUINativeNotifyIcon/releases) [![Blank](https://img.shields.io/badge/version-v2.100-green)](https://github.com/fankes/MIUINativeNotifyIcon/releases)
[![Blank](https://img.shields.io/github/downloads/fankes/MIUINativeNotifyIcon/total?label=Release)](https://github.com/fankes/MIUINativeNotifyIcon/releases) [![Blank](https://img.shields.io/github/downloads/fankes/MIUINativeNotifyIcon/total?label=Release)](https://github.com/fankes/MIUINativeNotifyIcon/releases)
[![Blank](https://img.shields.io/github/downloads/Xposed-Modules-Repo/com.fankes.miui.notify/total?label=LSPosed%20Repo&logo=Android&style=flat&labelColor=F48FB1&logoColor=ffffff)](https://github.com/Xposed-Modules-Repo/com.fankes.miui.notify/releases) [![Blank](https://img.shields.io/github/downloads/Xposed-Modules-Repo/com.fankes.miui.notify/total?label=LSPosed%20Repo&logo=Android&style=flat&labelColor=F48FB1&logoColor=ffffff)](https://github.com/Xposed-Modules-Repo/com.fankes.miui.notify/releases)
[![Telegram](https://img.shields.io/badge/Follow-Telegram-blue.svg?logo=telegram)](https://t.me/XiaofangInternet) [![Telegram](https://img.shields.io/badge/Follow-Telegram-blue.svg?logo=telegram)](https://t.me/XiaofangInternet)

View File

@@ -72,8 +72,8 @@ android {
dependencies { dependencies {
compileOnly 'de.robv.android.xposed:api:82' compileOnly 'de.robv.android.xposed:api:82'
implementation 'com.highcapable.yukihookapi:api:1.1.10' implementation 'com.highcapable.yukihookapi:api:1.1.11'
ksp 'com.highcapable.yukihookapi:ksp-xposed:1.1.10' ksp 'com.highcapable.yukihookapi:ksp-xposed:1.1.11'
implementation 'com.github.duanhong169:drawabletoolbox:1.0.7' implementation 'com.github.duanhong169:drawabletoolbox:1.0.7'
implementation "com.github.topjohnwu.libsu:core:5.0.4" implementation "com.github.topjohnwu.libsu:core:5.0.4"
implementation 'androidx.annotation:annotation:1.6.0' implementation 'androidx.annotation:annotation:1.6.0'

View File

@@ -45,7 +45,6 @@ object HookEntry : IYukiHookXposedInit {
elements(PRIORITY) elements(PRIORITY)
} }
isDebug = false isDebug = false
isEnablePrefsBridgeCache = false
} }
override fun onHook() = encase { override fun onHook() = encase {

View File

@@ -735,7 +735,6 @@ object SystemUIHooker : YukiBaseHooker() {
/** 获取可读写状态 */ /** 获取可读写状态 */
return prefs.isPreferencesAvailable.also { return prefs.isPreferencesAvailable.also {
isUsingCachingMethod = true isUsingCachingMethod = true
prefs.clearCache()
cachingIconDatas() cachingIconDatas()
if (isRefreshCacheOnly) return@also if (isRefreshCacheOnly) return@also
refreshStatusBarIcons() refreshStatusBarIcons()

View File

@@ -47,7 +47,7 @@ class IconPackParams(private val context: Context? = null, private val param: Pa
* 已存储的 JSON 数据 * 已存储的 JSON 数据
* @return [String] * @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)
/** /**
* 获取图标数据 * 获取图标数据

View File

@@ -12,8 +12,8 @@ ext {
targetSdk : 33 targetSdk : 33
] ]
app = [ app = [
versionName : '2.99', versionName : '2.100',
versionCode : 39, versionCode : 40,
signingConfigs: [ signingConfigs: [
secretConfigsDirPath : "${projectDir.getAbsolutePath()}/.secret", secretConfigsDirPath : "${projectDir.getAbsolutePath()}/.secret",
secretConfigsFileName: "key_store_secret.json" secretConfigsFileName: "key_store_secret.json"