mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-05 18:25:23 +08:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
4703d339b7
|
|||
76b1cc2f0b
|
@@ -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)
|
||||
|
@@ -752,9 +752,9 @@ object SystemUIHooker : YukiBaseHooker() {
|
||||
/** 强制回写系统的状态栏图标样式为原生 */
|
||||
injectMember {
|
||||
method {
|
||||
name = "shouldSubstituteSmallIcon"
|
||||
param(ExpandedNotificationClass)
|
||||
}
|
||||
name { it == "shouldSubstituteSmallIcon" || it == "shouldSubstituteSmallIconForStatusBarNotification" }
|
||||
param { it[0] extends StatusBarNotificationClass }
|
||||
}.all()
|
||||
replaceToFalse()
|
||||
}
|
||||
/** 强制回写系统的状态栏图标样式为原生 */
|
||||
@@ -762,7 +762,7 @@ object SystemUIHooker : YukiBaseHooker() {
|
||||
var isUseLegacy = false
|
||||
method {
|
||||
name = "getSmallIcon"
|
||||
param(ExpandedNotificationClass, IntType)
|
||||
param { it[0] extends StatusBarNotificationClass && it[1] == IntType }
|
||||
}.remedys {
|
||||
method {
|
||||
name = "getSmallIcon"
|
||||
|
@@ -12,8 +12,8 @@ ext {
|
||||
targetSdk : 33
|
||||
]
|
||||
app = [
|
||||
versionName : '2.100',
|
||||
versionCode : 40,
|
||||
versionName : '2.101',
|
||||
versionCode : 41,
|
||||
signingConfigs: [
|
||||
secretConfigsDirPath : "${projectDir.getAbsolutePath()}/.secret",
|
||||
secretConfigsFileName: "key_store_secret.json"
|
||||
|
Reference in New Issue
Block a user