165 lines
6.9 KiB
XML
165 lines
6.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2015-2016 The CyanogenMod Project
|
|
2017-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"
|
|
package="org.lineageos.settings"
|
|
android:versionCode="1"
|
|
android:versionName="1.0"
|
|
android:sharedUserId="android.uid.system">
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
<uses-permission android:name="android.permission.GET_TASKS" />
|
|
<uses-permission android:name="android.permission.ACCESS_SURFACE_FLINGER" />
|
|
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
|
|
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
|
|
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
|
|
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
|
|
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" tools:ignore="ProtectedPermissions" />
|
|
|
|
<uses-sdk
|
|
android:minSdkVersion="24"
|
|
android:targetSdkVersion="30"/>
|
|
|
|
<application
|
|
android:label="@string/app_title"
|
|
android:persistent="true"
|
|
android:defaultToDeviceProtectedStorage="true"
|
|
android:directBootAware="true"
|
|
android:theme="@style/Theme.SubSettingsBase">
|
|
|
|
<receiver
|
|
android:name=".BootCompletedReceiver"
|
|
android:exported="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>
|
|
|
|
<provider
|
|
android:name="androidx.startup.InitializationProvider"
|
|
android:authorities="${applicationId}.androidx-startup"
|
|
tools:replace="android:authorities"/>
|
|
|
|
<receiver
|
|
android:name=".Startup"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
<action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<!-- Per-app refresh rate activity -->
|
|
<activity
|
|
android:name=".refreshrate.RefreshActivity"
|
|
android:label="@string/refresh_title"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="com.android.settings.action.IA_SETTINGS" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="com.android.settings.category"
|
|
android:value="com.android.settings.category.ia.display" />
|
|
<meta-data
|
|
android:name="com.android.settings.summary"
|
|
android:resource="@string/refresh_summary" />
|
|
</activity>
|
|
|
|
<service
|
|
android:name=".refreshrate.RefreshService"
|
|
android:exported="true"
|
|
android:permission="RefreshService">
|
|
</service>
|
|
|
|
<!-- Refresh Rate tile service -->
|
|
<service
|
|
android:name=".refreshrate.RefreshTileService"
|
|
android:icon="@drawable/ic_qs_refresh_rate"
|
|
android:label="@string/refresh_title_tile_label"
|
|
android:exported="true"
|
|
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
|
|
<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=".gameoverlay.GameOverlaySettingsActivity"
|
|
android:label="@string/game_overlay_title"
|
|
android:theme="@style/Theme.SubSettingsBase"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="com.android.settings.action.IA_SETTINGS" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="com.android.settings.category"
|
|
android:value="com.android.settings.category.ia.apps" />
|
|
<meta-data
|
|
android:name="com.android.settings.summary"
|
|
android:resource="@string/game_overlay_summary" />
|
|
</activity>
|
|
|
|
<!-- GameBar Overlay Tile Service -->
|
|
<service
|
|
android:name=".gameoverlay.GameOverlayTileService"
|
|
android:label="@string/game_overlay_tile_label"
|
|
android:icon="@drawable/ic_gamebar_overlay_tile"
|
|
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 BootReceiver -->
|
|
<receiver
|
|
android:name="org.lineageos.settings.gameoverlay.GameOverlayBootReceiver"
|
|
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>
|
|
</application>
|
|
</manifest>
|