Files
device_oneplus_8750-common/DeviceSettings/AndroidManifest.xml
elpaablo f6af249792 DeviceSettings: lunch it from Settings
Change-Id: I5a321ac763caefa59e662b20e87fb3a3ba4bdcee
2025-10-20 17:20:23 -07:00

182 lines
7.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2014-2015 The CyanogenMod Project
Copyright (C) 2018 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:sharedUserId="android.uid.system"
package="org.lineageos.device.DeviceSettings"
android:versionCode="1"
android:versionName="1.0" >
<uses-permission android:name="android.permission.INJECT_EVENTS"/>
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="lineageos.permission.HARDWARE_ABSTRACTION_ACCESS" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" />
<protected-broadcast android:name="org.lineageos.device.DeviceSettings.UPDATE_SLIDER_SETTINGS" />
<protected-broadcast android:name="org.lineageos.device.DeviceSettings.UPDATE_SLIDER_POSITION" />
<application
android:icon="@drawable/ic_logo"
android:label="@string/device_title"
android:defaultToDeviceProtectedStorage="true"
android:directBootAware="true"
android:theme="@style/Theme.DeviceSettings"
android:exported="true">
<receiver android:name=".BootCompletedReceiver"
android:exported="true"
android:enabled="true"
android:permission="android.permission.RECEIVE_BOOT_COMPLETED">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
<!-- Device Settings -->
<activity
android:name=".DeviceSettingsActivity"
android:exported="true">
<intent-filter>
<action android:name="android.settings.DEVICE_SETTINGS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<!-- <meta-data
android:name="com.android.settings.icon"
android:resource="@drawable/ic_settings_device" />
<meta-data
android:name="com.android.settings.category"
android:value="com.android.settings.category.ia.homepage" />
<meta-data android:name="com.android.settings.summary"
android:resource="@string/device_summary" /> -->
</activity>
<activity android:name=".DeviceSettings"
android:exported="false" />
<service
android:name=".KeyHandler"
android:permission="KeyHandlerService"
android:exported="true" />
<receiver android:name=".Startup"
android:exported="false">
<intent-filter>
<action android:name="lineageos.intent.action.INITIALIZE_LINEAGE_HARDWARE" />
</intent-filter>
</receiver>
<provider
android:name="androidx.startup.InitializationProvider"
android:authorities="${applicationId}.androidx-startup"
tools:replace="android:authorities"/>
<!-- Search Provider -->
<provider
android:name=".ConfigPanelSearchIndexablesProvider"
android:authorities="org.lineageos.device"
android:multiprocess="false"
android:grantUriPermissions="true"
android:permission="android.permission.READ_SEARCH_INDEXABLES"
android:exported="true">
<intent-filter>
<action android:name="android.content.action.SEARCH_INDEXABLES_PROVIDER" />
</intent-filter>
</provider>
<!-- BypassCharging activity -->
<activity android:name=".bypasschrg.BypassChargingActivity"
android:label="@string/bypass_charging_title"
android:exported="true">
<meta-data
android:name="com.android.settings.summary"
android:resource="@string/bypass_charging_summary" />
</activity>
<!-- BypassCharging service to monitor battery level -->
<service
android:name=".bypasschrg.BypassChargingService"
android:exported="true"
android:foregroundServiceType="connectedDevice" />
<!-- BypassChargingTile service -->
<service
android:name=".bypasschrg.BypassChargingTile"
android:label="@string/bypass_charging_title"
android:icon="@drawable/ic_bypass_charging"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
android:exported="true">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
<meta-data
android:name="android.service.quicksettings.TOGGLEABLE_TILE"
android:value="true" />
</service>
<!-- TileHandler activity -->
<activity
android:name=".TileHandlerActivity"
android:exported="true"
android:noHistory="true"
android:theme="@android:style/Theme.NoDisplay">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
</intent-filter>
</activity>
<!-- GameBar Overlay -->
<activity
android:name=".gamebar.GameBarSettingsActivity"
android:label="@string/game_bar_title"
android:exported="true">
<meta-data
android:name="com.android.settings.summary"
android:resource="@string/game_bar_summary" />
</activity>
<!-- GameBar AppSelector -->
<activity android:name=".gamebar.GameBarAppSelectorActivity" />
<activity android:name=".gamebar.GameBarAppRemoverActivity" />
<!-- GameBar Overlay Tile Service -->
<service
android:name=".gamebar.GameBarTileService"
android:label="@string/game_bar_tile_label"
android:icon="@drawable/ic_game_bar"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE"
android:exported="true">
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE" />
</intent-filter>
<meta-data
android:name="android.service.quicksettings.TOGGLEABLE_TILE"
android:value="true" />
</service>
<!-- GameBar Overlay Monitor Service -->
<service
android:name=".gamebar.GameBarMonitorService"
android:exported="false" />
</application>
</manifest>