IllegalArgumentException异常

06-29 11:05:54.475332  5524  5524 E AndroidRuntime: FATAL EXCEPTION: main
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: Process: com.android.dialer, PID: 5524
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: java.lang.IllegalArgumentException: invalid call type: 0
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.mediatek.dialer.calllogex.CallTypeIconsViewEx.getCallTypeDrawable(CallTypeIconsViewEx.java:219)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.mediatek.dialer.calllogex.CallTypeIconsViewEx.set(CallTypeIconsViewEx.java:178)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.mediatek.dialer.calllog.CallLogListItemView.setCallType(CallLogListItemView.java:1279)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.mediatek.dialer.PhoneCallDetailsHelperEx.setPhoneCallDetails(PhoneCallDetailsHelperEx.java:109)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.mediatek.dialer.calllogex.CallLogAdapterEx.bindView(CallLogAdapterEx.java:1047)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.mediatek.dialer.calllog.CallLogListAdapter.bindView(CallLogListAdapter.java:41)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.mediatek.dialer.calllogex.CallLogAdapterEx.bindGroupView(CallLogAdapterEx.java:635)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.android.common.widget.GroupingListAdapter.getView(GroupingListAdapter.java:477)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.AbsListView.obtainView(AbsListView.java:2372)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.ListView.makeAndAddView(ListView.java:1813)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.ListView.fillDown(ListView.java:698)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.ListView.fillFromTop(ListView.java:759)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.ListView.layoutChildren(ListView.java:1632)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.AbsListView.onLayout(AbsListView.java:2166)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:515)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:450)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1888)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1742)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.LinearLayout.onLayout(LinearLayout.java:1651)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:515)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:450)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1888)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1742)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.LinearLayout.onLayout(LinearLayout.java:1651)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:515)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:450)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:515)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:450)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at com.android.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:374)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:515)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.widget.FrameLayout.onLayout(FrameLayout.java:450)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.View.layout(View.java:15150)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewGroup.layout(ViewGroup.java:4878)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2483)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2189)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1257)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6424)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:788)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.Choreographer.doCallbacks(Choreographer.java:591)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.Choreographer.doFrame(Choreographer.java:560)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.os.Handler.handleCallback(Handler.java:808)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.os.Handler.dispatchMessage(Handler.java:103)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.os.Looper.loop(Looper.java:193)
06-29 11:05:54.475332  5524  5524 E AndroidRuntime: 	at android.app.ActivityThrea

IllegalArgumentException: invalid call type: 0 calltype参数不合法,Switch(calltype) case中无0的选项,所有抛出参数非法异常

你可能感兴趣的:(IllegalArgumentException异常)