summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-03-27 07:47:10 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-03-27 07:47:10 +0000
commit4923d312cf6cb826b969a9d759415c506bfc06d4 (patch)
treef887d7abd05ed1434ef0d279c43652fc70d72217
parent0881b3863a854a48d1f877c84cc7dada6737a3e5 (diff)
parentc7878430bc99cc5c3661a11451c9a4e8b27fdb57 (diff)
downloadCaptivePortalLogin-4923d312cf6cb826b969a9d759415c506bfc06d4.tar.gz
Merge "Add an experiment flag to switch to CCT when connecting to captive portal networks." into main
-rwxr-xr-xsrc/com/android/captiveportallogin/CaptivePortalLoginFlags.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/com/android/captiveportallogin/CaptivePortalLoginFlags.java b/src/com/android/captiveportallogin/CaptivePortalLoginFlags.java
new file mode 100755
index 0000000..6b955cf
--- /dev/null
+++ b/src/com/android/captiveportallogin/CaptivePortalLoginFlags.java
@@ -0,0 +1,28 @@
+/*
+ * Copyright (C) 2024 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.android.captiveportallogin;
+
+/**
+ * Collection of experiment flags used in the CaptivePortalLogin module.
+ */
+public class CaptivePortalLoginFlags {
+ /**
+ * Experiment flag to create Android Custom Tabs instead of WebView to display the
+ * captive portal when connecting to a network that presents a captive portal.
+ */
+ public static final String CAPTIVE_PORTAL_CUSTOM_TABS = "captive_portal_custom_tabs";
+}