Skip to content

android: emit padded image data URLs#174

Open
KleirRampage45 wants to merge 1 commit into
dnakov:mainfrom
KleirRampage45:bugfix/android-image-data-url-padding
Open

android: emit padded image data URLs#174
KleirRampage45 wants to merge 1 commit into
dnakov:mainfrom
KleirRampage45:bugfix/android-image-data-url-padding

Conversation

@KleirRampage45

@KleirRampage45 KleirRampage45 commented Jun 8, 2026

Copy link
Copy Markdown

Summary

  • Emit standard padded base64 for Android composer image data URLs
  • Tighten composer payload tests to assert exact padded data URLs

Verification

  • ANDROID_SDK_ROOT="$HOME/Android/Sdk" ANDROID_HOME="$HOME/Android/Sdk" ./gradlew :app:testDebugUnitTest --tests com.litter.android.state.AppComposerPayloadTest
  • Installed the debug APK on device and confirmed a new thread can send the same image successfully
  • Repaired the existing test thread history separately and also confirmed the same image got trough.

bug before:
image

after fix (same thread)
image

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