suppress unwanted group summary notifications when grouping disabled#53
suppress unwanted group summary notifications when grouping disabled#53Azzipp wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds a hook to the isGroupSummary method of android.app.Notification to always return false in the SystemUI hook. There are no review comments, and I have no additional feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
d641741 to
10f3a5d
Compare
10f3a5d to
83f122d
Compare
|
Sorry @SoClear, it was working for me and I thought a crash was from another unrelated app and didn't check. I updated the PR and it works without crashing by hooking NotifCollection.postNotification to discard group summaries before they enter the collection, which prevents the StatusBarNotification key mismatch that caused the crashing. |

This change hooks android.app.Notification.isGroupSummary() to return false when notification grouping is disabled, removing extra notifications and status bar icons as shown in #46 (comment).