aboutsummaryrefslogtreecommitdiffstats
path: root/docs/04_Developer_Guides/images/application_switching.msc
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2023-02-22 18:29:42 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-03-27 11:59:23 +0000
commit4519860f6b652ee0d9a742746e658dd2a8db7012 (patch)
tree6424757ec0d6d0d585c5437544338834e1372374 /docs/04_Developer_Guides/images/application_switching.msc
parentf0b23d2cb866ec069e25914eb942c16ea1815a60 (diff)
01_Application_Framework: Add an extended version of app startupoctopus_15.0.1octopus/15.0.115.0.1
And activation, that describes in more detail how that is handled. Bug-AGL: SPEC-4700 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I5f9a2764d66947c06bf8dc346dfaef72d993733f (cherry picked from commit 440ceea55588e2e59e1defd892d29c094798c47a) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/documentation/+/28542 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'docs/04_Developer_Guides/images/application_switching.msc')
-rwxr-xr-xdocs/04_Developer_Guides/images/application_switching.msc29
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/04_Developer_Guides/images/application_switching.msc b/docs/04_Developer_Guides/images/application_switching.msc
new file mode 100755
index 0000000..ceeab7c
--- /dev/null
+++ b/docs/04_Developer_Guides/images/application_switching.msc
@@ -0,0 +1,29 @@
+#!/usr/bin/mscgen -Tpng
+
+msc {
+ hscale="1.5";
+
+ u [label = "touch/pointer event" ],
+ l [label = "launcher app" ],
+ s [label = "runtime/shell-client"],
+ a [label = "applaunchd" ],
+ g [label = "gRPC-proxy" ],
+ c [label = "compositor" ],
+ d [label = "libsystemd"];
+
+ |||;
+
+ --- [label = "initial phase - subscribe for signal/status events, assume app_id already started" ];
+
+ s >> a [label = "subscribe for applaunchd GetStatusEvents"];
+
+ --- [label = "handling of application switching" ];
+
+ u => l [label = "tapShortCut(appid)" ];
+ l => a [label = "StartApplication(appid)"];
+ a => d [label = "start application's systemd unit"];
+ d => a [label = "return status from starting systemd unit"];
+ a => s [label = "StartResponse(status = TRUE)"];
+ a => s [label = "StatusResponse(app_id, 'started')"];
+ s => c [label = "activate_app(app_id)"];
+}