aboutsummaryrefslogtreecommitdiff
path: root/PRESUBMIT.cfg
diff options
context:
space:
mode:
authorRahul Chaturvedi <rkc@google.com>2017-04-21 18:21:23 -0400
committerSen Jiang <senj@google.com>2017-12-28 14:34:12 -0800
commitb91af3b238d0e3dc69a736f4977b65ce6bb264ff (patch)
tree198fb283364f16d599e1d5ce7a8ff2551c35a732 /PRESUBMIT.cfg
parent826000b5280e3c8527a09965d638962fc3ed5cc3 (diff)
downloadlibbrillo-b91af3b238d0e3dc69a736f4977b65ce6bb264ff.tar.gz
libbrillo: Add functionality to get the app id of a kiosk app.
This CL adds the functionality to libpolicy to return the ID of the auto-launched kiosk app, if one exists in the device policy. BUG=chromium:707892 TEST=automated Change-Id: Ia8fd1836c288be8a12a7b3fbd2e064e71cd118fe Reviewed-on: https://chromium-review.googlesource.com/486241 Commit-Ready: Rahul Chaturvedi <rkc@chromium.org> Tested-by: Rahul Chaturvedi <rkc@chromium.org> Reviewed-by: Rahul Chaturvedi <rkc@chromium.org> (cherry picked from commit d6d6f31b3988e21d0a5b50977ef7befedf339b55)
Diffstat (limited to 'PRESUBMIT.cfg')
-rw-r--r--PRESUBMIT.cfg6
1 files changed, 6 insertions, 0 deletions
diff --git a/PRESUBMIT.cfg b/PRESUBMIT.cfg
new file mode 100644
index 0000000..60456a2
--- /dev/null
+++ b/PRESUBMIT.cfg
@@ -0,0 +1,6 @@
+[Hook Overrides]
+cros_license_check: true
+
+[Hook Overrides Options]
+# policy_all and policy_none files are data files
+cros_license_check: --exclude_regex=\bpolicy_(?:all|none)$