blob: c3a00f81c50f6a54cb4db50df14448e7856c089e [file] [log] [blame]
Adnan Begovic37fc76f2015-05-05 17:37:05 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/**
Bruno Martins9265e402022-01-14 19:00:42 +00004 * Copyright (C) 2015 The CyanogenMod Project
5 * 2017-2022 The LineageOS Project
Adnan Begovic37fc76f2015-05-05 17:37:05 -07006 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19-->
Bruno Martins9265e402022-01-14 19:00:42 +000020<manifest
21 xmlns:android="http://schemas.android.com/apk/res/android"
Matt Garnesa4581222015-09-03 12:16:30 -070022 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
Sam Mortimer542742b2017-09-18 19:44:11 -070023 package="lineageos.platform"
Adnan Begovic37fc76f2015-05-05 17:37:05 -070024 coreApp="true" android:sharedUserId="android.uid.system"
Dominik Baronelli3037dfa2022-10-13 09:10:00 +020025 android:sharedUserLabel="@string/shiftos_system_label">
Adnan Begovic37fc76f2015-05-05 17:37:05 -070026
Sam Mortimer542742b2017-09-18 19:44:11 -070027 <protected-broadcast android:name="lineageos.intent.action.SCREEN_CAMERA_GESTURE" />
28 <protected-broadcast android:name="lineageos.intent.action.INITIALIZE_LINEAGE_HARDWARE" />
dianlujitao63a59062019-08-08 16:32:50 +080029 <protected-broadcast android:name="lineageos.intent.action.INITIALIZE_LIVEDISPLAY" />
Sam Mortimer542742b2017-09-18 19:44:11 -070030 <protected-broadcast android:name="lineageos.platform.intent.action.PROFILE_SELECTED" />
Roman Birg6ad52632016-02-16 19:03:29 -080031
Sam Mortimer542742b2017-09-18 19:44:11 -070032 <protected-broadcast android:name="lineageos.intent.action.UPDATE_PREFERENCE" />
33 <protected-broadcast android:name="lineageos.intent.action.REFRESH_PREFERENCE" />
Steve Kondikc27e31f2016-10-10 01:35:59 -070034
Sam Mortimer542742b2017-09-18 19:44:11 -070035 <protected-broadcast android:name="lineageos.platform.intent.action.PROFILE_UPDATED" />
36 <protected-broadcast android:name="lineageos.platform.intent.action.INTENT_ACTION_PROFILE_TRIGGER_STATE_CHANGED" />
Gabriele M117d2422017-04-15 14:07:18 +020037
Sam Mortimer542742b2017-09-18 19:44:11 -070038 <protected-broadcast android:name="lineageos.platform.intent.action.UPDATE_TWILIGHT_STATE" />
Matthias Yzusquib5e2ea32017-05-25 16:31:14 +020039
Sam Mortimer542742b2017-09-18 19:44:11 -070040 <!-- Allows an application access to the Lineage hardware abstraction framework
Adnan Begovicbc2ea6b2015-09-01 18:00:39 -070041 <p>Not for use by third-party applications. -->
Sam Mortimer542742b2017-09-18 19:44:11 -070042 <permission android:name="lineageos.permission.HARDWARE_ABSTRACTION_ACCESS"
Steve Kondik5ee87cb2015-08-16 22:33:30 -070043 android:label="@string/permlab_useHardwareFramework"
44 android:description="@string/permdesc_useHardwareFramework"
Danesh Mb56f3462015-11-04 14:26:55 -080045 android:protectionLevel="signature|privileged" />
Steve Kondik5ee87cb2015-08-16 22:33:30 -070046
Sam Mortimer542742b2017-09-18 19:44:11 -070047 <!-- Allows an application to write to Lineage system settings -->
48 <permission android:name="lineageos.permission.WRITE_SETTINGS"
Yvonne Wong0eb29992015-08-20 16:02:08 -070049 android:label="@string/permlab_writeSettings"
50 android:description="@string/permdesc_writeSettings"
51 android:protectionLevel="normal" />
52
Adnan Begovic05239112015-09-01 15:09:46 -070053 <!-- Allows an application to modify system profiles -->
Sam Mortimer542742b2017-09-18 19:44:11 -070054 <permission android:name="lineageos.permission.MODIFY_PROFILES"
Adnan Begovic05239112015-09-01 15:09:46 -070055 android:label="@string/permlab_modifyProfiles"
56 android:description="@string/permdesc_modifyProfiles"
57 android:protectionLevel="normal" />
58
Sam Mortimer542742b2017-09-18 19:44:11 -070059 <!-- Allows an application to write to secure Lineage system settings.
Yvonne Wong0eb29992015-08-20 16:02:08 -070060 <p>Not for use by third-party applications. -->
Sam Mortimer542742b2017-09-18 19:44:11 -070061 <permission android:name="lineageos.permission.WRITE_SECURE_SETTINGS"
Yvonne Wong0eb29992015-08-20 16:02:08 -070062 android:label="@string/permlab_writeSecureSettings"
63 android:description="@string/permdesc_writeSecureSettings"
Danesh Mb56f3462015-11-04 14:26:55 -080064 android:protectionLevel="signature|privileged|development" />
Yvonne Wong0eb29992015-08-20 16:02:08 -070065
Steve Kondik1dab5a02016-03-31 11:23:36 -070066 <!-- Allows an application to manage LiveDisplay -->
Sam Mortimer542742b2017-09-18 19:44:11 -070067 <permission android:name="lineageos.permission.MANAGE_LIVEDISPLAY"
Steve Kondik1dab5a02016-03-31 11:23:36 -070068 android:label="@string/permlab_manageLiveDisplay"
69 android:description="@string/permdesc_manageLiveDisplay"
Sam Mortimer542742b2017-09-18 19:44:11 -070070 android:icon="@drawable/ic_launcher_lineageos"
Steve Kondik1dab5a02016-03-31 11:23:36 -070071 android:protectionLevel="normal" />
72
Joeyc0b21ca2018-04-03 15:42:18 +020073 <!-- Allows an application to access the Trust interface -->
74 <permission android:name="lineageos.permission.TRUST_INTERFACE"
75 android:label="@string/permlab_trustInterface"
76 android:description="@string/permdesc_trustInterface"
77 android:icon="@drawable/ic_trust"
78 android:protectionLevel="signature|privileged" />
79
Adnan Begovic37fc76f2015-05-05 17:37:05 -070080 <application android:process="system"
81 android:persistent="true"
82 android:hasCode="false"
Dominik Baronelli3037dfa2022-10-13 09:10:00 +020083 android:label="@string/shiftos_system_label"
Asher Simondse727e722022-04-03 15:21:35 +020084 android:icon="@mipmap/ic_launcher"
Adnan Begovic37fc76f2015-05-05 17:37:05 -070085 android:allowClearUserData="false"
86 android:killAfterRestore="false"
87 android:supportsRtl="true"/>
88
Steve Kondik38054192016-10-14 21:24:54 -070089 <!-- Permission for managing remote preferences -->
Sam Mortimer542742b2017-09-18 19:44:11 -070090 <permission android:name="lineageos.permission.MANAGE_REMOTE_PREFERENCES"
Steve Kondik38054192016-10-14 21:24:54 -070091 android:label="@string/permlab_manageRemotePrefs"
92 android:description="@string/permdesc_manageRemotePrefs"
Steve Kondikc27e31f2016-10-10 01:35:59 -070093 android:protectionLevel="signature|privileged" />
94
Adnan Begovic37fc76f2015-05-05 17:37:05 -070095</manifest>