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

推荐订阅源

D
DataBreaches.Net
IT之家
IT之家
The Cloudflare Blog
Apple Machine Learning Research
Apple Machine Learning Research
WordPress大学
WordPress大学
N
Netflix TechBlog - Medium
阮一峰的网络日志
阮一峰的网络日志
P
Proofpoint News Feed
L
LangChain Blog
博客园 - Franky
美团技术团队
J
Java Code Geeks
Microsoft Security Blog
Microsoft Security Blog
博客园 - 叶小钗
小众软件
小众软件
Y
Y Combinator Blog
B
Blog RSS Feed
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
Docker
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
Vercel News
Vercel News

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
fix(android): remove photo library access from play build...
obviyus · 2026-05-19 · via Recent Commits to openclaw:main

@@ -252,6 +252,7 @@ fun OnboardingFlow(

252252

context.packageManager?.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) == true

253253

}

254254

val callLogAvailable = remember { SensitiveFeatureConfig.callLogEnabled }

255+

val photosAvailable = remember { SensitiveFeatureConfig.photosEnabled }

255256

val motionAvailable =

256257

remember(context) {

257258

hasMotionCapabilities(context)

@@ -325,7 +326,7 @@ fun OnboardingFlow(

325326

PermissionToggle.Notifications -> enableNotifications = enabled

326327

PermissionToggle.Microphone -> enableMicrophone = enabled

327328

PermissionToggle.Camera -> enableCamera = enabled

328-

PermissionToggle.Photos -> enablePhotos = enabled

329+

PermissionToggle.Photos -> enablePhotos = enabled && photosAvailable

329330

PermissionToggle.Contacts -> enableContacts = enabled

330331

PermissionToggle.Calendar -> enableCalendar = enabled

331332

PermissionToggle.Motion -> enableMotion = enabled && motionAvailable

@@ -345,7 +346,7 @@ fun OnboardingFlow(

345346

isPermissionGranted(context, Manifest.permission.POST_NOTIFICATIONS)

346347

PermissionToggle.Microphone -> isPermissionGranted(context, Manifest.permission.RECORD_AUDIO)

347348

PermissionToggle.Camera -> isPermissionGranted(context, Manifest.permission.CAMERA)

348-

PermissionToggle.Photos -> isPermissionGranted(context, photosPermission)

349+

PermissionToggle.Photos -> !photosAvailable || isPermissionGranted(context, photosPermission)

349350

PermissionToggle.Contacts ->

350351

isPermissionGranted(context, Manifest.permission.READ_CONTACTS) &&

351352

isPermissionGranted(context, Manifest.permission.WRITE_CONTACTS)

@@ -391,6 +392,7 @@ fun OnboardingFlow(

391392

enableCallLog,

392393

smsAvailable,

393394

callLogAvailable,

395+

photosAvailable,

394396

motionAvailable,

395397

) {

396398

val enabled = mutableListOf<String>()

@@ -400,7 +402,7 @@ fun OnboardingFlow(

400402

if (enableNotificationListener) enabled += "Notification listener"

401403

if (enableMicrophone) enabled += "Microphone"

402404

if (enableCamera) enabled += "Camera"

403-

if (enablePhotos) enabled += "Photos"

405+

if (photosAvailable && enablePhotos) enabled += "Photos"

404406

if (enableContacts) enabled += "Contacts"

405407

if (enableCalendar) enabled += "Calendar"

406408

if (enableMotion && motionAvailable) enabled += "Motion"

@@ -637,6 +639,7 @@ fun OnboardingFlow(

637639

enableMicrophone = enableMicrophone,

638640

enableCamera = enableCamera,

639641

enablePhotos = enablePhotos,

642+

photosAvailable = photosAvailable,

640643

enableContacts = enableContacts,

641644

enableCalendar = enableCalendar,

642645

enableMotion = enableMotion,

@@ -693,11 +696,15 @@ fun OnboardingFlow(

693696

)

694697

},

695698

onPhotosChange = { checked ->

696-

requestPermissionToggle(

697-

PermissionToggle.Photos,

698-

checked,

699-

listOf(photosPermission),

700-

)

699+

if (!photosAvailable) {

700+

setPermissionToggleEnabled(PermissionToggle.Photos, false)

701+

} else {

702+

requestPermissionToggle(

703+

PermissionToggle.Photos,

704+

checked,

705+

listOf(photosPermission),

706+

)

707+

}

701708

},

702709

onContactsChange = { checked ->

703710

requestPermissionToggle(

@@ -1401,6 +1408,7 @@ private fun PermissionsStep(

14011408

enableMicrophone: Boolean,

14021409

enableCamera: Boolean,

14031410

enablePhotos: Boolean,

1411+

photosAvailable: Boolean,

14041412

enableContacts: Boolean,

14051413

enableCalendar: Boolean,

14061414

enableMotion: Boolean,

@@ -1516,13 +1524,15 @@ private fun PermissionsStep(

15161524

onCheckedChange = onCameraChange,

15171525

)

15181526

InlineDivider()

1519-

PermissionToggleRow(

1520-

title = "Photos",

1521-

subtitle = "Access your recent photos",

1522-

checked = enablePhotos,

1523-

granted = isPermissionGranted(context, photosPermission),

1524-

onCheckedChange = onPhotosChange,

1525-

)

1527+

if (photosAvailable) {

1528+

PermissionToggleRow(

1529+

title = "Photos",

1530+

subtitle = "Access your recent photos",

1531+

checked = enablePhotos,

1532+

granted = isPermissionGranted(context, photosPermission),

1533+

onCheckedChange = onPhotosChange,

1534+

)

1535+

}

1526153615271537

PermissionSectionHeader("Personal Data")

15281538

PermissionToggleRow(