CPC G06F 3/1423 (2013.01) [G06T 1/20 (2013.01); G09G 5/001 (2013.01); G09G 5/006 (2013.01); H04M 1/724 (2021.01); G09G 2356/00 (2013.01); G09G 2360/04 (2013.01); H04M 1/0254 (2013.01)] | 16 Claims |
1. An electronic device, comprising:
a plurality of hardware components;
a first display;
a second display;
at least one processor; and
memory storing instructions that, when executed by the at least one processor, cause the electronic device to:
allocate a first set of resources including at least one first available hardware component selected from the plurality of hardware components, to the first display,
allocate a second set of resources including at least one second available hardware component selected from the plurality of hardware components, to the second display,
in response to executing an application, determine whether an execution screen of the application is displayed on the first display or the second display,
when the execution screen of the application is displayed on the first display, assign a first access right for the first set of resources to the application, and
when the execution screen of the application is displayed on the second display, assign a second access right for the second set of resources to the application,
wherein the instructions, when executed by the at least one processor, cause the electronic device to:
when the first access right is assigned to the executed application, allow the application access to the at least one first available hardware component and restrict the application access to a remaining hardware component other than the at least one first available hardware component from among the plurality of hardware components, while the application is executed, and
when the second access right is assigned to the executed application, allow the application access to the at least one second available hardware component and restrict the application access to remaining hardware component other than the at least one second available hardware component from among the plurality of hardware components, while the application is executed.
|