mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-06-17 06:10:58 +00:00
Properly handle failed app start
This commit is contained in:
@@ -240,7 +240,10 @@ public class NvConnection {
|
|||||||
context.connListener.stageStarting(appName);
|
context.connListener.stageStarting(appName);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
startApp();
|
if (!startApp()) {
|
||||||
|
context.connListener.stageFailed(appName, 0);
|
||||||
|
return;
|
||||||
|
}
|
||||||
context.connListener.stageComplete(appName);
|
context.connListener.stageComplete(appName);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
|||||||
Reference in New Issue
Block a user