android_device_oneplus_sm81.../DeviceSettings/AndroidManifest.xml

158 lines
6.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2014-2015 The CyanogenMod Project
Copyright (C) 2017 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"
android:sharedUserId="android.uid.system"
package="com.yaap.device.DeviceSettings"
android:versionCode="1"
android:versionName="1.0" >
<uses-permission android:name="android.permission.INJECT_EVENTS"/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.CAMERA" />
<protected-broadcast android:name="com.yaap.device.DeviceSettings.UPDATE_SETTINGS" />
<uses-sdk
android:minSdkVersion="28"
android:targetSdkVersion="29" />
<application
android:icon="@drawable/ic_settings_device"
android:label="@string/device_title"
android:theme="@style/AppTheme">
<!-- Device Settings -->
<activity
android:name=".DeviceSettingsActivity"
android:label="@string/device_title">
<intent-filter>
<action android:name="com.android.settings.action.EXTRA_SETTINGS" />
</intent-filter>
<intent-filter>
<action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
</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" />
<activity android:name=".KeyHandler" />
<activity
android:name="com.yaap.device.DeviceSettings.PanelSettingsActivity"
android:exported="true"
android:label="@string/panel_category_title"
android:launchMode="singleTask" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".TouchscreenGestureSettings"
android:label="@string/touchscreen_gesture_settings_title"
android:theme="@style/AppTheme">
</activity>
<receiver android:name="com.yaap.device.DeviceSettings.Startup" >
<intent-filter android:priority="100" >
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<!-- Quick Settings Tiles -->
<service
android:name="com.yaap.device.DeviceSettings.DCModeTileService"
android:icon="@drawable/ic_dimming_off"
android:label="@string/tile_dc_mode"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
<action
android:name="android.service.quicksettings.action.QS_TILE"/>
</intent-filter>
</service>
<service
android:name="com.yaap.device.DeviceSettings.PanelModeTileService"
android:icon="@drawable/ic_panel_tile"
android:label="@string/tile_panel_mode"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
<action
android:name="android.service.quicksettings.action.QS_TILE"/>
</intent-filter>
</service>
<service
android:name="com.yaap.device.DeviceSettings.HBMModeTileService"
android:icon="@drawable/ic_hbm_tile"
android:label="@string/tile_hbm_mode"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
<action
android:name="android.service.quicksettings.action.QS_TILE"/>
</intent-filter>
</service>
<service
android:name="com.yaap.device.DeviceSettings.RefreshRateTileService"
android:icon="@drawable/ic_refresh_tile_60"
android:label="@string/tile_refresh_rate"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
<action
android:name="android.service.quicksettings.action.QS_TILE"/>
</intent-filter>
</service>
<service android:name="com.yaap.device.DeviceSettings.FPSInfoService"
android:exported="false">
</service>
<service
android:name=".FPSTileService"
android:icon="@drawable/ic_fps"
android:label="@string/fps_info_title"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
<intent-filter>
<action
android:name="android.service.quicksettings.action.QS_TILE"/>
</intent-filter>
</service>
<service android:name="com.yaap.device.DeviceSettings.HBMModeService"
android:exported="false" />
<!-- Search indexing -->
<provider
android:name=".ConfigPanelSearchIndexablesProvider"
android:authorities="com.yaap.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>
</application>
</manifest>