Deactivate managed-guest session warnings via a policy
Added ManagedGuestSessionAutoPrivacyWarningsEnabled device
policy to control the privacy warnings on both;
the login screen & inside auto-launched sessions.
Bug: 1097147
Change-Id: Ia7f3e14f971276329368b84ab842bb77a2f203cd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2254605
Commit-Queue: Aya Elsayed <[email protected]>
Auto-Submit: Aya Elsayed <[email protected]>
Reviewed-by: Avi Drissman <[email protected]>
Reviewed-by: Ahmed Fakhry <[email protected]>
Reviewed-by: Sergey Poromov <[email protected]>
Cr-Commit-Position: refs/heads/master@{#781024}
diff --git a/ash/ash_prefs.cc b/ash/ash_prefs.cc
index c0aaaea..954a17d8 100644
--- a/ash/ash_prefs.cc
+++ b/ash/ash_prefs.cc
@@ -13,6 +13,7 @@
#include "ash/display/privacy_screen_controller.h"
#include "ash/keyboard/keyboard_controller_impl.h"
#include "ash/login/login_screen_controller.h"
+#include "ash/login/ui/login_expanded_public_account_view.h"
#include "ash/magnifier/docked_magnifier_controller_impl.h"
#include "ash/media/media_controller_impl.h"
#include "ash/public/cpp/ash_pref_names.h"
@@ -83,6 +84,7 @@
DetachableBaseHandler::RegisterPrefs(registry);
PowerPrefs::RegisterLocalStatePrefs(registry);
DisplayPrefs::RegisterLocalStatePrefs(registry);
+ LoginExpandedPublicAccountView::RegisterLocalStatePrefs(registry);
TopShortcutsView::RegisterLocalStatePrefs(registry);
}