Disable demo mode for stumpy_moblab

BUG=chromium:349621
TEST=Manual; demo mode should be off.

Change-Id: I9d3022b140747ecbb2653efb599b498db4aa79fe
Reviewed-on: https://chromium-review.googlesource.com/189277
Reviewed-by: Chris Masone <cmasone@chromium.org>
Commit-Queue: Jay Kim <yongjaek@chromium.org>
Tested-by: Jay Kim <yongjaek@chromium.org>
diff --git a/session_manager_setup.sh b/session_manager_setup.sh
index 31a185e..c5de5a2 100755
--- a/session_manager_setup.sh
+++ b/session_manager_setup.sh
@@ -419,6 +419,13 @@
   DEVELOPER_MODE_FLAG="--system-developer-mode"
 fi
 
+# TODO(yongjaek): Remove the following flag when the kiosk mode app is ready
+# at crbug.com/309806.
+DISABLE_DEMO_MODE_FLAG=
+if use_flag_is_set moblab; then
+  DISABLE_DEMO_MODE_FLAG="--disable-demo-mode"
+fi
+
 # There has been a steady supply of bug reports about screen locking. These
 # messages are useful for determining what happened within feedback reports.
 add_vmodule_pattern "screen_locker=1"
@@ -502,4 +509,5 @@
             ${GPU_FLAGS} \
             ${VIDEO_FLAGS} \
             ${OZONE_FLAGS} \
-            ${DEVELOPER_MODE_FLAG}
+            ${DEVELOPER_MODE_FLAG} \
+            ${DISABLE_DEMO_MODE_FLAG}