Skip to content

android: fold, posture, display and rotation controls #355

Open

Description

@ElbertePlinio

Part of #350.

Problem

Foldables and tablets break layouts that phones never show, and a session cannot change the device shape. The emulator now supports adb emu fold, unfold, posture, resize-display and rotate. avdmanager offers Resizable, foldable and tablet profiles. Supported postures differ per profile.

Acceptance criteria

  • A session can start on a foldable, tablet or Resizable profile through the existing AVD device argument.
  • The agent can change the fold state, posture, display preset and rotation. Each change reports the observed state.
  • An operation the current profile does not support returns an explicit error.
  • A test keeps a navigation or form state across one fold and unfold.
  • The device returns to the session defaults after success or failure.

Checklist

  • Confirm the commands on the emulator versions Pickforge supports
  • One tool, or new parameters on an existing tool
  • Observed-state readback
  • Tests on a foldable and a Resizable profile
  • Docs

Out of scope: font scale, dark mode and locale. #356 covers them as recipes first.

Activity

  1. added
    enhancement
    on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions