惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
博客园 - 司徒正美
V
Visual Studio Blog
博客园 - 【当耐特】
T
Tailwind CSS Blog
美团技术团队
博客园 - 叶小钗
Jina AI
Jina AI
宝玉的分享
宝玉的分享
IT之家
IT之家
Hugging Face - Blog
Hugging Face - Blog
雷峰网
雷峰网
Stack Overflow Blog
Stack Overflow Blog
博客园_首页
人人都是产品经理
人人都是产品经理
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
Microsoft Security Blog
Microsoft Security Blog
Y
Y Combinator Blog
GbyAI
GbyAI
大猫的无限游戏
大猫的无限游戏
Martin Fowler
Martin Fowler
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
refactor(android): remove stale canvas and overlay helper...
vincentkoc · 2026-06-23 · via Recent Commits to openclaw:main

File tree

  • apps/android/app/src/main/java/ai/openclaw/app

Original file line numberDiff line numberDiff line change

@@ -279,28 +279,6 @@ class GatewaySession(

279279

}

280280

}

281281
282-

private suspend fun refreshPluginSurfaceUrl(

283-

method: String,

284-

params: JsonElement?,

285-

timeoutMs: Long,

286-

): String? {

287-

val conn = currentConnection ?: return null

288-

return try {

289-

val res = conn.request(method, params, timeoutMs)

290-

if (!res.ok) return null

291-

val obj = res.payloadJson?.let { json.parseToJsonElement(it).asObjectOrNull() } ?: return null

292-

val raw =

293-

obj["pluginSurfaceUrls"]

294-

.asObjectOrNull()

295-

?.get("canvas")

296-

.asStringOrNull()

297-

normalizeCanvasHostUrl(raw, conn.endpoint, isTlsConnection = conn.tls != null)

298-

} catch (err: Throwable) {

299-

Log.d("OpenClawGateway", "$method failed: ${err.message ?: err::class.java.simpleName}")

300-

null

301-

}

302-

}

303-
304282

/** Sends node.event and preserves the gateway RPC error shape for callers that need diagnostics. */

305283

suspend fun sendNodeEventDetailed(

306284

event: String,

Original file line numberDiff line numberDiff line change

@@ -9,14 +9,10 @@ import androidx.compose.material3.dynamicLightColorScheme

99

import androidx.compose.runtime.Composable

1010

import androidx.compose.runtime.CompositionLocalProvider

1111

import androidx.compose.runtime.SideEffect

12-

import androidx.compose.runtime.staticCompositionLocalOf

13-

import androidx.compose.ui.graphics.Color

1412

import androidx.compose.ui.platform.LocalContext

1513

import androidx.compose.ui.platform.LocalView

1614

import androidx.core.view.WindowCompat

1715
18-

private val LocalOpenClawDarkTheme = staticCompositionLocalOf { true }

19-
2016

/**

2117

* App theme wrapper that installs dynamic Material colors and legacy mobile color tokens.

2218

*/

@@ -34,7 +30,6 @@ fun OpenClawTheme(

3430
3531

CompositionLocalProvider(

3632

LocalMobileColors provides mobileColors,

37-

LocalOpenClawDarkTheme provides isDark,

3833

) {

3934

MaterialTheme(colorScheme = colorScheme, content = content)

4035

}

@@ -55,15 +50,3 @@ internal fun OpenClawSystemBarAppearance(lightAppearance: Boolean) {

5550

}

5651

}

5752

}

58-
59-

/**

60-

* Overlay background token tuned for panels floating over the mobile canvas.

61-

*/

62-

@Composable

63-

fun overlayContainerColor(): Color {

64-

val scheme = MaterialTheme.colorScheme

65-

val isDark = LocalOpenClawDarkTheme.current

66-

val base = if (isDark) scheme.surfaceContainerLow else scheme.surfaceContainerHigh

67-

// Light mode keeps overlays away from pure-white glare on the app canvas.

68-

return if (isDark) base else base.copy(alpha = 0.88f)

69-

}