[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. debian/0.9.5.9+git20110512-1-44-g2b0bd1a

Simon Busch morphis at gravedo.de
Tue May 15 11:58:58 UTC 2012


The following commit has been merged in the debian branch:
commit 0e7dea864c4bc2fff7d28fbe5a7361a92a487102
Author: Simon Busch <morphis at gravedo.de>
Date:   Sun Jan 1 13:39:38 2012 +0100

    Update oevents configuration of crespo (Nexus S) machine
    
    Signed-off-by: Simon Busch <morphis at gravedo.de>

diff --git a/etc/freesmartphone/oevents/crespo/rules.yaml b/etc/freesmartphone/oevents/crespo/rules.yaml
index 1e16850..7b406e9 100644
--- a/etc/freesmartphone/oevents/crespo/rules.yaml
+++ b/etc/freesmartphone/oevents/crespo/rules.yaml
@@ -23,17 +23,34 @@
 # - Debug(msg)              : Action that prints a debug message (only for debuging)
 -
     #
-    # Idleness Brightness Handling
+    # Call -> Audio Scenario Handling
     #
-    trigger: IdleState()
-    filters: HasAttr(status, "busy")
-    actions: SetDisplayBrightness("0", 90)
+    trigger: IncomingMessage()
+    actions: MessageTone(play)
+
+-
+    while: CallListContains("INCOMING")
+    filters: Not(CallListContains("ACTIVE"))
+    actions:
+             - RingTone()
+             - OccupyResource(Display)
+
 -
-    trigger: IdleState()
-    filters: HasAttr(status, "idle_dim")
-    actions: SetDisplayBrightness("0", 20)
+    while: CallStatus()
+    filters:
+            - Or(Or(HasAttr(status, "OUTGOING"), HasAttr(status, "ACTIVE")), And(HasAttr(status, "INCOMING"), CallListContains("ACTIVE")))
+            - BTHeadsetIsConnected()
+    actions:
+            - SetScenario(gsmbluetooth)
+            - BTHeadsetPlaying()   
 -
-    trigger: IdleState()
-    filters: HasAttr(status, "idle_prelock")
-    actions: SetDisplayBrightness("0", 0)
+    trigger: PowerStatus()
+    filters: HasAttr(status, "empty")
+    actions: Command('poweroff')
 -
+    trigger: InputEvent()
+    filters:
+             - HasAttr(switch, "POWER")
+             - HasAttr(event, "released")
+             - HasAttr(duration, 0)
+    actions: Command("/usr/bin/phoneui-quick-settings")

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list