ADFA-3629 Changes logo in notifications#1207
Conversation
📝 WalkthroughRelease NotesChanges
Risks & Best Practices
WalkthroughUpdates notification small icons across Gradle build and ADB pairing services from Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
resources/src/main/res/drawable/ic_cogo_notification.xml (1)
1-29: Well-structured notification icon with appropriate monochrome design.The vector drawable correctly follows Android notification icon guidelines with 24dp dimensions and white monochrome paths. The use of
evenOddfillType for the phone frame creates a clean screen cutout effect, and the centering calculation viatranslateX="95.375"properly centers the phone within the square viewport.Given the complexity of the globe path (line 24) and the small display size of notification icons (typically 24-48px), you may want to verify that the icon renders clearly and recognizably in actual notification contexts across different screen densities.
🔍 Verification approach
Test the icon appearance by:
- Building and running on devices with different screen densities (mdpi, hdpi, xxhdpi, xxxhdpi)
- Checking the status bar notification icon clarity
- Verifying the notification drawer display
- Confirming the icon is recognizable when reduced to ~24px
If the globe detail becomes unclear at small sizes, consider simplifying the globe path or increasing line weights.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@resources/src/main/res/drawable/ic_cogo_notification.xml` around lines 1 - 29, Notification icon may be too detailed for small notification sizes: simplify or swap the complex globe path to ensure recognizability at ~24px. Locate the globe path (comment "Globe (white)" / path whose pathData begins with "M107.8,126.57...") and either (1) replace that long pathData with a simplified, lower‑node silhouette version (remove tiny curves and reduce nodes) or (2) provide an alternate simplified drawable used for notifications and reference it instead; keep the phone frame path with android:fillType="evenOdd" and the translateX="95.375" centering unchanged. Ensure after changes you test rendering at mdpi/hdpi/xxhdpi to confirm clarity.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In `@resources/src/main/res/drawable/ic_cogo_notification.xml`:
- Around line 1-29: Notification icon may be too detailed for small notification
sizes: simplify or swap the complex globe path to ensure recognizability at
~24px. Locate the globe path (comment "Globe (white)" / path whose pathData
begins with "M107.8,126.57...") and either (1) replace that long pathData with a
simplified, lower‑node silhouette version (remove tiny curves and reduce nodes)
or (2) provide an alternate simplified drawable used for notifications and
reference it instead; keep the phone frame path with android:fillType="evenOdd"
and the translateX="95.375" centering unchanged. Ensure after changes you test
rendering at mdpi/hdpi/xxhdpi to confirm clarity.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 62175644-2385-4d92-8cd5-a6ea20bccd15
📒 Files selected for processing (3)
app/src/main/java/com/itsaky/androidide/services/builder/GradleBuildService.ktresources/src/main/res/drawable/ic_cogo_notification.xmlsubprojects/shizuku-manager/src/main/java/moe/shizuku/manager/adb/AdbPairingService.kt
Great idea - thank you! I'll do another PR for that |
…ialogs-and-notifications
Had to be careful with the scaling and transparency