mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-21 07:46:57 +00:00
Properly handle failed app start
This commit is contained in:
1 parent
f61540c099
commit
6995a27126
1 file changed
+4
-1
@@ -240,7 +240,10 @@ public class NvConnection {
|
||||
context.connListener.stageStarting(appName);
|
||||
|
||||
try {
|
||||
startApp();
|
||||
if (!startApp()) {
|
||||
context.connListener.stageFailed(appName, 0);
|
||||
return;
|
||||
}
|
||||
context.connListener.stageComplete(appName);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
|
||||
Reference in new issue
Block a user