Patent ID: 11868463
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 19:
20. A computer program product comprising instructions that are stored on a non-transitory computer-readable medium and that, when executed by a processor, cause an electronic device to:
display a home screen, wherein the home screen comprises an icon of a first application;
display a first interface in response to a first operation from a user on the icon;
detect, in the first interface, a first use scenario that depends on a first function of the first application;
allow the first application to use a first application permission when displaying the first interface, wherein the first application permission is pre-authorized for the first application and enables the first function;
display a second interface in response to a second operation from the user on the first interface;
detect, in the second interface, a second use scenario that depends on a second function of the first application; and
reject the first application from using the first application permission when displaying the second interface, wherein the first application permission that is pre-authorized for the first application and that enables the first function does not affect the second function.