Фикс невозможности запуска службы переднего плана из LinkUpdateWorker.

Небольшие визуальные изменения.
This commit is contained in:
2024-10-10 01:27:26 +04:00
parent 3da65a3327
commit 2a7e63dce4
21 changed files with 388 additions and 103 deletions

View File

@@ -2,11 +2,20 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<!-- bruh -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- For posting notifications from FCM and CLV services -->
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<!-- For CLV service able to work -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
<!-- For schedule CLV service-->
<!-- <uses-permission android:name="android.permission.USE_EXACT_ALARM" />-->
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<application
android:name=".PolytechnicApplication"
android:allowBackup="true"
@@ -18,6 +27,16 @@
android:theme="@style/Theme.PolytechnicNext"
tools:targetApi="35">
<receiver
android:name=".receiver.BootCompletedBroadcastReceiver"
android:exported="false">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<receiver android:name=".receiver.AlarmReceiver" />
<service
android:name=".service.MyFirebaseMessagingService"
android:exported="false">