Always start new applications on the freeform stack
This commit is contained in:
parent
972260b76c
commit
e75940711b
4 changed files with 10 additions and 9 deletions
|
|
@ -83,12 +83,16 @@ void AndroidApiSkeleton::launch_application(anbox::protobuf::bridge::LaunchAppli
|
|||
(void) response;
|
||||
|
||||
std::string intent = request->package_name();
|
||||
intent += "/";
|
||||
intent += request->activity();
|
||||
if (request->has_activity()) {
|
||||
intent += "/";
|
||||
intent += request->activity();
|
||||
}
|
||||
|
||||
std::vector<std::string> argv = {
|
||||
"/system/bin/am",
|
||||
"start",
|
||||
// Launch any applications always in freeform stack
|
||||
"--stack", "2",
|
||||
intent,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue