Skip to content

Replace placeholder notification icon in LocationTrackingService#23

Merged
Max97k merged 1 commit into
mainfrom
fix-service-notification-icon-14906800772868356673
Jun 25, 2026
Merged

Replace placeholder notification icon in LocationTrackingService#23
Max97k merged 1 commit into
mainfrom
fix-service-notification-icon-14906800772868356673

Conversation

@Max97k

@Max97k Max97k commented Jun 22, 2026

Copy link
Copy Markdown
Owner
  • Added ic_notification.xml a proper vector drawable resource.
  • Updated LocationTrackingService to use the new icon for foreground service notifications.
  • Removed the old TODO comment.

PR created automatically by Jules for task 14906800772868356673 started by @Max97k

…tionTrackingService

Replaced the placeholder `R.mipmap.ic_launcher` in the `LocationTrackingService` notification builder with a proper 24x24dp monochrome vector drawable `ic_notification.xml`, resolving the TODO item and ensuring compatibility with Android's notification bar icon design guidelines.

Co-authored-by: Max97k <14903047+Max97k@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request replaces the generic launcher icon with a dedicated notification icon for the location tracking service. The feedback suggests removing the hardcoded white tint from the new vector drawable to ensure the Android system can dynamically tint the icon based on the status bar theme.

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.

Comment on lines +1 to +6
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="#FFFFFF">

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Hardcoding android:tint="#FFFFFF" on a notification vector icon can prevent the Android system from dynamically tinting the icon. For example, in a light status bar, the system needs to tint the icon dark so it remains visible. Since the path's fillColor is already white (#FFFFFFFF), removing the hardcoded tint allows the system to apply the correct contextual colors.

Suggested change
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="#FFFFFF">
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant