Skip to content

温度电流显示导致系统界面崩溃 #660

Description

@Tpihis

**Describe the bug (描述) **
打开电池信息的温度电流显示导致系统界面崩溃反复闪屏

Screenshots(截图)
这个是其他模块看的日志
Image
详情

[05-22 21:47:01] C/Other [Xposed]:
[CrashMonitor]: Crash detected: com.android.systemui, log: java.lang.IndexOutOfBoundsException: index=8 count=7
	at android.view.ViewGroup.addInArray(ViewGroup.java:5472)
	at android.view.ViewGroup.addViewInner(ViewGroup.java:5355)
	at android.view.ViewGroup.addView(ViewGroup.java:5162)
	at com.android.systemui.statusbar.phone.ui.IconManager.addHolder(go/retraceme 585c9b06c4050a5368ccd79d0ec755012355d7a4872f30b158339b37ff939e6f:359)
	at com.android.systemui.statusbar.phone.MiuiLightDarkIconManager.onIconAdded(go/retraceme 585c9b06c4050a5368ccd79d0ec755012355d7a4872f30b158339b37ff939e6f:1)
	at com.android.systemui.statusbar.phone.ui.StatusBarIconControllerImpl.addIconGroup(go/retraceme 585c9b06c4050a5368ccd79d0ec755012355d7a4872f30b158339b37ff939e6f:105)
	at com.android.systemui.statusbar.phone.KeyguardStatusBarViewController.onViewAttached(go/retraceme 585c9b06c4050a5368ccd79d0ec755012355d7a4872f30b158339b37ff939e6f:172)
	at com.android.systemui.util.ViewController$1.onViewAttachedToWindow(go/retraceme 585c9b06c4050a5368ccd79d0ec755012355d7a4872f30b158339b37ff939e6f:3)
	at android.view.View.dispatchAttachedToWindow(View.java:23755)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3545)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3552)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3552)
	at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:3552)
	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:4627)
	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:4036)
	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:12396)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:2022)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:2031)
	at android.view.Choreographer.doCallbacks(Choreographer.java:1515)
	at android.view.Choreographer.doFrame(Choreographer.java:1396)
	at android.view.Choreographer$FrameHandler.handleMessage(Choreographer.java:1843)
	at android.os.Handler.dispatchMessage(Handler.java:110)
	at android.os.Looper.loopOnce(Looper.java:265)
	at android.os.Looper.loop(Looper.java:358)
	at android.app.ActivityThread.main(ActivityThread.java:10080)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:616)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1115)

Context information(环境信息):
小米17pro-版本3.0.306,
米客26.05.04-test
lsp2.0.2(7668)api101

logs (日志)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions