Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[问题与 BUG 反馈] 安装新应用后系统界面无限重启 #185

Closed
1 task done
xzx482 opened this issue Aug 27, 2023 · 13 comments
Closed
1 task done

[问题与 BUG 反馈] 安装新应用后系统界面无限重启 #185

xzx482 opened this issue Aug 27, 2023 · 13 comments
Labels
bug Something isn't working fixed The bug was fixed

Comments

@xzx482
Copy link

xzx482 commented Aug 27, 2023

模块版本

2.101

MIUI 版本

14.0.1

MIUI 版本类型

稳定版

Android 版本

13

Xposed 框架名称与版本号

LSPosed 1.8.6(6712)

与系统界面(系统 UI)同作用域的 Xposed 模块

关闭其他所有模块后仍可复现,可能与其他模块无关.若有必要,之前启用了"米客" "墨-状态栏歌词" "隐藏应用列表" "Cemiuiler" "Lyrics Getter" "Miui Extra" "MIUI遮罩进化"

详细描述问题发生的具体原因

1.正常使用该模块
2.保持模块中"提醒未适配通知图标的新安装应用"为打开状态(关闭就正常了)
3.安装任意一款应用(可能需要是未适配图标的),我安装的是 ApplistDetector.V2.4
4.新应用安装完成后,系统界面无限重启
5.重启手机后,系统界面恢复正常

提供模块问题 Log 或必要 Log

系统重启后,LSPosed和模块的日志都被清空了,无法直接导出,这些日志来自"/data/adb/lspd/log.old/modules_2023-08-27T08:20:36.658517.log"

展开查看

