Change "More details" to "Learn more" in policy transparency dialog.
Screenshot: https://screenshot.googleplex.com/5xrwW3g29qa.png Bug: 77618738 Test: none Change-Id: I464f492cd6b1468b85b5a691c29ae7a982ecebff
This commit is contained in:
@@ -72,7 +72,7 @@ public class ActionDisabledByAdminDialogHelper {
|
||||
mRestriction);
|
||||
return builder
|
||||
.setPositiveButton(R.string.okay, null)
|
||||
.setNeutralButton(R.string.admin_more_details,
|
||||
.setNeutralButton(R.string.learn_more,
|
||||
(dialog, which) -> {
|
||||
showAdminPolicies(mEnforcedAdmin, mActivity);
|
||||
mActivity.finish();
|
||||
|
@@ -107,7 +107,7 @@ public class EnterprisePrivacyFeatureProviderImpl implements EnterprisePrivacyFe
|
||||
disclosure.append(mResources.getString(R.string.do_disclosure_generic));
|
||||
}
|
||||
disclosure.append(mResources.getString(R.string.do_disclosure_learn_more_separator));
|
||||
disclosure.append(mResources.getString(R.string.do_disclosure_learn_more),
|
||||
disclosure.append(mResources.getString(R.string.learn_more),
|
||||
new EnterprisePrivacySpan(mContext), 0);
|
||||
return disclosure;
|
||||
}
|
||||
|
@@ -92,7 +92,7 @@ public class WifiScanningRequiredFragment extends InstrumentedDialogFragment imp
|
||||
void addButtonIfNeeded(AlertDialog.Builder builder) {
|
||||
// Only show "learn more" if there is a help page to show
|
||||
if (!TextUtils.isEmpty(getContext().getString(R.string.help_uri_wifi_scanning_required))) {
|
||||
builder.setNeutralButton(R.string.do_disclosure_learn_more, this);
|
||||
builder.setNeutralButton(R.string.learn_more, this);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user