CPC G06F 3/1446 (2013.01) [G06F 3/0346 (2013.01); H04M 1/0216 (2013.01); H04M 1/0268 (2013.01); H04M 1/72454 (2021.01); H04M 2250/12 (2013.01)] | 15 Claims |
1. An electronic device comprising:
a first housing comprising a first surface and a second surface opposite to the first surface;
a second housing comprising a third surface and a fourth surface opposite to the third surface;
a hinge structure foldably connecting the first housing and the second housing to each other such that the first surface and the third surface face a same direction when the first housing and the second housing are in an unfolded state;
a first display disposed from at least a part of the first surface to at least a part of the third surface;
a second display disposed in the second housing so as to be visible from an outside through at least a part of the fourth surface;
a first sensor disposed at least partly in the first housing and configured to obtain sensor data related to movement of the first housing;
a second sensor disposed at least partly in the second housing and configured to obtain sensor data related to movement of the second housing;
a processor operatively connected with the first display, the second display, the first sensor, and the second sensor, and
memory storing instructions which, when executed by the processor, cause the electronic device to:
identify a folding angle between the first housing and the second housing by using the first sensor and the second sensor,
select the second display based on the folding angle between the first housing and the second housing being in a first range,
obtain the sensor data of the second sensor among the first sensor and the second sensor based on the folding angle between the first housing and the second housing being in the first range,
determine a display direction of a content, based on the obtained sensor data of the second sensor, and
display the content via the second display, based on the display direction of the content.
|