Basic implementation of wallpaper changing using WorkManager. May consider swapping to foreground service to increase reliability

This commit is contained in:
Anthonyy232 committed 2024-04-22 16:58:47 -07:00
1 parent 0f975c9b20
commit 0bca639e3a
32 files changed
+377 -127

No files matched your search

+6 -12
View File
@@ -5,6 +5,8 @@
<uses-feature
android:name="android.software.paperize"
android:required="true" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.SET_WALLPAPER"/>
<application
android:allowBackup="true"
@@ -31,17 +33,9 @@
</intent-filter>
</activity>
<service
android:name=".data.configuration.PaperizeWallpaperService"
android:enabled="true"
android:permission="android.permission.BIND_WALLPAPER"
android:exported="true">
<intent-filter>
<action android:name="android.service.wallpaper.WallpaperService" />
</intent-filter>
<meta-data
android:name="android.service.wallpaper"
android:resource="@xml/paperize" />
</service>
<provider
android:name="androidx.startup.InitializationProvider"
android:authorities="${applicationId}.androidx-startup"
tools:node="remove" />
</application>
</manifest>