<?xml version="1.0" encoding="utf-8"?>
<permissions>
     <!-- OPLUS camera unit sdk adapter -->
     <library name = "com.oplus.camera.unit.sdk.adapter"
        file = "/system_ext/framework/com.oplus.camera.unit.sdk.adapter.jar" />

     <!-- OPLUS camera unit sdk -->
     <library name = "com.oplus.camera.unit.sdk"
        file = "/system_ext/framework/com.oplus.camera.unit.sdk.jar" />

     <!-- OPLUS appplatform -->
     <privapp-permissions package="com.oplus.appplatform">
        <permission name="android.permission.BLUETOOTH_PRIVILEGED"/>
        <permission name="android.permission.CALL_PRIVILEGED"/>
        <permission name="android.permission.DELETE_PACKAGES"/>
        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
        <permission name="android.permission.MANAGE_FINGERPRINT"/>
        <permission name="android.permission.MANAGE_USB"/>
        <permission name="android.permission.MANAGE_USERS"/>
        <permission name="android.permission.MODIFY_DAY_NIGHT_MODE"/>
        <permission name="android.permission.MODIFY_PHONE_STATE"/>
        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
        <permission name="android.permission.READ_WALLPAPER_INTERNAL"/>
        <permission name="android.permission.REAL_GET_TASKS"/>
        <permission name="android.permission.READ_WIFI_CREDENTIAL"/>
        <permission name="android.permission.UPDATE_APP_OPS_STATS"/>
        <permission name="android.permission.WRITE_APN_SETTINGS"/>
        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
    </privapp-permissions>

    <!-- OPLUS camera -->
    <privapp-permissions package="com.oplus.camera">
        <permission name="android.permission.INTERACT_ACROSS_USERS"/>
        <permission name="android.permission.READ_LOGS"/>
        <permission name="android.permission.SYSTEM_CAMERA"/>
        <permission name="android.permission.TURN_SCREEN_ON"/>
        <permission name="android.permission.UPDATE_DEVICE_STATS"/>
        <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
     </privapp-permissions>

    <!-- OPLUS gallery -->
    <privapp-permissions package="com.oneplus.gallery">
        <permission name="android.permission.SCHEDULE_EXACT_ALARM"/>
        <permission name="android.permission.WRITE_MEDIA_STORAGE"/>
        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
    </privapp-permissions>

    <!-- OPLUS exsystemservice -->
    <privapp-permissions package="com.oplus.exsystemservice">
        <permission name="android.permission.INTERACT_ACROSS_USERS" />
        <permission name="android.permission.CONNECTIVITY_INTERNAL" />
        <permission name="android.permission.WRITE_SECURE_SETTINGS"/>
        <permission name="android.permission.READ_PRIVILEGED_PHONE_STATE"/>
        <permission name="android.permission.REBOOT"/>
        <permission name="android.permission.MODIFY_PHONE_STATE"/>
        <permission name="android.permission.MANAGE_USERS"/>
        <permission name="android.permission.INSTALL_PACKAGES"/>
    </privapp-permissions>
</permissions>
