Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Team Run ID: 📥 CommitsReviewing files that changed from the base of the PR and between 0365d232c39e9882ba305a5392d86e6e37b3c93b and 6e55fba. 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughThe change adds Android device capability inspection and propagates capability metadata through inventory, backend, runtime, and renderer layers. It adds posture and long-press button commands, backend target resolution, Android toolbar controls, zoom handling, center-anchored scrolling, and screenshot capture. New tests cover capability probes, RPC validation, control behavior, device mapping, zoom state, stream handling, and screenshot saving. Merge Risk: ⚪ Minimal · up to Android emulator controls, posture handling, and input coordinate updates are covered without an identified current-head merge-blocking risk. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Team
Run ID: 19a77555-d7d1-4916-b2af-7b055842f20e
📥 Commits
Reviewing files that changed from the base of the PR and between f952f1a and 0365d232c39e9882ba305a5392d86e6e37b3c93b.
📒 Files selected for processing (48)
src/main/emulator/android/android-device-control-capabilities.test.tssrc/main/emulator/android/android-device-control-capabilities.tssrc/main/emulator/android/android-device-inventory.tssrc/main/emulator/android/android-emulator-input-controller.tssrc/main/emulator/android/android-input-commands.test.tssrc/main/emulator/android/android-input-commands.tssrc/main/emulator/android/android-input-mapping.tssrc/main/emulator/backends/android-emulator-backend.test.tssrc/main/emulator/backends/android-emulator-backend.tssrc/main/emulator/backends/emulator-backend.tssrc/main/emulator/emulator-backend-resolver.tssrc/main/emulator/emulator-bridge.test.tssrc/main/emulator/emulator-bridge.tssrc/main/emulator/emulator-session-registry.test.tssrc/main/emulator/emulator-session-registry.tssrc/main/runtime/orca-runtime-emulator.tssrc/main/runtime/rpc/methods/emulator.test.tssrc/main/runtime/rpc/methods/emulator.tssrc/renderer/src/components/browser-pane/annotate/markup-screenshot-compose.tssrc/renderer/src/components/emulator-pane/EmulatorPane.test.tsxsrc/renderer/src/components/emulator-pane/EmulatorPane.tsxsrc/renderer/src/components/emulator-pane/android-emulator-toolbar-action-components.tsxsrc/renderer/src/components/emulator-pane/android-emulator-toolbar-controls.tsxsrc/renderer/src/components/emulator-pane/emulator-device-frame-layout.tssrc/renderer/src/components/emulator-pane/emulator-device-frame.tsxsrc/renderer/src/components/emulator-pane/emulator-device-row-mapping.test.tssrc/renderer/src/components/emulator-pane/emulator-device-row-mapping.tssrc/renderer/src/components/emulator-pane/emulator-pane-toolbar.test.tsxsrc/renderer/src/components/emulator-pane/emulator-pane-toolbar.tsxsrc/renderer/src/components/emulator-pane/emulator-pane-types.tssrc/renderer/src/components/emulator-pane/emulator-pane-zoom.test.tssrc/renderer/src/components/emulator-pane/emulator-pane-zoom.tssrc/renderer/src/components/emulator-pane/emulator-screen-stream-content.tsxsrc/renderer/src/components/emulator-pane/emulator-screen-surface.tsxsrc/renderer/src/components/emulator-pane/save-emulator-screenshot.test.tssrc/renderer/src/components/emulator-pane/save-emulator-screenshot.tssrc/renderer/src/components/emulator-pane/use-center-anchored-emulator-scroll.test.tsxsrc/renderer/src/components/emulator-pane/use-center-anchored-emulator-scroll.tssrc/renderer/src/components/emulator-pane/use-emulator-device-frame-layout.tssrc/renderer/src/components/emulator-pane/use-emulator-device-inventory.tssrc/renderer/src/components/emulator-pane/use-emulator-pane-controls.tssrc/renderer/src/components/emulator-pane/use-emulator-pane-session.test.tsxsrc/renderer/src/components/emulator-pane/use-emulator-pane-session.tssrc/renderer/src/components/emulator-pane/use-emulator-pane-zoom.test.tsxsrc/renderer/src/components/emulator-pane/use-emulator-video-stream.tssrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/lib/canvas-png-data-url.tssrc/shared/emulator-device-controls.ts
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review.
0365d23 to
4e930de
Compare
ELI5
The embedded Android emulator now has the everyday controls people expect from the standalone emulator, without confusing Android Power with shutting down the AVD.
What Changed
Why
Basic Android emulator use previously required CLI commands or the standalone Android Emulator window. The embedded pane should provide the same everyday controls without overloading Android Power as AVD shutdown.
Linked Issue
Fixes #18452
Visual Proof
origin/main)Testing
Pixel_9_ProAVD: Back/Home/Overview, Power short/long press, volume, both rotation directions, screenshot save/cancel, zoom modes and centered scrolling, responsive overflow, and separate shutdown.pnpm tc.pnpm run check:code-quality:changed.pnpm run build:electron-vite.git diff --check origin/main...HEAD.AI Disclosure
Review
Self-reviewed the Power-versus-shutdown separation, capability fallbacks, ADB argument construction, renderer frame hot path, cross-platform paths, mixed-version optional fields, and performance.
Agent skill upstream boundary
Notes
No repository assets were added for visual proof.
Checklist
pnpm lint,pnpm test, andpnpm buildare covered by CI