Merge "UX tweaks for CA cert monitoring" into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
490e072c84
Binary file not shown.
Before Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.5 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.0 KiB |
BIN
res/drawable-xxhdpi/ic_settings_about.png
Normal file
BIN
res/drawable-xxhdpi/ic_settings_about.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
@@ -4659,12 +4659,12 @@
|
|||||||
<!-- Shows up when there is a user SSL CA Cert installed on the
|
<!-- Shows up when there is a user SSL CA Cert installed on the
|
||||||
device. Indicates to the user that SSL traffic can be intercepted. [CHAR LIMIT=NONE] -->
|
device. Indicates to the user that SSL traffic can be intercepted. [CHAR LIMIT=NONE] -->
|
||||||
<string name="ssl_ca_cert_warning">Network may be monitored</string>
|
<string name="ssl_ca_cert_warning">Network may be monitored</string>
|
||||||
<!-- Button to close the SSL CA cert warning dialog box. [CHAR LIMIT=NONE] -->
|
<!-- Button to close the SSL CA cert warning dialog box, meaning the user is done reading. [CHAR LIMIT=NONE] -->
|
||||||
<string name="done_button">Done</string>
|
<string name="done_button">Done</string>
|
||||||
<!-- Title of Dialog warning users of SSL monitoring. [CHAR LIMIT=NONE] -->
|
<!-- Title of Dialog warning users of SSL monitoring. [CHAR LIMIT=NONE] -->
|
||||||
<string name="ssl_ca_cert_dialog_title">Network monitoring</string>
|
<string name="ssl_ca_cert_dialog_title">Network monitoring</string>
|
||||||
<!-- Text of message to show to users whose administrator has installed a SSL CA Cert. [CHAR LIMIT=NONE] -->
|
<!-- Text of message to show to users whose administrator has installed a SSL CA Cert. [CHAR LIMIT=NONE] -->
|
||||||
<string name="ssl_ca_cert_info_message">This device is managed by: <xliff:g id="managing_domain">%s</xliff:g>.\n\nYour administrator is capable of monitoring your network activity, including emails, apps, and secure websites.\n\nFor more information, contact your administrator.</string>
|
<string name="ssl_ca_cert_info_message">This device is managed by:\n<xliff:g id="managing_domain">%s</xliff:g>\n\nYour administrator is capable of monitoring your network activity, including emails, apps, and secure websites.\n\nFor more information, contact your administrator.</string>
|
||||||
<!-- Text of warning to show to users that have a SSL CA Cert installed. [CHAR LIMIT=NONE] -->
|
<!-- Text of warning to show to users that have a SSL CA Cert installed. [CHAR LIMIT=NONE] -->
|
||||||
<string name="ssl_ca_cert_warning_message">A third party is capable of monitoring your network\nactivity, including emails, apps, and secure websites.\n\nA trusted credential installed on your device is making this possible.</string>
|
<string name="ssl_ca_cert_warning_message">A third party is capable of monitoring your network\nactivity, including emails, apps, and secure websites.\n\nA trusted credential installed on your device is making this possible.</string>
|
||||||
<!-- Label on button that will take the user to the Trusted Credentials settings page. [CHAR LIMIT=NONE]-->
|
<!-- Label on button that will take the user to the Trusted Credentials settings page. [CHAR LIMIT=NONE]-->
|
||||||
|
@@ -879,7 +879,7 @@ public class Settings extends PreferenceActivity
|
|||||||
holder.divider_.setVisibility(View.VISIBLE);
|
holder.divider_.setVisibility(View.VISIBLE);
|
||||||
boolean isManaged = mDevicePolicyManager.getDeviceOwner() != null;
|
boolean isManaged = mDevicePolicyManager.getDeviceOwner() != null;
|
||||||
if (isManaged) {
|
if (isManaged) {
|
||||||
holder.button_.setImageResource(R.drawable.ic_qs_certificate_info);
|
holder.button_.setImageResource(R.drawable.ic_settings_about);
|
||||||
} else {
|
} else {
|
||||||
holder.button_.setImageResource(
|
holder.button_.setImageResource(
|
||||||
android.R.drawable.stat_notify_error);
|
android.R.drawable.stat_notify_error);
|
||||||
|
Reference in New Issue
Block a user