mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-06 18:55:25 +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)
|
||||||
[](https://github.com/fankes/MIUINativeNotifyIcon/blob/master/LICENSE)
|
[](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/fankes/MIUINativeNotifyIcon/releases)
|
||||||
[](https://github.com/Xposed-Modules-Repo/com.fankes.miui.notify/releases)
|
[](https://github.com/Xposed-Modules-Repo/com.fankes.miui.notify/releases)
|
||||||
[](https://t.me/XiaofangInternet)
|
[](https://t.me/XiaofangInternet)
|
||||||
|
@@ -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'
|
||||||
|
@@ -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 {
|
||||||
|
@@ -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()
|
||||||
|
@@ -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)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 获取图标数据
|
* 获取图标数据
|
||||||
|
@@ -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"
|
||||||
|
Reference in New Issue
Block a user