今天在工作中遇到一个java.lang.ArrayIndexOutOfBoundsException的CRASH问题,具体log如下:
java.lang.ArrayIndexOutOfBoundsException: length=3@ index=-2147483648
at cn.controlcenter.tiles.DataSimState.updateValue(DataSimState.java:67)
at cn.controlcenter.tiles.DataSimState.nextState(DataSimState.java:82)
at cn.controlcenter.tiles.DataTile$DataDetailAdapter.onDetailItemClick(DataTile.java:254)
at com.android.systemui.qs.QSDetailItems$Adapter.lambda$getView$0$QSDetailItems$Adapter(QSDetailItems.java:295)
at com.android.systemui.qs.-$$Lambda$QSDetailItems$Adapter$DbEp9PMYD0HQjUIDXlSFqm1psUc.onClick(Unknown Source:4)
at android.view.View.performClick(View.java:7288)
at android.view.View.performClickInternal(View.java:7265)
at android.view.View.access$3600(View.java:804)
at android.view.View$PerformClick.run(View.java:28079)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loo