Show a different Root CA string for device owner
Bug: 28627835 Change-Id: Iab750dbe7099336b664ef66892cbf2c1b89a9e8e
This commit is contained in:
@@ -5299,7 +5299,12 @@
|
|||||||
<item quantity="one">Trust or remove certificate</item>
|
<item quantity="one">Trust or remove certificate</item>
|
||||||
<item quantity="other">Trust or remove certificates</item>
|
<item quantity="other">Trust or remove certificates</item>
|
||||||
</plurals>
|
</plurals>
|
||||||
<!-- Text of message to show to users whose administrator has installed a SSL CA Cert. [CHAR LIMIT=NONE] -->
|
<!-- Text of message to show to device owner user whose administrator has installed a SSL CA Cert. [CHAR LIMIT=NONE] -->
|
||||||
|
<plurals name="ssl_ca_cert_info_message_device_owner">
|
||||||
|
<item quantity="one"><xliff:g id="managing_domain">%s</xliff:g> has installed a certificate authority on your device, which may allow them to monitor your device network activity, including emails, apps, and secure websites. You can choose to either trust or remove this certificate.\n\nFor more information about this certificate, contact your admin.</item>
|
||||||
|
<item quantity="other"><xliff:g id="managing_domain">%s</xliff:g> has installed certificate authorities on your device, which may allow them to monitor your device network activity, including emails, apps, and secure websites. You can choose to either trust or remove these certificates.\n\nFor more information about these certificates, contact your admin.</item>
|
||||||
|
</plurals>
|
||||||
|
<!-- Text of message to show to work profile users whose administrator has installed a SSL CA Cert. [CHAR LIMIT=NONE] -->
|
||||||
<plurals name="ssl_ca_cert_info_message">
|
<plurals name="ssl_ca_cert_info_message">
|
||||||
<item quantity="one"><xliff:g id="managing_domain">%s</xliff:g> has installed a certificate authority for your work profile, which may allow them to monitor work network activity, including emails, apps, and secure websites. You can choose to either trust or remove this certificate.\n\nFor more information about this certificate, contact your admin.</item>
|
<item quantity="one"><xliff:g id="managing_domain">%s</xliff:g> has installed a certificate authority for your work profile, which may allow them to monitor work network activity, including emails, apps, and secure websites. You can choose to either trust or remove this certificate.\n\nFor more information about this certificate, contact your admin.</item>
|
||||||
<item quantity="other"><xliff:g id="managing_domain">%s</xliff:g> has installed certificate authorities for your work profile, which may allow them to monitor work network activity, including emails, apps, and secure websites. You can choose to either trust or remove these certificates.\n\nFor more information about these certificates, contact your admin.</item>
|
<item quantity="other"><xliff:g id="managing_domain">%s</xliff:g> has installed certificate authorities for your work profile, which may allow them to monitor work network activity, including emails, apps, and secure websites. You can choose to either trust or remove these certificates.\n\nFor more information about these certificates, contact your admin.</item>
|
||||||
|
@@ -57,8 +57,9 @@ public class MonitoringCertInfoActivity extends Activity implements OnClickListe
|
|||||||
builder.setMessage(getResources().getQuantityString(R.plurals.ssl_ca_cert_info_message,
|
builder.setMessage(getResources().getQuantityString(R.plurals.ssl_ca_cert_info_message,
|
||||||
numberOfCertificates, dpm.getProfileOwnerName()));
|
numberOfCertificates, dpm.getProfileOwnerName()));
|
||||||
} else if (dpm.getDeviceOwnerComponentOnCallingUser() != null) {
|
} else if (dpm.getDeviceOwnerComponentOnCallingUser() != null) {
|
||||||
builder.setMessage(getResources().getQuantityString(R.plurals.ssl_ca_cert_info_message,
|
builder.setMessage(getResources().getQuantityString(
|
||||||
numberOfCertificates, dpm.getDeviceOwnerNameOnAnyUser()));
|
R.plurals.ssl_ca_cert_info_message_device_owner, numberOfCertificates,
|
||||||
|
dpm.getDeviceOwnerNameOnAnyUser()));
|
||||||
} else {
|
} else {
|
||||||
// Consumer case. Show scary warning.
|
// Consumer case. Show scary warning.
|
||||||
builder.setIcon(android.R.drawable.stat_notify_error);
|
builder.setIcon(android.R.drawable.stat_notify_error);
|
||||||
|
Reference in New Issue
Block a user