Commit bcca54ca authored by Kenji Bungo's avatar Kenji Bungo
Browse files

negative QBERT broadcasts only occur if qbert has been inited once. moved...

negative QBERT broadcasts only occur if qbert has been inited once. moved intent actions up for documentation.
parent 95fe6f8b
......@@ -218,9 +218,13 @@
<receiver android:name=".BridgeBroadcastReceiver">
<intent-filter>
<!-- New calls ON scorpio FOR QBERT integration -->
<!-- act as a hook for hivecommands to be able to set settings value, -->
<action android:name="com.buzztime.bridge.ENABLE_QBERT_INTEGRATION" />
<action android:name="com.buzztime.bridge.DISABLE_QBERT_INTEGRATION" />
<!-- New calls for qbert-->
<action android:name="com.buzztime.bridge.START_THEATER_MODE" />
<action android:name="com.buzztime.bridge.STOP_THEATER_MODE" />
<action android:name="com.buzztime.bridge.START_THEATRE_MODE" />
<action android:name="com.buzztime.bridge.STOP_THEATRE_MODE" />
<!-- New calls for scorpio-->
<action android:name="com.buzztime.bridge.START_MQTT_BROKER" />
<action android:name="com.buzztime.bridge.STOP_MQTT_BROKER" />
......@@ -283,10 +287,6 @@
<action android:name="com.buzztime.bridge.SHUTDOWN" />
<action android:name="com.buzztime.bridge.START_KIOSK_MODE" />
<action android:name="com.buzztime.bridge.STOP_KIOSK_MODE" />
<action android:name="com.buzztime.bridge.START_THEATRE_MODE" />
<action android:name="com.buzztime.bridge.STOP_THEATRE_MODE" />
<action android:name="com.buzztime.bridge.ENABLE_QBERT_INTEGRATION" />
<action android:name="com.buzztime.bridge.DISABLE_QBERT_INTEGRATION" />
<action android:name="com.buzztime.bridge.START_LOGCAT" />
<action android:name="com.buzztime.bridge.SetAdminPINResult" />
<action android:name="com.buzztime.bridge.SetLocaleResult" />
......
......@@ -1264,7 +1264,7 @@ public class BridgeBroadcastReceiver extends BroadcastReceiver {
if (qbert){
context.sendBroadcastAsUser(new Intent("com.buzztime.qbert.STOP_SERVICES"), UserHandle.OWNER);
}
else{
else if( SystemProperties.getBoolean("debug.qbert.init", false)){
context.sendBroadcastAsUser(new Intent("com.buzztime.bridge.KIOSK_INACTIVE"), UserHandle.OWNER);
}
}
......@@ -1383,7 +1383,7 @@ public class BridgeBroadcastReceiver extends BroadcastReceiver {
} else
context.sendBroadcastAsUser(new Intent("com.buzztime.qbert.START_KIOSK"), UserHandle.OWNER);
}
else{
else if( SystemProperties.getBoolean("debug.qbert.init", false)){
context.sendBroadcastAsUser(new Intent("com.buzztime.bridge.KIOSK_ACTIVE"), UserHandle.OWNER);
}
}
......@@ -1429,7 +1429,7 @@ public class BridgeBroadcastReceiver extends BroadcastReceiver {
if (qbert){
context.sendBroadcastAsUser(new Intent("com.buzztime.qbert.STOP_SERVICES"), UserHandle.OWNER);
}
else{
else if( SystemProperties.getBoolean("debug.qbert.init", false)){
context.sendBroadcastAsUser(new Intent("com.buzztime.bridge.THEATRE_INACTIVE"), UserHandle.OWNER);
}
}
......@@ -1546,7 +1546,7 @@ public class BridgeBroadcastReceiver extends BroadcastReceiver {
} else
context.sendBroadcastAsUser(new Intent("com.buzztime.qbert.START_THEATRE"), UserHandle.OWNER);
}
else{
else if( SystemProperties.getBoolean("debug.qbert.init", false)){
context.sendBroadcastAsUser(new Intent("com.buzztime.bridge.THEATRE_ACTIVE"), UserHandle.OWNER);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment