| CPC G06F 9/453 (2018.02) [G06F 11/34 (2013.01)] | 18 Claims |

|
1. An electronic device, comprising:
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:
receiving a user input requesting that a digital assistant initiate a task;
causing an application to initiate performance of the task;
generating a first task response with a first user interface;
in accordance with a determination that the task is associated with a second user interface, determining whether the electronic device is in a lock state;
in accordance with a determination that the electronic device is in a lock state:
allowing the application to display a second task response with the second user interface;
determining whether the second first task response has been successfully displayed with the second user interface;
in accordance with a determination that the second task response has been successfully displayed, suppressing the first task response; and
in accordance with a determination that the second task response has not been successfully displayed, displaying the first task response with the first user interface; and
in accordance with a determination that the electronic device is not in a lock state, displaying the first task response with the first user interface.
|