| CPC G06F 3/1454 (2013.01) | 16 Claims |

|
1. An electronic device comprising:
communication circuitry;
a display;
at least one processor; and
memory storing instructions that, when executed by the at least one processor, cause the electronic device to:
synchronize the electronic device with an external device,
transmit, through the communication circuitry, first mirroring information to the external device for mirroring a first execution screen of an application displayed on the display in a first size,
while the first execution screen of the application is displayed on the display in the first size, identify an occurrence of a notification event,
based on the occurrence of the notification event, determine whether a notification is allowed during the mirroring,
based on determining that the notification is allowed, determine whether at least one configured condition for changing a size of the first execution screen from the first size to a second size is satisfied,
receive, from the external device, a mirroring control command,
based on the at least one configured condition being satisfied, change the size of the first execution screen from the first size to the second size smaller than the first size and display the first execution screen in the second size according to the mirroring control command, wherein the first execution screen displayed in the second size is displayed as a pop-up screen in a partial area of the display, and
while the pop-up screen is displayed on the display, transmit, to the external device, second mirroring information for mirroring only the first execution screen displayed in the second size without mirroring the notification, in replacement of the first mirroring information, so that the external device continues to mirror only the first execution screen displayed on the partial area of the display.
|