RikkaApps / App-Ops-issue-tracker

Issue tracker for https://play.google.com/store/apps/details?id=rikka.appops
314 stars 28 forks source link

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

Open UjuiUjuMandan opened 2 weeks ago

UjuiUjuMandan commented 2 weeks ago

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? / 然而你实际上得到的却是?

传感器数据获取正常。

录屏已发送至 i@haruue.moe 和 rikka@shizuku.moe 。

UjuiUjuMandan commented 2 weeks ago

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.