Develop - prevent ambient glance with Android Auto, Fix Shizuku permissions label, Live wallpapers and translations#385
Merged
Conversation
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
[ci skip]
…press menu and migrate to segmented picker UI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new Live Wallpaper feature, including its service, configuration UI, and supporting data management. Additionally, it improves compatibility with Android Auto by ensuring that ambient and glance features are disabled or reverted when Android Auto is running. The update also adds dependencies for media playback and makes minor improvements to various services.
Live Wallpaper Feature:
LiveWallpaperServiceusing Media3 ExoPlayer to play video wallpapers, with playback triggers based on device state (e.g., unlock, screen on) (app/src/main/java/com/sameerasw/essentials/services/LiveWallpaperService.kt).LiveWallpaperServiceand a new configuration activity inAndroidManifest.xml.FeatureRegistry.kt,FeatureSettingsActivity.kt,SettingsRepository.kt) [1] [2] [3] [4] [5] [6].Android Auto Compatibility Improvements:
AmbientDreamServiceandAmbientGlanceHandlerto detect when Android Auto is running and revert to clock mode or dismiss overlays accordingly (AmbientDreamService.kt,AmbientGlanceHandler.kt) [1] [2] [3] [4] [5] [6] [7] [8].NotificationListenerto skip processing notifications when Android Auto is active (NotificationListener.kt).Dependency Updates:
app/build.gradle.kts).These changes collectively enable a customizable video live wallpaper experience and improve the app's behavior when Android Auto is in use.