传感器权限对工作资料内的应用无效
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? / 你做了什么?
- 打开工作资料,我使用 CalyxOS 自带的,也可以使用 Island 。
- 安装传感器检测应用到工作资料 (Work Profile): https://github.com/JunkieLabs/sensify-android 。
- 在 App Ops 中将工作资料中的 Sensify 的传感器权限设置为忽略。
- 打开 Sensify 。
What did you expect to see? / 你期望看到什么?
无法获取传感器数据。
What did you see instead? / 然而你实际上得到的却是?
传感器数据获取正常。
录屏已发送至 [email protected] 和 [email protected] 。
Android allows unrestricted access to motion sensors. There's no permission to control it.
https://github.com/mirfatif/PermissionManagerX/issues/40#issuecomment-1812442849
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.