Updates how the REQUEST_INSTALL_PACKAGES permission is handled

- Only request the permission the first time the editor tries to open an apk
- Disable the permission for the HorizonOS build as the HorizonOS store doesn't support it yet
This commit is contained in:
Fredia Huya-Kouadio
2024-12-23 23:04:50 -08:00
parent 0f95e9f8e6
commit 7ad9d23a1d
7 changed files with 53 additions and 58 deletions

View File

@@ -34,6 +34,9 @@
<!-- Scene api -->
<uses-permission android:name="com.oculus.permission.USE_SCENE" />
<!-- Temp removal of the 'REQUEST_INSTALL_PACKAGES' permission as it's currently forbidden by the Horizon OS store -->
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" tools:node="remove" />
<application>
<activity