Samsung Keyboard: Galaxy AI stickers are sent as regular images since 7.41.0

Open Beginner friendly
#15,035 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@actuallyrisk is already working on this.

Since Oct 4, 2026.

  • #15048 by @actuallyrisk — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
android, kotlin
Domain
mobile

Research direction

Start at KeyboardUtil.isForSticker() and inspect how committed Samsung Keyboard content URIs are classified, using the supplied URI example and suggested folder scope. Update the classification so Galaxy AI sticker URIs are recognized without also matching unrelated clipboard content, then verify that the sticker bypasses the media editor and is sent borderless.

Written by the indexing model from the issue text.

Description

Guidelines
  • I have searched open and closed issues for duplicates
  • I am submitting a bug report for existing functionality that does not work as intended
  • This isn't a feature request or a discussion topic
Bug description

Stickers created with Galaxy AI in the Samsung Keyboard sticker tray (emoji key > AI stickers > "Create sticker", One UI 7 and later) open the media editor and are sent as a normal image with a bubble. On earlier Signal versions (over a year ago) the same stickers were sent borderless.

Steps to reproduce
  1. Samsung Galaxy with Samsung Keyboard 5.9.40.74 as the active keyboard and at least one Galaxy AI sticker in the tray.
  2. Open a conversation, tap into the compose field.
  3. Samsung Keyboard > emoji key > AI stickers > tap a sticker.

Actual result: the media editor opens; after sending, the sticker is a regular image attachment with a bubble.

Expected result: the sticker is sent immediately and borderless, like it was before 7.41.0.

Cause

Up to 7.40.x Signal decided by the alpha of the image's top-left pixel, so keyboard stickers with a transparent corner were sent borderless regardless of keyboard. Since 2e50699a2d (7.41.0) KeyboardUtil.isForSticker() instead matches the keyboard URI against "sticker" or the SwiftKey provider path. Samsung Keyboard commits these stickers with URIs that contain neither:

content://com.samsung.android.honeyboard.provider/root/storage/emulated/0/Android/data/com.samsung.android.honeyboard/cache/temp_content/ai_expression/1790377273682.png

720 x 720 PNG (Signal's own log: MediaUtil: Dimensions for [...] are 720 x 720), sourcePkg com.samsung.android.honeyboard, grant owner InputContentUriTokenHandler, i.e. a regular commitContent() with INPUT_CONTENT_GRANT_READ_URI_PERMISSION. Captured with adb shell dumpsys activity -p org.thoughtcrime.securesms permissions while the media editor was open.

Suggested fix
return string.contains("sticker") ||
  string.contains("com.touchtype.swiftkey.fileprovider/share_images") ||
  string.contains("com.samsung.android.honeyboard/cache/temp_content/ai_expression/")

The pattern targets the folder rather than the authority, because the same FileProvider (com.samsung.android.honeyboard.provider) also serves other keyboard content such as clipboard images. temp_content/ is the keyboard's generic temp folder for expression-board content (sticker and GIF search results), so com.samsung.android.honeyboard/cache/temp_content/ would cover more sticker sources at the cost of also sending keyboard GIF search results borderless.

Versions: Samsung Keyboard 5.9.40.74, Sticker Center 2.7.04.13, One UI 9.0 on Android 17.

Unrelated comment: This Issue bugs me for quite a while i hope someone takes this serious a lot of friends of mine suffer from this.

Screenshots

No response

Device

Samsung Galaxy S26 Ultra (SM-S948B)

Android version

17

Signal version

8.29.0

Link to debug log

https://debuglogs.org/android/8.29.0/bf5370cbc527acb0f507394acccc35decb40aafae49cefec97bc46db6bf357cc

Dominant language
Kotlin
Stars
29.7k
Forks
7k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from signalapp/Signal-Android

All issues in signalapp/Signal-Android

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.