----part 1 start----
[ 2023-08-27T08:20:43.608 1000: 2489: 2489 I/LSPosed-Bridge ] Loading module com.fankes.miui.notify from /data/app/~~mv2oyXL0mYCUfOcsvUbcCw==/com.fankes.miui.notify-1lBmBFYPBfU-bA5M2eoNrw==/base.apk
[ 2023-08-27T08:20:43.629 1000: 2489: 2489 I/LSPosed-Bridge ] Loading class com.fankes.miui.notify.hook.HookEntry_YukiHookXposedInit
[ 2023-08-27T08:21:29.854 10328: 10370: 10370 I/LSPosed-Bridge ] Loading module com.fankes.miui.notify from /data/app/~~mv2oyXL0mYCUfOcsvUbcCw==/com.fankes.miui.notify-1lBmBFYPBfU-bA5M2eoNrw==/base.apk
[ 2023-08-27T08:21:29.864 10328: 10370: 10370 I/LSPosed-Bridge ] Loading class com.fankes.miui.notify.hook.HookEntry_YukiHookXposedInit
[ 2023-08-27T08:22:43.839 1000: 2489: 2921 I/LSPosed-Bridge ] [D]--> (Processing Status Bar Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:43.945 1000: 2489: 2489 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:43.958 1000: 2489: 2489 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:43.968 1000: 2489: 2489 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:43.976 1000: 2489: 2489 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:43.985 1000: 2489: 2489 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:44.006 1000: 2489: 2489 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:44.008 1000: 2489: 2489 I/LSPosed-Bridge ] Crash unexpectedly: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
at com.android.systemui.statusbar.notification.analytics.NotificationStat.isUnimportantEntry(NotificationStat.java:1609)
at com.android.systemui.statusbar.notification.analytics.NotificationStat.onArrive(NotificationStat.java:198)
at com.android.systemui.statusbar.notification.analytics.NotificationStat$3.onEntryInflated(NotificationStat.java:166)
at com.android.systemui.statusbar.notification.NotificationEntryManager$1.onAsyncInflationFinished(NotificationEntryManager.java:383)
at com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl.lambda$inflateContentViews$1(NotificationRowBinderImpl.java:269)
at com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl.$r8$lambda$3YfXzEDIz5E0Rsk0rsTOoFmjyKg(Unknown Source:0)
at com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl$$ExternalSyntheticLambda1.onBindFinished(Unknown Source:8)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline.onPipelineComplete(NotifBindPipeline.java:205)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline.lambda$startPipeline$1(NotifBindPipeline.java:189)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline.$r8$lambda$QRo7GExQEDf4mZLfcJ0VhAf4hBg(Unknown Source:0)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline$$ExternalSyntheticLambda0.onStageFinished(Unknown Source:2)
at com.android.systemui.statusbar.notification.row.RowContentBindStage$1.onAsyncInflationFinished(RowContentBindStage.java:88)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater$AsyncInflationTask.onAsyncInflationFinished(NotificationContentInflater.java:946)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater.finishIfDone(NotificationContentInflater.java:718)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater.-$$Nest$smfinishIfDone(Unknown Source:0)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater$5.onViewApplied(NotificationContentInflater.java:568)
at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5835)
at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5743)
at android.os.AsyncTask.finish(AsyncTask.java:771)
at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8315)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)
[ 2023-08-27T08:22:44.469 1000: 11740: 11740 I/LSPosed-Bridge ] Loading module com.fankes.miui.notify from /data/app/~~mv2oyXL0mYCUfOcsvUbcCw==/com.fankes.miui.notify-1lBmBFYPBfU-bA5M2eoNrw==/base.apk
[ 2023-08-27T08:22:44.482 1000: 11740: 11740 I/LSPosed-Bridge ] Loading class com.fankes.miui.notify.hook.HookEntry_YukiHookXposedInit
[ 2023-08-27T08:22:46.278 1000: 11740: 11740 I/LSPosed-Bridge ] [D]--> (Processing Status Bar Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:46.451 1000: 11740: 11740 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:46.466 1000: 11740: 11740 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:46.477 1000: 11740: 11740 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:46.489 1000: 11740: 11740 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:46.507 1000: 11740: 11740 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:46.519 1000: 11740: 11740 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:46.522 1000: 11740: 11740 I/LSPosed-Bridge ] Crash unexpectedly: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
at com.android.systemui.statusbar.notification.analytics.NotificationStat.isUnimportantEntry(NotificationStat.java:1609)
at com.android.systemui.statusbar.notification.analytics.NotificationStat.onArrive(NotificationStat.java:198)
at com.android.systemui.statusbar.notification.analytics.NotificationStat$3.onEntryInflated(NotificationStat.java:166)
at com.android.systemui.statusbar.notification.NotificationEntryManager$1.onAsyncInflationFinished(NotificationEntryManager.java:383)
at com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl.lambda$inflateContentViews$1(NotificationRowBinderImpl.java:269)
at com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl.$r8$lambda$3YfXzEDIz5E0Rsk0rsTOoFmjyKg(Unknown Source:0)
at com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl$$ExternalSyntheticLambda1.onBindFinished(Unknown Source:8)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline.onPipelineComplete(NotifBindPipeline.java:205)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline.lambda$startPipeline$1(NotifBindPipeline.java:189)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline.$r8$lambda$QRo7GExQEDf4mZLfcJ0VhAf4hBg(Unknown Source:0)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline$$ExternalSyntheticLambda0.onStageFinished(Unknown Source:2)
at com.android.systemui.statusbar.notification.row.RowContentBindStage$1.onAsyncInflationFinished(RowContentBindStage.java:88)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater$AsyncInflationTask.onAsyncInflationFinished(NotificationContentInflater.java:946)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater.finishIfDone(NotificationContentInflater.java:718)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater.-$$Nest$smfinishIfDone(Unknown Source:0)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater$5.onViewApplied(NotificationContentInflater.java:568)
at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5835)
at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5743)
at android.os.AsyncTask.finish(AsyncTask.java:771)
at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8315)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)
[ 2023-08-27T08:22:47.105 1000: 12318: 12318 I/LSPosed-Bridge ] Loading module com.fankes.miui.notify from /data/app/~~mv2oyXL0mYCUfOcsvUbcCw==/com.fankes.miui.notify-1lBmBFYPBfU-bA5M2eoNrw==/base.apk
[ 2023-08-27T08:22:47.116 1000: 12318: 12318 I/LSPosed-Bridge ] Loading class com.fankes.miui.notify.hook.HookEntry_YukiHookXposedInit
[ 2023-08-27T08:22:49.453 1000: 12318: 12318 I/LSPosed-Bridge ] [D]--> (Processing Status Bar Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:49.598 1000: 12318: 12318 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:49.615 1000: 12318: 12318 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:49.627 1000: 12318: 12318 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:49.639 1000: 12318: 12318 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:49.651 1000: 12318: 12318 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:49.664 1000: 12318: 12318 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:49.667 1000: 12318: 12318 I/LSPosed-Bridge ] Crash unexpectedly: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
at com.android.systemui.statusbar.notification.analytics.NotificationStat.isUnimportantEntry(NotificationStat.java:1609)
at com.android.systemui.statusbar.notification.analytics.NotificationStat.onArrive(NotificationStat.java:198)
at com.android.systemui.statusbar.notification.analytics.NotificationStat$3.onEntryInflated(NotificationStat.java:166)
at com.android.systemui.statusbar.notification.NotificationEntryManager$1.onAsyncInflationFinished(NotificationEntryManager.java:383)
at com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl.lambda$inflateContentViews$1(NotificationRowBinderImpl.java:269)
at com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl.$r8$lambda$3YfXzEDIz5E0Rsk0rsTOoFmjyKg(Unknown Source:0)
at com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl$$ExternalSyntheticLambda1.onBindFinished(Unknown Source:8)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline.onPipelineComplete(NotifBindPipeline.java:205)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline.lambda$startPipeline$1(NotifBindPipeline.java:189)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline.$r8$lambda$QRo7GExQEDf4mZLfcJ0VhAf4hBg(Unknown Source:0)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline$$ExternalSyntheticLambda0.onStageFinished(Unknown Source:2)
at com.android.systemui.statusbar.notification.row.RowContentBindStage$1.onAsyncInflationFinished(RowContentBindStage.java:88)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater$AsyncInflationTask.onAsyncInflationFinished(NotificationContentInflater.java:946)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater.finishIfDone(NotificationContentInflater.java:718)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater.-$$Nest$smfinishIfDone(Unknown Source:0)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater$5.onViewApplied(NotificationContentInflater.java:568)
at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5835)
at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5743)
at android.os.AsyncTask.finish(AsyncTask.java:771)
at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8315)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)
[ 2023-08-27T08:22:50.256 1000: 12506: 12506 I/LSPosed-Bridge ] Loading module com.fankes.miui.notify from /data/app/~~mv2oyXL0mYCUfOcsvUbcCw==/com.fankes.miui.notify-1lBmBFYPBfU-bA5M2eoNrw==/base.apk
[ 2023-08-27T08:22:50.267 1000: 12506: 12506 I/LSPosed-Bridge ] Loading class com.fankes.miui.notify.hook.HookEntry_YukiHookXposedInit
[ 2023-08-27T08:22:52.804 1000: 12506: 12506 I/LSPosed-Bridge ] [D]--> (Processing Status Bar Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:52.956 1000: 12506: 12506 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:52.966 1000: 12506: 12506 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:52.975 1000: 12506: 12506 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:52.982 1000: 12506: 12506 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:52.991 1000: 12506: 12506 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:53.000 1000: 12506: 12506 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:53.002 1000: 12506: 12506 I/LSPosed-Bridge ] Crash unexpectedly: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
at com.android.systemui.statusbar.notification.analytics.NotificationStat.isUnimportantEntry(NotificationStat.java:1609)
at com.android.systemui.statusbar.notification.analytics.NotificationStat.onArrive(NotificationStat.java:198)
at com.android.systemui.statusbar.notification.analytics.NotificationStat$3.onEntryInflated(NotificationStat.java:166)
at com.android.systemui.statusbar.notification.NotificationEntryManager$1.onAsyncInflationFinished(NotificationEntryManager.java:383)
at com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl.lambda$inflateContentViews$1(NotificationRowBinderImpl.java:269)
at com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl.$r8$lambda$3YfXzEDIz5E0Rsk0rsTOoFmjyKg(Unknown Source:0)
at com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl$$ExternalSyntheticLambda1.onBindFinished(Unknown Source:8)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline.onPipelineComplete(NotifBindPipeline.java:205)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline.lambda$startPipeline$1(NotifBindPipeline.java:189)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline.$r8$lambda$QRo7GExQEDf4mZLfcJ0VhAf4hBg(Unknown Source:0)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline$$ExternalSyntheticLambda0.onStageFinished(Unknown Source:2)
at com.android.systemui.statusbar.notification.row.RowContentBindStage$1.onAsyncInflationFinished(RowContentBindStage.java:88)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater$AsyncInflationTask.onAsyncInflationFinished(NotificationContentInflater.java:946)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater.finishIfDone(NotificationContentInflater.java:718)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater.-$$Nest$smfinishIfDone(Unknown Source:0)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater$5.onViewApplied(NotificationContentInflater.java:568)
at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5835)
at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5743)
at android.os.AsyncTask.finish(AsyncTask.java:771)
at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8315)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)
[ 2023-08-27T08:22:53.661 1000: 12690: 12690 I/LSPosed-Bridge ] Loading module com.fankes.miui.notify from /data/app/~~mv2oyXL0mYCUfOcsvUbcCw==/com.fankes.miui.notify-1lBmBFYPBfU-bA5M2eoNrw==/base.apk
[ 2023-08-27T08:22:53.672 1000: 12690: 12690 I/LSPosed-Bridge ] Loading class com.fankes.miui.notify.hook.HookEntry_YukiHookXposedInit
[ 2023-08-27T08:22:55.473 1000: 12690: 12690 I/LSPosed-Bridge ] [D]--> (Processing Status Bar Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:55.588 1000: 12690: 12690 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:55.601 1000: 12690: 12690 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:55.611 1000: 12690: 12690 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:55.619 1000: 12690: 12690 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:55.628 1000: 12690: 12690 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:55.635 1000: 12690: 12690 I/LSPosed-Bridge ] [D]--> (Processing Notification Panel Icon) ↓
[Title]: 您已安装 Applist Detector
[Content]: 尚未适配此应用,点按打开在线规则。
[App Name]: 系统界面
[Package Name]: com.android.systemui
[Sender Package Name]: com.android.systemui
[Custom Icon]: false
[Grayscale Icon]: true
[From Xmsf]: false
[String]: Notification(channel=notifyRuleSupportId shortcut=null contentView=null vibrate=null sound=null defaults=0x0 flags=0x10 color=0xff2993f0 vis=PRIVATE)
[ 2023-08-27T08:22:55.640 1000: 12690: 12690 I/LSPosed-Bridge ] Crash unexpectedly: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
at com.android.systemui.statusbar.notification.analytics.NotificationStat.isUnimportantEntry(NotificationStat.java:1609)
at com.android.systemui.statusbar.notification.analytics.NotificationStat.onArrive(NotificationStat.java:198)
at com.android.systemui.statusbar.notification.analytics.NotificationStat$3.onEntryInflated(NotificationStat.java:166)
at com.android.systemui.statusbar.notification.NotificationEntryManager$1.onAsyncInflationFinished(NotificationEntryManager.java:383)
at com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl.lambda$inflateContentViews$1(NotificationRowBinderImpl.java:269)
at com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl.$r8$lambda$3YfXzEDIz5E0Rsk0rsTOoFmjyKg(Unknown Source:0)
at com.android.systemui.statusbar.notification.collection.inflation.NotificationRowBinderImpl$$ExternalSyntheticLambda1.onBindFinished(Unknown Source:8)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline.onPipelineComplete(NotifBindPipeline.java:205)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline.lambda$startPipeline$1(NotifBindPipeline.java:189)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline.$r8$lambda$QRo7GExQEDf4mZLfcJ0VhAf4hBg(Unknown Source:0)
at com.android.systemui.statusbar.notification.row.NotifBindPipeline$$ExternalSyntheticLambda0.onStageFinished(Unknown Source:2)
at com.android.systemui.statusbar.notification.row.RowContentBindStage$1.onAsyncInflationFinished(RowContentBindStage.java:88)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater$AsyncInflationTask.onAsyncInflationFinished(NotificationContentInflater.java:946)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater.finishIfDone(NotificationContentInflater.java:718)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater.-$$Nest$smfinishIfDone(Unknown Source:0)
at com.android.systemui.statusbar.notification.row.NotificationContentInflater$5.onViewApplied(NotificationContentInflater.java:568)
at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5835)
at android.widget.RemoteViews$AsyncApplyTask.onPostExecute(RemoteViews.java:5743)
at android.os.AsyncTask.finish(AsyncTask.java:771)
at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0)
at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8315)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1028)
[ 2023-08-27T08:22:56.625 1000: 12888: 12888 I/LSPosed-Bridge ] Loading module com.fankes.miui.notify from /data/app/~~mv2oyXL0mYCUfOcsvUbcCw==/com.fankes.miui.notify-1lBmBFYPBfU-bA5M2eoNrw==/base.apk
[ 2023-08-27T08:22:56.633 1000: 12888: 12888 I/LSPosed-Bridge ] Loading class com.fankes.miui.notify.hook.HookEntry_YukiHookXposedInit

