universal7885: Enable DAP effect on boot

Change-Id: I07daeebc1a4b51905e7551081b1530e0502689d2
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
This commit is contained in:
LuK1337 2021-09-18 00:08:16 +02:00 committed by roynatech2544
commit 97a81dec31
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
5 changed files with 98 additions and 1 deletions

23
dap/AndroidManifest.xml Normal file
View file

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.lineageos.dap"
android:versionCode="1"
android:versionName="1.0"
android:sharedUserId="android.uid.system">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<application
android:label="SamsungDAP"
android:persistent="true"
android:defaultToDeviceProtectedStorage="true"
android:directBootAware="true">
<receiver android:name="org.lineageos.dap.BootCompletedReceiver">
<intent-filter>
<action android:name="android.intent.action.LOCKED_BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
</application>
</manifest>