android: add Live Update notification and popup toggles#561
Open
thisisAcidic wants to merge 6 commits intokavishdevar:mainfrom
Open
android: add Live Update notification and popup toggles#561thisisAcidic wants to merge 6 commits intokavishdevar:mainfrom
thisisAcidic wants to merge 6 commits intokavishdevar:mainfrom
Conversation
cb0c0ce to
7434569
Compare
Owner
|
Thanks for the PR! Could you please share a screenshot of how this looks on Oppo? |
Contributor
Author
6b71f74 to
d4a2b18
Compare
…-mode, and case-open events
…on scaling, and BLE early fire
… (es, fr, pt, de)
d4a2b18 to
a22c5b8
Compare
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.


Adds three options in Settings under a new "Popup Animations" section:
The Live Update notification declares the Samsung Now Bar opt-in metadata for One UI 7+ and uses CATEGORY_STATUS plus ongoingActivityNoti.style extras. Android 16 surfaces it as a Live Update on systems that adopt the API (ColorOS 16, One UI 8). On systems with a hardcoded whitelist (ColorOS 15, One UI 7) the same notification appears as a regular HIGH-importance heads-up plus an ongoing entry in the shade.
First Live Update fires from the BLE-advertised battery so it shows up immediately on connect rather than waiting for the L2CAP socket handshake.
Migration: existing installs (connection_successful pref already true) default the new Live Update toggle to OFF, keeping the legacy LOW-priority shade notification. Fresh installs default to ON.
Tested on Oppo with ColorOS 16. Build clean.