From 3434e72f3116bf9514ca88a903b7e60b85f7a750 Mon Sep 17 00:00:00 2001 From: yuemingw Date: Mon, 26 Mar 2018 14:18:10 +0100 Subject: [PATCH] Auto time should show dynamic subtext when restricted. Auto time preference should show dynamic subtext corresponding to the current status of auto time when it's restricted, instead of hard code "enabled by admin", as it could either be enabled or disabled when disallow_config_date_time is set. Bug: 73811933 Test: manually by TestDPC Change-Id: Ia7181e8a67ccfe72117f95133e9081375c121fe3 --- res/xml/date_time_prefs.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/res/xml/date_time_prefs.xml b/res/xml/date_time_prefs.xml index 324918986a6..511b39fea48 100644 --- a/res/xml/date_time_prefs.xml +++ b/res/xml/date_time_prefs.xml @@ -30,7 +30,6 @@ android:summaryOn="@string/date_time_auto_summaryOn" android:summaryOff="@string/date_time_auto_summaryOff" settings:useAdditionalSummary="true" - settings:restrictedSwitchSummary="@string/enabled_by_admin" settings:userRestriction="no_config_date_time" />