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

Hook点在屏幕旋转后丢失导致状态栏歌词消失 #447

Open
Lyneon opened this issue Sep 15, 2024 · 2 comments
Open

Hook点在屏幕旋转后丢失导致状态栏歌词消失 #447

Lyneon opened this issue Sep 15, 2024 · 2 comments

Comments

@Lyneon
Copy link

Lyneon commented Sep 15, 2024

Describe the bug
在成功获取hook点且模块功能正常工作后,系统发生屏幕旋转时,状态栏歌词就会失效消失。此时重新旋转回原来的屏幕方向也不会重新生效,必须重新选择hook点。
更极端的情况是,就算在hook测试模式中,成功定位到一个hook点后旋转屏幕,再次选择该hook点也会失效,直到我重新启动系统界面

To Reproduce
Steps to reproduce the behavior:

  1. 正常获取hook点并使模块正常工作
  2. 旋转屏幕方向
  3. hook点失效,歌词消失

Expected behavior
在屏幕旋转后hook点仍然生效正常显示歌词。或者在旋转回之前的屏幕方向后能重新显示歌词

Smartphone (please complete the following information):

  • Device: Xiaomi Pad 6 Pro
  • OS: Paranoid Android(API 34)
  • Build Version: aospa_liuqin-userdebug 14 UKQ1.240610.001 eng.nobody.20240725.183323
  • Module Version: 6.1.3

Additional context
是不是可能因为屏幕旋转后系统界面的状态栏创建了新的实例?
如果对解决这个问题有帮助的话,我可以提供系统界面的apk

@YuKongA
Copy link
Member

YuKongA commented Sep 19, 2024

在横屏竖屏两种情况下,能实际生效的 hook 点是同一个么

@Lyneon
Copy link
Author

Lyneon commented Sep 19, 2024

在横屏竖屏两种情况下,能实际生效的 hook 点是同一个么

我不清楚。无论是横竖屏,在获取hook点页面中显示的两个hook点名称都是一样的,有效的那个也总是(重复:true,Index:2)的那个hook点。唯一的区别是,横屏时有效hook点是列表的第一项,竖屏时是第二项
42fc7559931e62ebd0e0b3208ab3628a
b07a83112aec22a714a3e1464e905bee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants