- Mar 15, 2012
- 30
- 16
Every time I try and apply lockscreen settings toggle switch to change the default lock method it force closes. Apologies if not the best at log cat:
app_vercode:15
device_model:crespo
build_version:2.3.23
condition:1
processName:com.android.settings
pid:2763
uid:1000
tag:null
shortMsg:java.lang.ClassCastException
longMsg:java.lang.ClassCastException: android.widget.RadioButton cannot be cast to android.widget.CheckBox
stackTrace:java.lang.ClassCastException: android.widget.RadioButton cannot be cast to android.widget.CheckBox
at miui.preference.RadioButtonPreference.onBindView(RadioButtonPreference.java:28)
at android.preference.Preference.getView(Preference.java:453)
at android.preference.PreferenceGroupAdapter.getView(PreferenceGroupAdapter.java:221)
at android.widget.AbsListView.obtainView(AbsListView.java:2033)
at android.widget.ListView.makeAndAddView(ListView.java:1772)
at android.widget.ListView.fillDown(ListView.java:672)
at android.widget.ListView.fillFromTop(ListView.java:732)
at android.widget.ListView.layoutChildren(ListView.java:1625)
at android.widget.AbsListView.onLayout(AbsListView.java:1863)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1629)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1487)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1400)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.FrameLayout.onLayout(FrameLayout.java:431)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1629)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1487)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1400)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1629)
at android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1618)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1402)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1629)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1487)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1400)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.FrameLayout.onLayout(FrameLayout.java:431)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1629)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1487)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1400)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.FrameLayout.onLayout(FrameLayout.java:431)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1494)
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2447)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4429)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)
app_vercode:15
device_model:crespo
build_version:2.3.23
condition:1
processName:com.android.settings
pid:2763
uid:1000
tag:null
shortMsg:java.lang.ClassCastException
longMsg:java.lang.ClassCastException: android.widget.RadioButton cannot be cast to android.widget.CheckBox
stackTrace:java.lang.ClassCastException: android.widget.RadioButton cannot be cast to android.widget.CheckBox
at miui.preference.RadioButtonPreference.onBindView(RadioButtonPreference.java:28)
at android.preference.Preference.getView(Preference.java:453)
at android.preference.PreferenceGroupAdapter.getView(PreferenceGroupAdapter.java:221)
at android.widget.AbsListView.obtainView(AbsListView.java:2033)
at android.widget.ListView.makeAndAddView(ListView.java:1772)
at android.widget.ListView.fillDown(ListView.java:672)
at android.widget.ListView.fillFromTop(ListView.java:732)
at android.widget.ListView.layoutChildren(ListView.java:1625)
at android.widget.AbsListView.onLayout(AbsListView.java:1863)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1629)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1487)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1400)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.FrameLayout.onLayout(FrameLayout.java:431)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1629)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1487)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1400)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1629)
at android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1618)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1402)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1629)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1487)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1400)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.FrameLayout.onLayout(FrameLayout.java:431)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1629)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1487)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1400)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.widget.FrameLayout.onLayout(FrameLayout.java:431)
at android.view.View.layout(View.java:11288)
at android.view.ViewGroup.layout(ViewGroup.java:4224)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1494)
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2447)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4429)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
at dalvik.system.NativeStart.main(Native Method)