CPC G06F 21/629 (2013.01) | 20 Claims |
1. A method, comprising:
detecting, by an electronic device, an update event of first application information, wherein the first application information is a widget or a notification message, and the first application information corresponds to a first application in a correspondence; and
displaying, by the electronic device, a locking view over the first application information when the electronic device determines, in response to the update event of the first application information, that the first application is locked by an application lock, wherein displaying, by the electronic device, the locking view over the first application information when the electronic device determines that the first application is locked by the application lock comprises displaying, by the electronic device, the locking view over the first application information when the electronic device determines that the first application is locked by the application lock and the first application is in a locked state, wherein determining, by the electronic device, that the first application is in the locked state comprises:
determining, by the electronic device, that a time between a current moment and a moment at which the application lock of the first application is successfully unlocked most recently exceeds a first preset time period, and
performing, by the electronic device, one or more items of screen locking after determining that the application lock of the first application is successfully unlocked most recently.
|