Logd maybe crashed (err=No such file or directory), retrying in 1s...

Logd maybe crashed (err=No such file or directory), retrying in 1s...

Logd maybe crashed (err=No such file or directory), retrying in 1s...

确认一下你提交的信息

  • 我确保上述信息准确无误
@xzx482 xzx482 added the bug Something isn't working label Aug 27, 2023
@fankes
Copy link
Owner

fankes commented Aug 27, 2023

是官改包吗?
看起来这和系统界面有关,未适配的应用只是会使用系统界面发送一条通知,崩溃来源也是系统界面处理通知时发生的,没有看到与模块自身操作相关的堆栈,暂不确定是否为 MIUI 魔改的代码出了问题导致的。
你可以提供一下你系统的 MiuiSystemUI.apk 吗,我可以看看到底是什么问题,但是如果这真的是 MIUI 自己改出来的问题,也可能无法修复或无义务修复。

@xzx482
Copy link
Author

xzx482 commented Aug 27, 2023

是官方的系统,不是官改
MiuiSystemUI.zip

似乎有ZygoteInit的问题,我使用的是"Zygisk on KernelSU",不知道是否有影响.
换成应用本身而不是系统界面发出通知会不会更好些?
(我没有开发过安卓应用,不太懂这些)

@fankes
Copy link
Owner

