~aleteoryx/muditaos

ref: e433e8dd033c0212b6b906ee6ff5743f4994135e muditaos/module-services/service-appmgr/doc/auto-lock/auto_lock_activity_detection.puml -rw-r--r-- 505 bytes
e433e8dd — GravisZro Fix transparent backgrounds in PlantUML 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
@startuml
skinparam BackgroundColor F0F0F0

participant "AutoLock Timer" as timer
participant "PhoneLock Handler" as lock
participant "Application Manger" as apm
participant "Event Manager" as evnt
actor "User" as user

user -> evnt : key press/release
activate evnt
evnt->evnt : process event
evnt->apm : PreventBlockingRequest
deactivate evnt
activate apm

apm->lock : isLocked
activate lock
lock-->apm : response
deactivate lock

alt [ Not locked ]
apm -> timer : (re)start
activate timer
end

@enduml