89 lines
3.6 KiB
XML
89 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2014-2015 The CyanogenMod Project
|
|
Copyright (C) 2017 The LineageOS Project
|
|
Copyright (C) 2021 The Evolution X Project
|
|
Copyright (C) 2018 The Xiaomi-SDM660 Project
|
|
Copyright (C) 2018-2021 crDroid Android 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.neoteric.device.DeviceExtras"
|
|
android:sharedUserId="android.uid.system"
|
|
android:versionCode="4"
|
|
android:versionName="4.0">
|
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
|
|
|
|
<application
|
|
android:label="@string/device_title"
|
|
android:persistent="true"
|
|
android:defaultToDeviceProtectedStorage="true"
|
|
android:enableOnBackInvokedCallback="true"
|
|
android:directBootAware="true">
|
|
|
|
<receiver
|
|
android:name="org.neoteric.device.DeviceExtras.Startup"
|
|
android:permission="android.permission.RECEIVE_BOOT_COMPLETED"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<activity
|
|
android:name="org.neoteric.device.DeviceExtras"
|
|
android:exported="true"
|
|
android:theme="@style/Theme.SubSettingsBase.Expressive"/>
|
|
|
|
<!-- DeviceExtras -->
|
|
<activity
|
|
android:name="org.neoteric.device.DeviceExtras.DeviceExtrasActivity"
|
|
android:exported="true"
|
|
android:label="@string/device_title"
|
|
android:theme="@style/Theme.SubSettingsBase.Expressive">
|
|
<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.system" />
|
|
<meta-data
|
|
android:name="com.android.settings.summary"
|
|
android:resource="@string/device_summary" />
|
|
</activity>
|
|
|
|
<!-- OTG tile -->
|
|
<service
|
|
android:name="org.neoteric.device.DeviceExtras.OTGTileService"
|
|
android:exported="true"
|
|
android:icon="@drawable/ic_otg_mode"
|
|
android:label="@string/otg_mode_title"
|
|
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
|
|
<intent-filter>
|
|
<action android:name="android.service.quicksettings.action.QS_TILE" />
|
|
</intent-filter>
|
|
</service>
|
|
</application>
|
|
</manifest>
|