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

传感器权限对工作资料内的应用无效 #177

Open
UjuiUjuMandan opened this issue Sep 4, 2024 · 1 comment
Open

传感器权限对工作资料内的应用无效 #177

UjuiUjuMandan opened this issue Sep 4, 2024 · 1 comment

Comments

@UjuiUjuMandan
Copy link

UjuiUjuMandan commented Sep 4, 2024

System info: / 系统信息:

Android Version: 14 (API 34)
Device: Google Pixel 7a
App Version: 9.0.7.r1708.57e6ad70.G (1708)
Installer: com.android.vending
Working Mode: Shizuku V3 (13)
Working Profile: yes (current: 0)
Google token: unlock@@@kiibkmlnedfgnddnpokbbggc.AO-J1Ozd8_RT-PYR2nh6xWcOCVXlAaiUFWDP8qyiIpDGhfG4AoCKd4HT-LjSb0BD7Bj---w15Pfm05wSkAxWejuidN4OeXSVJw

What did you do? / 你做了什么?

  1. 打开工作资料,我使用 CalyxOS 自带的,也可以使用 Island 。
  2. 安装传感器检测应用到工作资料 (Work Profile): https://github.com/JunkieLabs/sensify-android
  3. 在 App Ops 中将工作资料中的 Sensify 的传感器权限设置为忽略。
  4. 打开 Sensify 。

What did you expect to see? / 你期望看到什么?

无法获取传感器数据。

What did you see instead? / 然而你实际上得到的却是?

传感器数据获取正常。

录屏已发送至 [email protected][email protected]

@UjuiUjuMandan
Copy link
Author

UjuiUjuMandan commented Sep 4, 2024

Android allows unrestricted access to motion sensors. There's no permission to control it.

mirfatif/PermissionManagerX#40 (comment)

This is weird because the control of the sensor works in Owner user.

Probably you use non-standard ways other than Android's App Ops and it obviously lacks support for Work Profile.

@UjuiUjuMandan UjuiUjuMandan changed the title 对工作资料内的应用无效 传感器权限对工作资料内的应用无效 Sep 4, 2024
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

1 participant