Files
hardware_mediatek/PowerOffAlarm/AndroidManifest.xml
nift4 2e158426c5 Porting power off alarm
Change-Id: I955557fa8ee5d7295623c269c2173ef50f2542ad
2023-07-24 16:47:34 +01:00

42 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2023 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.qualcomm.qti.poweroffalarm"
android:sharedUserId="android.uid.system"
coreApp="true">
<uses-sdk android:minSdkVersion="33" android:targetSdkVersion="33" />
<permission
android:label="@string/permlab_power_off_alarm"
android:icon="@drawable/permic_power_off_alarm"
android:name="org.codeaurora.permission.POWER_OFF_ALARM"
android:protectionLevel="dangerous"
android:description="@string/permdesc_power_off_alarm"
/>
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<application
android:allowBackup="false"
android:label="@string/app_name"
android:defaultToDeviceProtectedStorage="true">
<receiver
android:name="com.qualcomm.qti.poweroffalarm.PowerOffAlarmBroadcastReceiver"
android:permission="org.codeaurora.permission.POWER_OFF_ALARM"
android:exported="true"
android:directBootAware="true">
<intent-filter android:priority="1000">
<action android:name="org.codeaurora.poweroffalarm.action.CANCEL_ALARM"/>
<action android:name="org.codeaurora.poweroffalarm.action.SET_ALARM"/>
</intent-filter>
</receiver>
</application>
</manifest>