96 lines
3.9 KiB
XML
96 lines
3.9 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="co.aospa.settings.DisplayMode"
|
|
android:versionCode="1"
|
|
android:versionName="1.0" >
|
|
|
|
<uses-permission android:name="android.permission.INJECT_EVENTS"/>
|
|
|
|
<uses-sdk
|
|
android:minSdkVersion="28"
|
|
android:targetSdkVersion="29" />
|
|
|
|
<application
|
|
android:icon="@drawable/ic_panel_tile"
|
|
android:label="@string/display_title"
|
|
android:theme="@style/Theme.SubSettingsBase">
|
|
|
|
<!-- Device Settings -->
|
|
<activity
|
|
android:name=".DeviceSettingsActivity"
|
|
android:label="@string/display_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.category"
|
|
android:value="com.android.settings.category.ia.display" />
|
|
<meta-data android:name="com.android.settings.summary"
|
|
android:resource="@string/display_summary" />
|
|
<meta-data
|
|
android:name="com.android.settings.order"
|
|
android:value="30" />
|
|
</activity>
|
|
|
|
<activity android:name=".DeviceSettings" />
|
|
|
|
<activity
|
|
android:name="co.aospa.settings.DisplayMode.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>
|
|
|
|
<receiver android:name="co.aospa.settings.DisplayMode.Startup" >
|
|
<intent-filter android:priority="100" >
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
|
|
<!-- Quick Settings Tiles -->
|
|
<service
|
|
android:name="co.aospa.settings.DisplayMode.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="co.aospa.settings.DisplayMode.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="co.aospa.settings.DisplayMode.HBMModeService"
|
|
android:exported="false" />
|
|
</application>
|
|
</manifest>
|