universal7885: Format xml again

* No tabs this time, 3-space intent
This commit is contained in:
roynatech2544 2022-04-27 13:18:04 +02:00
commit a7ef8f2b7e
No known key found for this signature in database
GPG key ID: 50ABF73F0D19445D
93 changed files with 2634 additions and 2737 deletions

View file

@ -1,28 +1,27 @@
<?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.USER_PRESENT"/>
</intent-filter>
</service>
</application>
<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.USER_PRESENT"/>
</intent-filter>
</service>
</application>
</manifest>

View file

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2021 Eureka Team
Licensed under the Apache License, Version 2.0 (the "License");
@ -12,7 +11,7 @@
limitations under the License.
-->
<permissions>
<privapp-permissions package="com.eurekateam.cameralightsensor">
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
<privapp-permissions package="com.eurekateam.cameralightsensor">
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
</privapp-permissions>
</permissions>

View file

@ -1,4 +1,3 @@
<?xml version="1.0"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:width="24dp" android:height="24dp" android:viewportWidth="24" android:viewportHeight="24">
<path android:fillColor="@android:color/black" android:pathData="M20,8.69L20,4h-4.69L12,0.69 8.69,4L4,4v4.69L0.69,12 4,15.31L4,20h4.69L12,23.31 15.31,20L20,20v-4.69L23.31,12 20,8.69zM18,14.48L18,18h-3.52L12,20.48 9.52,18L6,18v-3.52L3.52,12 6,9.52L6,6h3.52L12,3.52 14.48,6L18,6v3.52L20.48,12 18,14.48zM12,17c2.76,0 5,-2.24 5,-5s-2.24,-5 -5,-5v10z"/>
<path android:fillColor="@android:color/black" android:pathData="M20,8.69L20,4h-4.69L12,0.69 8.69,4L4,4v4.69L0.69,12 4,15.31L4,20h4.69L12,23.31 15.31,20L20,20v-4.69L23.31,12 20,8.69zM18,14.48L18,18h-3.52L12,20.48 9.52,18L6,18v-3.52L3.52,12 6,9.52L6,6h3.52L12,3.52 14.48,6L18,6v3.52L20.48,12 18,14.48zM12,17c2.76,0 5,-2.24 5,-5s-2.24,-5 -5,-5v10z"/>
</vector>

View file

@ -1,4 +1,3 @@
<?xml version="1.0"?>
<resources>
<string name="app_name">CameraLightSensor</string>
<string name="app_name">CameraLightSensor</string>
</resources>