android: fix a regression with remote program (#4091)

Commit 54a7d799d1 introduced a problem
where /app was used instead of /shell causing a black screen when remote
programs were used. The Android client doesn't support remote apps
therefore /app can't work. "Remote program" just sets the selected
program as shell to run.
This commit is contained in:
Bernhard Miklautz 2017-08-16 13:28:11 +02:00 committed by akallabeth
parent ba9227d801
commit 1e54fdb5c2

View File

@ -201,7 +201,7 @@ public class LibFreeRDP {
args.add(addFlag("glyph-cache", false));
if (!advanced.getRemoteProgram().isEmpty()) {
args.add("/app:" + advanced.getRemoteProgram());
args.add("/shell:" + advanced.getRemoteProgram());
}
if (!advanced.getWorkDir().isEmpty()) {