CPC G06F 9/4856 (2013.01) [G02B 27/0172 (2013.01); G06F 3/14 (2013.01); G02B 2027/014 (2013.01); G02B 2027/0178 (2013.01)] | 19 Claims |
1. A method performed on an augmented reality (AR) wearable device, the method comprising:
registering an uncaught exception handler;
invoking a pass-through application as a background process, the pass-through application comprising an on-resume procedure;
invoking an application as a foreground process;
in response to detecting the application is unresponsive,
invoking the on-resume procedure to switch the pass-through application as the foreground process from the background process, and
causing, by the on-resume procedure, the application to be restarted as the foreground process and the pass-through application to be switched as the background process from the foreground process; and
in response to an exception without an exception handler,
invoking the uncaught exception handler as the foreground process,
causing, by the uncaught exception handler, a process associated with the application to be terminated, and
causing, by the uncaught exception handler, the application to be restarted as the foreground process.
|