Commit Graph

384 Commits (a90f3ffdac8bda5b7ea00a3e69d7883b706fbf33)

Author SHA1 Message Date
Peter Steinberger c3a2701c45 fix(android): delay operator bootstrap reconnect until stored auth 8 months ago
Peter Steinberger 20266ff7dd fix: preserve mobile bootstrap auth fallback (#60238) (thanks @ngutman) 8 months ago
Ayaan Zaidi 945b198c76
fix(android): allow cleartext LAN gateways 8 months ago
Michael Faath 85c76e83b7
fix: restore android talk mode reply tts (#60306) (thanks @MKV21)
* Android: keep talk-mode session key synced for TTS replies

* Android: harden talk-mode reply playback state

* Android: harden talk-mode playback cancellation

* Android: avoid stale talk-mode playback preemption

* Android: tighten talk-mode playback claiming

* fix: distill android talk-mode playback ownership

* fix: restore android talk mode reply tts (#60306) (thanks @MKV21)

---------

Co-authored-by: Michael Faath <michaelfaath@macbookpro.speedport.ip>
Co-authored-by: Ayaan Zaidi <hi@obviy.us>
8 months ago
Vincent Koc 50e1eb56d7
fix(security): harden discord proxy and bundled channel activation (#60455)
* fix(security): tighten discord proxy and mobile tls guards

* fix(plugins): enforce allowlists for bundled channels

* fix(types): align callers with removed legacy config aliases

* fix(security): preserve bundled channel opt-in and ipv6 proxies
8 months ago
Ayaan Zaidi b9897eec7c fix: align mobile pairing secure endpoint UX (#60128) 8 months ago
Ayaan Zaidi a2b53522eb fix(pairing): allow private lan mobile ws 8 months ago
Ayaan Zaidi acd5734aa9 fix(pairing): align mobile setup with secure endpoints 8 months ago
Agustin Rivera a941a4fef9
fix(android): require TLS for remote gateway endpoints (#58475)
* fix(android): require tls for remote gateway endpoints

* fix(android): expand loopback gateway coverage

* fix(android): validate scanned gateway endpoints

* fix(android): handle mapped loopback literals

* fix(android): allow emulator bridge host

* fix(changelog): note android gateway tls hardening

* fix(android): preserve first-time tls trust prompts

* fix(changelog): drop android gateway entry from pr

* fix(android): scope emulator bridge tls bypass

* fix(android): normalize ipv6 gateway hosts

* fix(android): preserve ipv6 gateway url brackets

* fix(android): preserve auth across tls trust prompt

* fix(android): normalize bracketed ipv6 gateway hosts

* chore: add changelog for Android remote gateway TLS

---------

Co-authored-by: Devin Robison <drobison@nvidia.com>
Co-authored-by: Devin Robison <drobison00@users.noreply.github.com>
8 months ago
Ayaan Zaidi 34a5c47351
fix: preserve Android assistant auto-send queue 8 months ago
Ayaan Zaidi 5d524617e1 fix: clear stale Android assistant auto-send queue 8 months ago
Ayaan Zaidi 186647cb74 feat: auto-send Android assistant prompts 8 months ago
Ayaan Zaidi 41b81ca7f8 fix: address Android assistant review feedback 8 months ago
Ayaan Zaidi 59eccef768 feat: add Google Assistant App Actions entrypoint 8 months ago
Ayaan Zaidi e45b29b247 feat: add Android assistant role entrypoint 8 months ago
Ayaan Zaidi fcf708665c feat: route Android assistant launches into chat 8 months ago
Ayaan Zaidi 6be0c7ef09
fix(android): drop bootstrap auth after manual endpoint changes 8 months ago
Ayaan Zaidi cbc75f13b2 test(android): cover node-only onboarding state 8 months ago
Ayaan Zaidi 132208c01f fix(android): require node connection before onboarding finish 8 months ago
Ayaan Zaidi c1269eddb8 fix(android): preserve bootstrap auth for manual reconnect 8 months ago
Ayaan Zaidi 08d365f481
test: pin android explicit setup auth selection 8 months ago
Ayaan Zaidi fa150f8828
fix: use explicit setup auth for android gateway connect 8 months ago
Ayaan Zaidi deead11dcd
fix(android): restore setup-code operator bootstrap connect 8 months ago
Ayaan Zaidi e0281849c0
fix: unblock android onboarding after bootstrap pairing 8 months ago
Ayaan Zaidi fec329ce8d
fix: handle android bootstrap-only setup codes 8 months ago
Ayaan Zaidi 88716f02de
fix: align android sms permission UI state 8 months ago
Ayaan Zaidi df385a7ed6
test: tighten android node contracts 8 months ago
Ayaan Zaidi f1e7a5ce5f
test: broaden android node advertisement matrix 8 months ago
Ayaan Zaidi 833d0e3d6f
test: broaden android notification handlers 8 months ago
Ayaan Zaidi 94279d09ca
test: broaden android location and call log handlers 8 months ago
Ayaan Zaidi 7c93a2bae2
test: broaden android node capability advertisement coverage 8 months ago
Ayaan Zaidi 7304ef6630
test: cover android invoke availability gates 8 months ago
Ayaan Zaidi 403cf9070e
test: cover android sms send dispatch gating 8 months ago
Ayaan Zaidi a58ff25769
test: cover android sms search dispatch gating 8 months ago
Ayaan Zaidi e5fa976f5c test: harden android sms capability coverage 8 months ago
Ayaan Zaidi 0462a7fd8c fix: finalize android sms search (#50146) (thanks @scaryshark124) 8 months ago
nimbleenigma aee61dcee0
fix: finalize android notification forwarding controls (#40175) (thanks @nimbleenigma)
* android(gateway): always send string payloadJSON for node.event

(cherry picked from commit 5ca5a0663ad8fbd9f9f654c52a72b423e1e19605)
(cherry picked from commit bce87e7493e52b0e5959548b410500db8d545a50)

* android: restore notification forwarding controls

(cherry picked from commit 98c4486f83d165919d7f8f1d713ff79ec8126ce7)

* android: restore notification picker discovery UX

(cherry picked from commit 276fbe3f80e036b666070a636c89ee073cdaa934)

* android: enforce notification forwarding policy in listener

(cherry picked from commit 502fb761e05ff911ebde2771eebb1e175ec4dbeb)

* fix(android): harden notification quiet hours inputs

(cherry picked from commit 717d5016f52e98601e6b6d678c991c78fa5ca429)

* fix(android): polish notification forwarding settings

(cherry picked from commit ad667899dea45af70fabfd43f43fa38024def23f)

* test: normalize talk config fixture API key placeholders

* fix(android): use persisted recent packages and wall-clock policy time

* fix(android): keep notification forwarding settings editable

* fix: finalize android notification forwarding controls (#40175) (thanks @nimbleenigma)

---------

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
8 months ago
lixuankai f0a57fad42
fix: isolate device chat defaults (#53752) (thanks @lixuankai)
* [feat]Multiple nodes session context isolated from each other

* feat(android): Multiple nodes session context isolated from each other

* feat(android): Multiple nodes session context isolated from each other

* feat(android): Multiple nodes session context isolated from each other

* fix(android): isolate device chat defaults

---------

Co-authored-by: lixuankai <lixuankai@oppo.com>
Co-authored-by: Ayaan Zaidi <hi@obviy.us>
8 months ago
Ayaan Zaidi 29b6e27c9e
fix(android): auto-send voice turns on silence 8 months ago
Ayaan Zaidi a7b8034a2b
fix(android): use native tts in voice tab 8 months ago
Vincent Koc 8b02ef1332
fix(android): gate canvas bridge to trusted pages (#52722)
* fix(android): gate canvas bridge to trusted pages

* fix(changelog): note android canvas bridge gating

* Update apps/android/app/src/main/java/ai/openclaw/app/node/CanvasActionTrust.kt

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* fix(android): snapshot canvas URL on UI thread

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
8 months ago
Kaneki d551d8b8f7
fix: make Android current-location callback cancellation-safe (#52318) (thanks @Kaneki-x)
* Android: make current-location callback cancellation-safe

* fix: make Android current-location callback cancellation-safe (#52318) (thanks @Kaneki-x)

---------

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
8 months ago
Kaneki c7788773bf
fix: serialize TalkModeManager player cleanup (#52310) (thanks @Kaneki-x)
* Android: fix MediaPlayer double-release race in TalkModeManager

* Android: guard currentPosition read against concurrent player release

* fix: serialize TalkModeManager player cleanup

* fix: serialize TalkModeManager player cleanup (#52310) (thanks @Kaneki-x)

---------

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
8 months ago
Felippe Mercurio 8790c54635
fix(android): use scheme default port for gateway setup URLs (#43540)
* fix(android): use scheme default port for gateway setup URLs

* test(android): cover gateway endpoint default ports

* fix(android): preserve direct gateway default port

* fix(android): preserve explicit cleartext port display

* fix: preserve Android gateway setup URL ports (#43540) (thanks @fmercurio)

---------

Co-authored-by: clawdia <clawdia@fmercurio.tech>
Co-authored-by: Ayaan Zaidi <hi@obviy.us>
8 months ago
Goweii e7e4c68caf
Android: update status bar appearance in OpenClawTheme (#51098)
* Android: update status bar appearance in OpenClawTheme

* fix: update Android status bar appearance (#51098) (thanks @goweii)

---------

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
8 months ago
Kaneki 1e98dbcad3
Android: fix Bitmap memory leaks in PhotosHandler (#41888)
* Android: fix Bitmap memory leaks in PhotosHandler

Bitmaps created by decodeScaledBitmap and intermediate scaled copies
inside encodeJpegUnderBudget were never recycled, leaking native memory
on every photos.latest invocation (up to 20 bitmaps per call).

- latest(): wrap bitmap usage in try/finally to guarantee recycle
- decodeScaledBitmap(): recycle the decoded bitmap after scaling
- encodeJpegUnderBudget(): use try/finally to recycle intermediate
  scaled bitmaps on all exit paths (success, compress failure, and
  cannot-shrink-further early returns)

Made-with: Cursor

* Android: guard decodeScaledBitmap against scale() exceptions

* fix: note Android photos bitmap cleanup (#41888) (thanks @Kaneki-x)

---------

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
8 months ago
Kaneki 2909d8cd12
Android: fix Bitmap memory leaks in CanvasController snapshots (#41889)
* Android: fix Bitmap memory leaks in CanvasController snapshots

snapshotPngBase64() and snapshotBase64() create bitmaps via
captureBitmap() and scaleForMaxWidth() but never recycle them,
leaking native memory on every canvas snapshot invocation.

Wrap both methods in nested try/finally blocks:
- outer: always recycles the captured bitmap
- inner: recycles the scaled bitmap only when it differs from the
  captured one (scaleForMaxWidth returns `this` when no scaling needed)

Made-with: Cursor

* fix: note Android canvas snapshot bitmap leak in changelog (#41889) (thanks @Kaneki-x)

---------

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
8 months ago
Kaneki 88da51d91b
Android: fix temp file leak in CameraHandler.handleClip (#41890)
* Android: fix temp file leak in CameraHandler.handleClip

When readBytes() throws (IOException, OOM, etc.), the recorded clip
file was never deleted because delete() only ran on the success path.

Move file.delete() into a finally block so the temp file is cleaned up
regardless of whether readBytes() succeeds or fails.

Made-with: Cursor

* fix: Android camera clip cleanup (#41890) (thanks @Kaneki-x)

---------

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
8 months ago
kaneki f7866c1c15 Android: escape SQL LIKE wildcards in contacts search query
The contacts search passed user input directly into a LIKE pattern
without escaping % and _ characters, causing them to act as SQL
wildcards and return incorrect results.

Add an escapeLikePattern() helper that escapes \, %, and _ with a
backslash, and add ESCAPE '\' to the selection clause so SQLite
treats them as literal characters.

Made-with: Cursor
8 months ago
kaneki d38561acbe Android: fix Bitmap memory leaks in CameraCaptureManager.snap 8 months ago