android_device_samsung_a20/universal7885-common/apps/CameraLightSensor/AndroidManifest.xml
roynatech2544 e6d0c326c9
universal7885: CameraLightSensor: Add privapp permissions
* Logcat: Privileged permission android.permission.WRITE_SECURE_SETTINGS for package com.eurekateam.cameralightsensor (/system/priv-app/CameraLightSensor) not in privapp-permissions allowlist

* Turn off debug bool too

Change-Id: Ieae2542852568ceb40017db6a559ded185d582e3
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:47:19 +09:00

41 lines
2 KiB
XML
Executable file

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.eurekateam.cameralightsensor"
android:sharedUserId="android.uid.system">
<uses-permission android:name="android.permission.WRITE_SETTINGS"/>
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.CAMERA_OPEN_CLOSE_LISTENER"/>
<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera2.full"/>
<uses-feature android:name="android.hardware.camera.autofocus" />
<protected-broadcast android:name="com.android.systemui.doze.pulse" />
<application
android:allowBackup="true"
android:label="@string/app_name"
android:persistent="true">
<receiver
android:name=".BootReceiver"
android:defaultToDeviceProtectedStorage="true"
android:directBootAware="true"
android:enabled="true"
android:exported="true">
<intent-filter android:priority="1000">
<action android:name="android.intent.action.BOOT_COMPLETED" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
<service
android:name=".CameraLightSensorService"
android:exported="true"
android:foregroundServiceType="camera">
<intent-filter android:priority="1000">
<action android:name="android.intent.action.SCREEN_OFF" />
<action android:name="android.intent.action.SCREEN_ON" />
</intent-filter>
</service>
</application>
</manifest>