Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

横屏游戏遇到的问题,Android 13上[BUG] #164

Open
frogontank opened this issue Mar 29, 2023 · 5 comments
Open

横屏游戏遇到的问题,Android 13上[BUG] #164

frogontank opened this issue Mar 29, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@frogontank
Copy link

在android 13上,装载了app到黑盒之后,启动相对app,如果app是横屏的,那么就报这个错,请问应该怎么解决呢?
java.lang.IllegalStateException: Method is not implemented
at android.os.IBinder.getExtension(IBinder.java:277)
at android.app.OplusActivityTaskManager$2.create(OplusActivityTaskManager.java:171)
at android.app.OplusActivityTaskManager$2.create(OplusActivityTaskManager.java:165)
at android.util.Singleton.get(Singleton.java:43)
at android.app.OplusActivityTaskManager.getService(OplusActivityTaskManager.java:158)
at android.app.OplusActivityTaskManager.isInSplitScreenMode(OplusActivityTaskManager.java:511)
at com.oplus.splitscreen.OplusSplitScreenManager.isInSplitScreenMode(OplusSplitScreenManager.java:312)
at android.app.OplusActivityThreadExtImpl.shouldInterceptConfigForSplit(OplusActivityThreadExtImpl.java:446)
at android.app.ActivityThread.performActivityConfigurationChanged(ActivityThread.java:6249)
at android.app.ActivityThread.performConfigurationChangedForActivity(ActivityThread.java:6190)
at android.app.ActivityThread.handleActivityConfigurationChanged(ActivityThread.java:6550)
at android.app.servertransaction.ActivityConfigurationChangeItem.execute(ActivityConfigurationChangeItem.java:53)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2466)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:240)
at android.os.Looper.loop(Looper.java:351)
at android.app.ActivityThread.main(ActivityThread.java:8381)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:584)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1013)

@frogontank frogontank added the bug Something isn't working label Mar 29, 2023
@panzhi1
Copy link

panzhi1 commented Mar 31, 2023

是oppo手机吧。系统服务没有兼容Extension导致的。

@frogontank
Copy link
Author

是oppo的手机。有什么解决方案吗?

@panzhi1
Copy link

panzhi1 commented Mar 31, 2023

尝试在BinderInvocationStub 中重写getExtension 调用mBaseBinder的getExtension方法

@frogontank
Copy link
Author

尝试在BinderInvocationStub 中重写getExtension 调用mBaseBinder的getExtension方法

好。多谢提醒,祝万事如意。

@111304037
Copy link

mBaseBinder

请问解决了吗,我在BinderInvocationStub加了getExtension MethodProxy还是不行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants