Skip to content

feat(googlephotos): add custom branding patch#21

Open
vancedto wants to merge 2 commits intoRookieEnough:mainfrom
vancedto:main
Open

feat(googlephotos): add custom branding patch#21
vancedto wants to merge 2 commits intoRookieEnough:mainfrom
vancedto:main

Conversation

@vancedto
Copy link
Copy Markdown

Add a new resource-only patch that rebrands Google Photos:

  • Renames the app to "ReVanced Google Photos"
  • Replaces the launcher icon with a bundled custom PNG

Manifest patching covers three layers to ensure the launcher and app drawer both reflect the new branding:

  1. android:label and android:icon
  2. Any carrying the LAUNCHER intent filter
  3. Any carrying the LAUNCHER intent filter

Icon replacement is done in two passes:

  • Copy bundled PNGs as a new resource (morphe_photos_launcher) into all mipmap-{mdpi,hdpi,xhdpi,xxhdpi,xxxhdpi} directories
  • Overwrite the original launcher icon files with the same PNGs so the splash screen (which references the original resource name internally) also shows the new icon

Add a new resource-only patch that rebrands Google Photos:
- Renames the app to "ReVanced Google Photos"
- Replaces the launcher icon with a bundled custom PNG

Manifest patching covers three layers to ensure the launcher
and app drawer both reflect the new branding:
  1. <application> android:label and android:icon
  2. Any <activity-alias> carrying the LAUNCHER intent filter
  3. Any <activity> carrying the LAUNCHER intent filter

Icon replacement is done in two passes:
  - Copy bundled PNGs as a new resource (morphe_photos_launcher)
    into all mipmap-{mdpi,hdpi,xhdpi,xxhdpi,xxxhdpi} directories
  - Overwrite the original launcher icon files with the same PNGs
    so the splash screen (which references the original resource
    name internally) also shows the new icon
@Akash-Sriram
Copy link
Copy Markdown

Could use morphe google photo

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.

2 participants