mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-04 17:55:34 +08:00
加了点没用的东西
This commit is contained in:
@@ -312,6 +312,14 @@ class HookMain : IXposedHookLoadPackage {
|
||||
"<unknown>"
|
||||
}
|
||||
|
||||
/**
|
||||
* 判断通知是否来自 MIPUSH
|
||||
* @return [Boolean]
|
||||
*/
|
||||
@Suppress("unused")
|
||||
private val StatusBarNotification.isXmsf
|
||||
get() = opPkgName == "com.xiaomi.xmsf"
|
||||
|
||||
/**
|
||||
* 获取全局上下文
|
||||
* @return [Context] or null
|
||||
|
Reference in New Issue
Block a user