From 365bf65b8b9ffb0cab42c4c51d7eab3304c5d87b Mon Sep 17 00:00:00 2001 From: Darrell Shi Date: Tue, 2 Nov 2021 16:38:11 +0000 Subject: [PATCH] Add communal mode trusted networks key to settings. Test: manual Bug: 204887192 Change-Id: I03602616f06078461cab408071a37d448e1f05aa --- core/java/android/provider/Settings.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 9d4a24936eb80..f4d081cc0aa7d 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -10266,6 +10266,15 @@ public final class Settings { */ public static final String COMMUNAL_MODE_PACKAGES = "communal_mode_packages"; + /** + * An array of SSIDs of Wi-Fi networks that, when connected, are considered safe to enable + * the communal mode. + * + * @hide + */ + public static final String COMMUNAL_MODE_TRUSTED_NETWORKS = + "communal_mode_trusted_networks"; + /** * These entries are considered common between the personal and the managed profile, * since the managed profile doesn't get to change them.