fankes commented Aug 27, 2023

是官方的系统,不是官改
MiuiSystemUI.zip

似乎有ZygoteInit的问题,我使用的是"Zygisk on KernelSU",不知道是否有影响.
换成应用本身而不是系统界面发出通知会不会更好些?
(我没有开发过安卓应用,不太懂这些)

zygisk on ksu 目前还是有问题的,日常后台大量应用崩溃,如果你没装有我的模块的话,你可以去 LSPosed 里面搜索 AppErrorsTracking
换成模块发送通知就要拉活模块以发送通知,目前通知图标适配这个功能就是这样做的,但是效果不好,由于安卓版本更新权限收紧,目前只能采取启动透明 Activity (活动对象) 的方式拉活模块,会卡半秒界面,体验很差,我后面甚至打算把所有功能都塞到系统界面里。

@fankes
Copy link
Owner

fankes commented Aug 27, 2023

通知本身就是一个 remote (远程操作),拉活模块发送通知也是换了一个发送对象而已,没什么意义,所以目前看来系统界面可能缺了什么东西导致发送通知的过程炸了,但是暂不知道是什么原因,得等我慢慢看了,倒是可以对出问题的方法强制 hook 拦截,但是可能会引发其它问题,再说。

@fankes
Copy link
Owner

fankes commented Aug 27, 2023

