| CPC G06F 21/44 (2013.01) [G06F 21/6245 (2013.01); G06F 3/04817 (2013.01)] | 14 Claims |

|
1. A method for setting a permission of an application, for an electronic device, comprising:
detecting a first operation on a first display control, wherein the first display control is configured on a setting interface for system settings of the electronic device, a page containing the first display control is entered from a stealth functional module of a setting page by receiving a predetermined operation, the first display control is configured with a switch button, the switch button has a first state of disabling and a second state of enabling, and the switch button is switched between the first state and the second state based on an operation on the switch button;
switching the switch button from the first state to the second state in response to detecting the first operation on the first display control and controlling a permission of a predetermined application to be invalid; wherein, the permission comprises a permission capable of using the predetermined application or a permission incapable of using the predetermined application; and disabling launching the predetermined application in response to the invalid permission;
detecting a second operation on the first display control; and
switching the switch button from the second state to the first state in response to detecting the second operation on the first display control and controlling the permission to be valid,
wherein the method further comprises:
displaying prompt information incapable of using the predetermined application with a second display control in response to the invalid permission and detecting a request to use the predetermined application, wherein a third operation on the second display causes the electronic device to display a display interface including triggering and displaying the first display control or a third display control to control the permission of the predetermined application.
|