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

从宿主Activity打开插件Actvity后,当关闭插件Actvity后,无法正常返回上一个宿主Actvity,直接返回到了桌面 #1220

Closed
itxiaox opened this issue Aug 4, 2023 · 1 comment
Labels
因陈旧关闭 未解决但因长时间无人跟进而关闭

Comments

@itxiaox
Copy link

itxiaox commented Aug 4, 2023

  1. 从宿主界面MyActivity 打开插件Activty: PluginDefaultProxyActivity
    Line 65: #0 ActivityRecord{a06e7e2 u0 com.example.sdk.demo/com.tencent.shadow.sample.plugin.runtime.PluginDefaultProxyActivity t503} type=standard mode=fullscreen override-mode=undefined requested-bounds=[0,0][0,0] bounds=[0,0][1088,2400]
    Line 67: #0 ActivityRecord{65738f5 u0 com.example.sdk.demo/.MyActivity t503} type=standard mode=fullscreen override-mode=undefined requested-bounds=[0,0][0,0] bounds=[0,0][1088,2400]
    Line 71: #0 ActivityRecord{4a04a12 u0 com.huawei.android.launcher/.unihome.UniHomeLauncher t83} type=home mode=fullscreen override-mode=undefined requested-bounds=[0,0][0,0] bounds=[0,0][1088,2400]
  2. 关闭插件界面,直接返回了桌面,返回栈出现了问题
    Line 66: #0 ActivityRecord{4a04a12 u0 com.huawei.android.launcher/.unihome.UniHomeLauncher t83} type=home mode=fullscreen override-mode=undefined requested-bounds=[0,0][0,0] bounds=[0,0][1088,2400]
    Line 75: #0 ActivityRecord{65738f5 u0 com.example.sdk.demo/.MyActivity t503} type=standard mode=fullscreen override-mode=undefined requested-bounds=[0,0][0,0] bounds=[0,0][1088,2400]

根据返回栈返回栈来看,不知道为什么UniHomeLauncher 出现到栈顶了,正常预期应该是MyActvity出现栈顶

@GrapefruitBrother
Copy link

我也遇到了 但不是必现的。

@shifujun shifujun added the 因陈旧关闭 未解决但因长时间无人跟进而关闭 label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
因陈旧关闭 未解决但因长时间无人跟进而关闭
Projects
None yet
Development

No branches or pull requests

3 participants