看完了,炸掉的那个类应该是 MIUI 自己写的,里面全是硬编码的中文字符,对比了一下之前的版本,应该是 MIUI 14 新增的,难绷,应该就是 MIUI 自己把判断代码写炸了,看样子可以帮它修一下😅

@fankes
Copy link
Owner

fankes commented Aug 27, 2023

问题代码如下,问题就是它对系统界面包名硬编码了,不知道是判断的什么,但是它没想到有应用会用系统界面发送通知,然后拿到了空的对象,直接空指针炸了。

public final boolean isUnimportantEntry(NotificationEntry notificationEntry) {
    return notificationEntry.getSbn().getPackageName().equals("com.android.systemui") && notificationEntry.getSbn().getTag().equals("UNIMPORTANT");
}

看起来 MIUI 程序猿认为,notificationEntry.getSbn().getTag() 一定不是空的,模块发送的通知没有携带这个 TAG,所以导致它直接空指针异常了。

@fankes
Copy link
Owner

fankes commented Aug 27, 2023

这是 21 世纪程序猿能写出来的代码吗?这代码看的我是真的害怕,MIUI 这次可能真要完了。

public final String formCancelReasonStr(int i) {
    return i == 3 ? "一键清除" : i == 12 ? "组通知删除" : i == 7 ? "点击不允许通知按钮" : i == 2 ? "单条删除" : "其他";
}

public final String getBoolString(int i) {
    return i == 1 ? "true" : i == 0 ? "false" : "error";
}

public final String getBoolString(boolean z) {
    return z ? "true" : "false";
}

public final String getFloatStrategyString(int i) {
    return i == 0 ? "1分钟" : i == 1 ? "直到锁屏" : i == 2 ? "不屏蔽" : "error";
}

public final int getImportantNotificationsCount() {
    return 0;
}

public final String getKeyguardString(int i) {
    return i == 1 ? "显示通知内容" : i == -1 ? "显示通知隐藏内容" : i == 0 ? "关闭所有锁屏通知" : "error";
}

public final String getString(boolean z) {
    return z ? "是" : "否";
}

@xzx482
Copy link
Author

xzx482 commented Aug 27, 2023

bugMI名不虚传,难怪bug多
它连本地化都不做的吗

@fankes
Copy link
Owner

fankes commented Aug 27, 2023

它这代码写的看的我都沉默了,这就是他们的 MIUI 14,快醒醒吧

@fankes
Copy link
Owner

fankes commented Aug 27, 2023

尝试修了一下,你试试

@xzx482
Copy link
Author

xzx482 commented Aug 27, 2023

尝试修了一下,你试试

现在可以了,能弹通知了.不过刚装完这个软件系统界面还会崩一次

issue要关吗,我第一次发issue,不太懂

@fankes
Copy link
Owner

fankes commented Aug 27, 2023

尝试修了一下,你试试

现在可以了,能弹通知了.不过刚装完这个软件系统界面还会崩一次

issue要关吗,我第一次发issue,不太懂

现在是正常了是吧

@xzx482
Copy link
Author

xzx482 commented Aug 27, 2023

都正常了,只是刚装上时系统界面黑屏重启了一下,差点以为又无限重启了.好像是因为更新后会发通知提示打开模块激活新版本,然后还是用系统界面发的通知,就又会崩一次.不过崩完一次之后就是修复过的了,就正常了

@fankes fankes closed this as completed Aug 27, 2023
@fankes fankes added the fixed The bug was fixed label Aug 27, 2023
@fankes fankes pinned this issue Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed The bug was fixed
Projects
None yet
Development

No branches or pull requests

2 participants