blob: f17560c9d0daa4b9d1a21347a82fc9b938c150bf [file] [log] [blame]
Yvonne Wong0eb29992015-08-20 16:02:08 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2015 The CyanogenMod Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Sam Mortimer542742b2017-09-18 19:44:11 -070017 package="org.lineageos.lineagesettings"
Yvonne Wong0eb29992015-08-20 16:02:08 -070018 coreApp="true"
19 android:sharedUserId="android.uid.system">
20 <!-- It is necessary to be a system app in order to update table versions in SystemProperties for
Sam Mortimer542742b2017-09-18 19:44:11 -070021 LineageSettings to know whether or not the client side cache is up to date. It is also necessary
Yvonne Wong0eb29992015-08-20 16:02:08 -070022 to run in the system process in order to start the content provider prior to running migration
Sam Mortimer542742b2017-09-18 19:44:11 -070023 for LineageSettings on user starting -->
Yvonne Wong0eb29992015-08-20 16:02:08 -070024
Sam Mortimere7008a22017-09-14 17:03:06 -070025 <original-package android:name="org.cyanogenmod.cmsettings" />
26
Yvonne Wong0eb29992015-08-20 16:02:08 -070027 <uses-permission android:name="android.permission.MANAGE_USERS" />
28
Asher Simondsc97a9ad2018-02-14 00:11:15 +020029 <application android:icon="@mipmap/ic_launcher"
Yvonne Wong0eb29992015-08-20 16:02:08 -070030 android:label="@string/app_name"
31 android:process="system"
32 android:killAfterRestore="false"
33 android:allowClearUserData="false"
Steve Kondikd64ea162016-08-31 22:25:13 -070034 android:enabled="true"
35 android:defaultToDeviceProtectedStorage="true"
36 android:directBootAware="true">
Yvonne Wong0eb29992015-08-20 16:02:08 -070037
Sam Mortimer542742b2017-09-18 19:44:11 -070038 <provider android:name="LineageSettingsProvider"
39 android:authorities="lineagesettings"
Yvonne Wong0eb29992015-08-20 16:02:08 -070040 android:multiprocess="false"
41 android:exported="true"
Sam Mortimer542742b2017-09-18 19:44:11 -070042 android:writePermission="lineageos.permission.WRITE_SETTINGS"
Yvonne Wong0eb29992015-08-20 16:02:08 -070043 android:singleUser="true"
44 android:initOrder="100" />
45
Luca Stefani57694642021-10-06 23:38:06 +020046 <receiver android:name="PreBootReceiver" android:enabled="true" android:exported="true">
Yvonne Wong05d01292015-08-27 12:19:54 -070047 <!-- This broadcast is sent after the core system has finished
48 booting, before the home app is launched or BOOT_COMPLETED
49 is sent. -->
50 <intent-filter>
51 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
52 </intent-filter>
53 </receiver>
54
Yvonne Wong0eb29992015-08-20 16:02:08 -070055 </application>
56</manifest>