Files
lineage-sdk/lineage/res/AndroidManifest.xml
Michael Bestas 5a577dc607 sdk: Make it REUSE compatible
Change-Id: Iba2bcaf5e677eafebc48c6aca3d3625f821d6e27
2024-11-07 13:28:42 +00:00

85 lines
4.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2015 The CyanogenMod Project
SPDX-FileCopyrightText: 2017-2023 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
package="lineageos.platform"
coreApp="true" android:sharedUserId="android.uid.system"
android:sharedUserLabel="@string/lineageos_system_label">
<protected-broadcast android:name="lineageos.intent.action.SCREEN_CAMERA_GESTURE" />
<protected-broadcast android:name="lineageos.intent.action.INITIALIZE_LINEAGE_HARDWARE" />
<protected-broadcast android:name="lineageos.intent.action.INITIALIZE_LIVEDISPLAY" />
<protected-broadcast android:name="lineageos.platform.intent.action.PROFILE_SELECTED" />
<protected-broadcast android:name="lineageos.intent.action.UPDATE_PREFERENCE" />
<protected-broadcast android:name="lineageos.intent.action.REFRESH_PREFERENCE" />
<protected-broadcast android:name="lineageos.platform.intent.action.PROFILE_UPDATED" />
<protected-broadcast android:name="lineageos.platform.intent.action.INTENT_ACTION_PROFILE_TRIGGER_STATE_CHANGED" />
<protected-broadcast android:name="lineageos.platform.intent.action.UPDATE_TWILIGHT_STATE" />
<protected-broadcast android:name="lineageos.platform.intent.action.CHARGING_CONTROL_CANCEL_ONCE" />
<!-- Allows an application access to the Lineage hardware abstraction framework
<p>Not for use by third-party applications. -->
<permission android:name="lineageos.permission.HARDWARE_ABSTRACTION_ACCESS"
android:label="@string/permlab_useHardwareFramework"
android:description="@string/permdesc_useHardwareFramework"
android:protectionLevel="signature|privileged" />
<!-- Allows an application to write to Lineage system settings -->
<permission android:name="lineageos.permission.WRITE_SETTINGS"
android:label="@string/permlab_writeSettings"
android:description="@string/permdesc_writeSettings"
android:protectionLevel="normal" />
<!-- Allows an application to modify system profiles -->
<permission android:name="lineageos.permission.MODIFY_PROFILES"
android:label="@string/permlab_modifyProfiles"
android:description="@string/permdesc_modifyProfiles"
android:protectionLevel="normal" />
<!-- Allows an application to write to secure Lineage system settings.
<p>Not for use by third-party applications. -->
<permission android:name="lineageos.permission.WRITE_SECURE_SETTINGS"
android:label="@string/permlab_writeSecureSettings"
android:description="@string/permdesc_writeSecureSettings"
android:protectionLevel="signature|privileged|development" />
<!-- Allows an application to manage LiveDisplay -->
<permission android:name="lineageos.permission.MANAGE_LIVEDISPLAY"
android:label="@string/permlab_manageLiveDisplay"
android:description="@string/permdesc_manageLiveDisplay"
android:icon="@drawable/ic_launcher_lineageos"
android:protectionLevel="normal" />
<!-- Allows an application to access the Trust interface -->
<permission android:name="lineageos.permission.TRUST_INTERFACE"
android:label="@string/permlab_trustInterface"
android:description="@string/permdesc_trustInterface"
android:icon="@drawable/ic_trust"
android:protectionLevel="signature|privileged" />
<application android:process="system"
android:persistent="true"
android:hasCode="false"
android:label="@string/lineageos_system_label"
android:icon="@mipmap/ic_launcher"
android:allowClearUserData="false"
android:killAfterRestore="false"
android:supportsRtl="true"/>
<!-- Permission for managing remote preferences -->
<permission android:name="lineageos.permission.MANAGE_REMOTE_PREFERENCES"
android:label="@string/permlab_manageRemotePrefs"
android:description="@string/permdesc_manageRemotePrefs"
android:protectionLevel="signature|privileged" />
</manifest>