Lunatic/AndroidManifest.xml

108 lines
4.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015-2016 The CyanogenMod Project
2017-2018 The LineageOS Project
2020-2022 Paranoid Android
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"
package="net.typeblog.lunatic"
android:versionCode="1"
android:versionName="1.0"
android:sharedUserId="android.uid.system">
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.MANAGE_NOTIFICATION_LISTENERS" />
<uses-sdk
android:minSdkVersion="31"
android:targetSdkVersion="31"/>
<application
android:label="@string/spotlight_settings_app_name"
android:icon="@mipmap/ic_launcher"
android:persistent="true"
android:defaultToDeviceProtectedStorage="true"
android:directBootAware="true">
<receiver
android:name="net.typeblog.lunatic.BootCompletedReceiver"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<service
android:name="net.typeblog.lunatic.Services.CallReceiverService"
android:permission="android.permission.READ_PHONE_STATE">
</service>
<service
android:name="net.typeblog.lunatic.Services.ChargingService">
</service>
<service
android:name="net.typeblog.lunatic.Services.FlashlightService">
</service>
<service
android:name="net.typeblog.lunatic.Services.MusicService">
</service>
<service
android:name="net.typeblog.lunatic.Services.NotificationService"
android:exported="false"
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE">
<intent-filter>
<action android:name="android.service.notification.NotificationListenerService" />
</intent-filter>
</service>
<activity
android:name="net.typeblog.lunatic.Settings.SettingsActivity"
android:exported="true"
android:label="@string/spotlight_settings_app_name"
android:theme="@style/Theme.SubSettingsBase">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="net.typeblog.lunatic.Settings.NotifsSettingsActivity"
android:exported="false"
android:theme="@style/Theme.SubSettingsBase">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<receiver android:name=".CustomEffectReceiver"
android:exported="true">
<intent-filter>
<action android:name="net.typeblog.lunatic.EFFECT_START" />
<action android:name="net.typeblog.lunatic.EFFECT_SET" />
<action android:name="net.typeblog.lunatic.EFFECT_CLEAR" />
<action android:name="net.typeblog.lunatic.EFFECT_END" />
</intent-filter>
</receiver>
</application>
</manifest>