Patent ID: 11960327
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Telecommunications (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 8:
9. An electronic device, comprising one or more processors, a memory, and a foldable screen, wherein the foldable screen comprises at least a first screen and a second screen, configured to display content according to instructions of the one or more processors, the electronic device is in a folded state, the first screen of the electronic device is on, and the second screen of the electronic device is off; the memory is configured to store one or more programs that, when executed by the one or more processors, cause the electronic device to perform operations comprising:
determining a first use posture of using the electronic device is performed by a user, and locking the first screen in response to the determination of the first use posture being performed; and
upon detecting a photographing scenario of a camera and a flip operation performed by the user of the electronic device, detecting whether an object approaches the electronic device, and in response to a result of detecting whether an object approaches the electronic device, switching from performing displaying merely on the first screen to performing displaying merely on the second screen, or maintaining the first screen on and the second screen off,
wherein in response to a result of detecting whether an object approaches the electronic device, switching from performing displaying merely on the first screen to performing displaying merely on the second screen, or maintaining the first screen on and the second screen off comprises:
upon detecting that an object approaches the electronic device, maintaining the first screen on and the second screen off, and
upon detecting that no object approaches the electronic device, and when the first screen is not locked, switching from performing displaying merely on the first screen to performing displaying merely on the second screen.