Cheetah Mobile Inc.
Method and device for clearing data and electronic device
Last updated:
Abstract:
A method and a device for clearing data, and an electronic device are disclosed in embodiments of the present disclosure. The method includes: launching a target application; acquiring a clearing instruction; judging whether the operation system is of a preset version or of a higher version than the preset version; judging whether an auxiliary permission is available; if the operation system is of a lower version than the preset version, or if the operation system is of the preset version or the higher version and the auxiliary permission is unavailable, triggering the target application to clear data stored in the electronic device; and if the operation system is of the preset version or of the higher version and the auxiliary permission is available, invoking a system clearing interface of the electronic device, simulating a click on the system clearing interface, so as to trigger and start a system clearing progress.
Utility
22 Feb 2018
10 Dec 2019