{"action":"created","issue":{"url":"https://api.github.com/repos/CodeingBoy/RemoveStatusBar/issues/1","labels_url":"https://api.github.com/repos/CodeingBoy/RemoveStatusBar/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/CodeingBoy/RemoveStatusBar/issues/1/comments","events_url":"https://api.github.com/repos/CodeingBoy/RemoveStatusBar/issues/1/events","html_url":"https://github.com/CodeingBoy/RemoveStatusBar/issues/1","id":68024558,"number":1,"title":"Error log on latest MIUI 6 (5.4.10 for now)","user":{"login":"exodius48","id":9832875,"avatar_url":"https://avatars.githubusercontent.com/u/9832875?v=3","gravatar_id":"","url":"https://api.github.com/users/exodius48","html_url":"https://github.com/exodius48","followers_url":"https://api.github.com/users/exodius48/followers","following_url":"https://api.github.com/users/exodius48/following{/other_user}","gists_url":"https://api.github.com/users/exodius48/gists{/gist_id}","starred_url":"https://api.github.com/users/exodius48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exodius48/subscriptions","organizations_url":"https://api.github.com/users/exodius48/orgs","repos_url":"https://api.github.com/users/exodius48/repos","events_url":"https://api.github.com/users/exodius48/events{/privacy}","received_events_url":"https://api.github.com/users/exodius48/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-13T07:08:11Z","updated_at":"2015-04-13T10:36:58Z","closed_at":null,"body":"I use WSM Tools v2.3.5 . I get this error log:\r\n\r\njava.lang.ClassCastException: android.widget.FrameLayout$LayoutParams cannot be cast to android.widget.LinearLayout$LayoutParams\r\n\tat me.CodeingBoy.RemoveSimpleStatusbar.Functions$1.handleLayoutInflated(Functions.java:24)\r\n\tat de.robv.android.xposed.callbacks.XC_LayoutInflated.call(XC_LayoutInflated.java:33)\r\n\tat de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)\r\n\tat android.content.res.XResources$3.afterHookedMethod(XResources.java:224)\r\n\tat de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:652)\r\n\tat android.view.LayoutInflater.parseInclude(Native Method)\r\n\tat android.view.LayoutInflater.rInflate(LayoutInflater.java:748)\r\n\tat android.view.LayoutInflater.rInflate(LayoutInflater.java:761)\r\n\tat android.view.LayoutInflater.parseInclude(LayoutInflater.java:842)\r\n\tat de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)\r\n\tat de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:638)\r\n\tat android.view.LayoutInflater.parseInclude(Native Method)\r\n\tat android.view.LayoutInflater.rInflate(LayoutInflater.java:748)\r\n\tat android.view.LayoutInflater.inflate(LayoutInflater.java:495)\r\n\tat de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)\r\n\tat de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:638)\r\n\tat android.view.LayoutInflater.inflate(Native Method)\r\n\tat android.view.LayoutInflater.inflate(LayoutInflater.java:400)\r\n\tat android.view.LayoutInflater.inflate(LayoutInflater.java:353)\r\n\tat android.view.View.inflate(View.java:17831)\r\n\tat com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:796)\r\n\tat com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3553)\r\n\tat com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3528)\r\n\tat com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:256)\r\n\tat com.android.systemui.statusbar.phone.PhoneStatusBar.bindViews(PhoneStatusBar.java:717)\r\n\tat de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)\r\n\tat de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:638)\r\n\tat com.android.systemui.statusbar.phone.PhoneStatusBar.bindViews(Native Method)\r\n\tat com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:664)\r\n\tat com.android.systemui.SystemUIService.onCreate(SystemUIService.java:53)\r\n\tat android.app.ActivityThread.handleCreateService(ActivityThread.java:2770)\r\n\tat android.app.ActivityThread.access$1800(ActivityThread.java:151)\r\n\tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1424)\r\n\tat android.os.Handler.dispatchMessage(Handler.java:110)\r\n\tat android.os.Looper.loop(Looper.java:193)\r\n\tat android.app.ActivityThread.main(ActivityThread.java:5333)\r\n\tat java.lang.reflect.Method.invokeNative(Native Method)\r\n\tat java.lang.reflect.Method.invoke(Method.java:515)\r\n\tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:848)\r\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:664)\r\n\tat de.robv.android.xposed.XposedBridge.main(XposedBridge.java:136)\r\n\tat dalvik.system.NativeStart.main(Native Method)\r\n\r\nAlso i get this error log if i activate MiSecondClock:\r\n\r\njava.lang.NoSuchMethodError: com.android.systemui.statusbar.policy.Clock#b()#exact\r\n\tat de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:196)\r\n\tat de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:146)\r\n\tat de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:153)\r\n\tat me.CodeingBoy.MiSeconds.Modifications.handleLoadPackage(Modifications.java:34)\r\n\tat de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)\r\n\tat de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)\r\n\tat de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)\r\n\tat de.robv.android.xposed.XposedBridge$3.afterHookedMethod(XposedBridge.java:256)\r\n\tat de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:652)\r\n\tat android.app.LoadedApk.<init>(Native Method)\r\n\tat android.app.ActivityThread.getPackageInfo(ActivityThread.java:1811)\r\n\tat android.app.ActivityThread.getPackageInfo(ActivityThread.java:1774)\r\n\tat android.app.ActivityThread.getPackageInfo(ActivityThread.java:1747)\r\n\tat android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:2006)\r\n\tat android.app.ContextImpl.createPackageContext(ContextImpl.java:1992)\r\n\tat android.content.ContextWrapper.createPackageContext(ContextWrapper.java:637)\r\n\tat android.app.ActivityThread.installProvider(ActivityThread.java:5022)\r\n\tat android.app.ActivityThread.installContentProviders(ActivityThread.java:4623)\r\n\tat android.app.ActivityThread.handleBindApplication(ActivityThread.java:4563)\r\n\tat de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)\r\n\tat de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:638)\r\n\tat android.app.ActivityThread.handleBindApplication(Native Method)\r\n\tat android.app.ActivityThread.access$1500(ActivityThread.java:151)\r\n\tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1402)\r\n\tat android.os.Handler.dispatchMessage(Handler.java:110)\r\n\tat android.os.Looper.loop(Looper.java:193)\r\n\tat android.app.ActivityThread.main(ActivityThread.java:5333)\r\n\tat java.lang.reflect.Method.invokeNative(Native Method)\r\n\tat java.lang.reflect.Method.invoke(Method.java:515)\r\n\tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:848)\r\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:664)\r\n\tat de.robv.android.xposed.XposedBridge.main(XposedBridge.java:136)\r\n\tat dalvik.system.NativeStart.main(Native Method)\r\n\r\n\r\nWill you fix them?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CodeingBoy/RemoveStatusBar/issues/comments/92303568","html_url":"https://github.com/CodeingBoy/RemoveStatusBar/issues/1#issuecomment-92303568","issue_url":"https://api.github.com/repos/CodeingBoy/RemoveStatusBar/issues/1","id":92303568,"user":{"login":"CodeingBoy","id":5211253,"avatar_url":"https://avatars.githubusercontent.com/u/5211253?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeingBoy","html_url":"https://github.com/CodeingBoy","followers_url":"https://api.github.com/users/CodeingBoy/followers","following_url":"https://api.github.com/users/CodeingBoy/following{/other_user}","gists_url":"https://api.github.com/users/CodeingBoy/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeingBoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeingBoy/subscriptions","organizations_url":"https://api.github.com/users/CodeingBoy/orgs","repos_url":"https://api.github.com/users/CodeingBoy/repos","events_url":"https://api.github.com/users/CodeingBoy/events{/privacy}","received_events_url":"https://api.github.com/users/CodeingBoy/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T10:36:58Z","updated_at":"2015-04-13T10:36:58Z","body":"Got it. I will look into it.\n\nOn 2015年4月13日周一 15:08 Exodius Exorcist <notifications@github.com> wrote:\n\n> I use WSM Tools v2.3.5 . I get this error log:\n>\n> java.lang.ClassCastException: android.widget.FrameLayout$LayoutParams\n> cannot be cast to android.widget.LinearLayout$LayoutParams\n> at\n> me.CodeingBoy.RemoveSimpleStatusbar.Functions$1.handleLayoutInflated(Functions.java:24)\n> at\n> de.robv.android.xposed.callbacks.XC_LayoutInflated.call(XC_LayoutInflated.java:33)\n> at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)\n> at android.content.res.XResources$3.afterHookedMethod(XResources.java:224)\n> at\n> de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:652)\n> at android.view.LayoutInflater.parseInclude(Native Method)\n> at android.view.LayoutInflater.rInflate(LayoutInflater.java:748)\n> at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)\n> at android.view.LayoutInflater.parseInclude(LayoutInflater.java:842)\n> at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native\n> Method)\n> at\n> de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:638)\n> at android.view.LayoutInflater.parseInclude(Native Method)\n> at android.view.LayoutInflater.rInflate(LayoutInflater.java:748)\n> at android.view.LayoutInflater.inflate(LayoutInflater.java:495)\n> at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native\n> Method)\n> at\n> de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:638)\n> at android.view.LayoutInflater.inflate(Native Method)\n> at android.view.LayoutInflater.inflate(LayoutInflater.java:400)\n> at android.view.LayoutInflater.inflate(LayoutInflater.java:353)\n> at android.view.View.inflate(View.java:17831)\n> at\n> com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:796)\n> at\n> com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3553)\n> at\n> com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3528)\n> at\n> com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:256)\n> at\n> com.android.systemui.statusbar.phone.PhoneStatusBar.bindViews(PhoneStatusBar.java:717)\n> at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native\n> Method)\n> at\n> de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:638)\n> at com.android.systemui.statusbar.phone.PhoneStatusBar.bindViews(Native\n> Method)\n> at\n> com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:664)\n> at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:53)\n> at android.app.ActivityThread.handleCreateService(ActivityThread.java:2770)\n> at android.app.ActivityThread.access$1800(ActivityThread.java:151)\n> at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1424)\n> at android.os.Handler.dispatchMessage(Handler.java:110)\n> at android.os.Looper.loop(Looper.java:193)\n> at android.app.ActivityThread.main(ActivityThread.java:5333)\n> at java.lang.reflect.Method.invokeNative(Native Method)\n> at java.lang.reflect.Method.invoke(Method.java:515)\n> at\n> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:848)\n> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:664)\n> at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:136)\n> at dalvik.system.NativeStart.main(Native Method)\n>\n> Also i get this error log if i activate MiSecondClock:\n>\n> java.lang.NoSuchMethodError:\n> com.android.systemui.statusbar.policy.Clock#b()#exact\n> at\n> de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:196)\n> at\n> de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:146)\n> at\n> de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:153)\n> at\n> me.CodeingBoy.MiSeconds.Modifications.handleLoadPackage(Modifications.java:34)\n> at\n> de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)\n> at\n> de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:34)\n> at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)\n> at\n> de.robv.android.xposed.XposedBridge$3.afterHookedMethod(XposedBridge.java:256)\n> at\n> de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:652)\n> at android.app.LoadedApk.(Native Method)\n> at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1811)\n> at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1774)\n> at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1747)\n> at\n> android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:2006)\n> at android.app.ContextImpl.createPackageContext(ContextImpl.java:1992)\n> at\n> android.content.ContextWrapper.createPackageContext(ContextWrapper.java:637)\n> at android.app.ActivityThread.installProvider(ActivityThread.java:5022)\n> at\n> android.app.ActivityThread.installContentProviders(ActivityThread.java:4623)\n> at\n> android.app.ActivityThread.handleBindApplication(ActivityThread.java:4563)\n> at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native\n> Method)\n> at\n> de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:638)\n> at android.app.ActivityThread.handleBindApplication(Native Method)\n> at android.app.ActivityThread.access$1500(ActivityThread.java:151)\n> at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1402)\n> at android.os.Handler.dispatchMessage(Handler.java:110)\n> at android.os.Looper.loop(Looper.java:193)\n> at android.app.ActivityThread.main(ActivityThread.java:5333)\n> at java.lang.reflect.Method.invokeNative(Native Method)\n> at java.lang.reflect.Method.invoke(Method.java:515)\n> at\n> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:848)\n> at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:664)\n> at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:136)\n> at dalvik.system.NativeStart.main(Native Method)\n>\n> Will you fix them?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/CodeingBoy/RemoveStatusBar/issues/1>.\n>\n"}}