Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 1 | <?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 Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 17 | package="org.lineageos.lineagesettings" |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 18 | 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 Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 21 | LineageSettings to know whether or not the client side cache is up to date. It is also necessary |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 22 | to run in the system process in order to start the content provider prior to running migration |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 23 | for LineageSettings on user starting --> |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 24 | |
Sam Mortimer | e7008a2 | 2017-09-14 17:03:06 -0700 | [diff] [blame] | 25 | <original-package android:name="org.cyanogenmod.cmsettings" /> |
| 26 | |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.MANAGE_USERS" /> |
| 28 | |
Asher Simonds | c97a9ad | 2018-02-14 00:11:15 +0200 | [diff] [blame] | 29 | <application android:icon="@mipmap/ic_launcher" |
Dominik Baronelli | 3037dfa | 2022-10-13 09:10:00 +0200 | [diff] [blame] | 30 | android:label="@string/shift_app_name" |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 31 | android:process="system" |
| 32 | android:killAfterRestore="false" |
| 33 | android:allowClearUserData="false" |
Steve Kondik | d64ea16 | 2016-08-31 22:25:13 -0700 | [diff] [blame] | 34 | android:enabled="true" |
| 35 | android:defaultToDeviceProtectedStorage="true" |
| 36 | android:directBootAware="true"> |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 37 | |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 38 | <provider android:name="LineageSettingsProvider" |
| 39 | android:authorities="lineagesettings" |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 40 | android:multiprocess="false" |
| 41 | android:exported="true" |
Sam Mortimer | 542742b | 2017-09-18 19:44:11 -0700 | [diff] [blame] | 42 | android:writePermission="lineageos.permission.WRITE_SETTINGS" |
Yvonne Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 43 | android:singleUser="true" |
| 44 | android:initOrder="100" /> |
| 45 | |
Luca Stefani | 5769464 | 2021-10-06 23:38:06 +0200 | [diff] [blame] | 46 | <receiver android:name="PreBootReceiver" android:enabled="true" android:exported="true"> |
Yvonne Wong | 05d0129 | 2015-08-27 12:19:54 -0700 | [diff] [blame] | 47 | <!-- 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 Wong | 0eb2999 | 2015-08-20 16:02:08 -0700 | [diff] [blame] | 55 | </application> |
| 56 | </manifest> |