"CA cert installed" notification should take PO into account

- PO shows same dialog as DO, as shown in UI mock
- Keep consumer message the same
- Add cancel button
- string change
- remove TYPE_SYSTEM_ALERT due to the bug that the dialog is shown in primary user and bypass work challenge
  (Step: unlock work user -> launch dialog -> lock work user -> unlock personal user -> the dialog is still shown)
- Remove dismissKeyguard, because I believe the dialog should still be protected by the keyguard

Bug: 25772443
Bug: 18224038
Change-Id: I4f2580d1f6d2f88cfeadebcf6e8b0406e5c4b413
This commit is contained in:
Victor Chang
2016-04-07 17:49:45 +01:00
parent caa8877f75
commit 17ead044e1
3 changed files with 46 additions and 52 deletions

View File

@@ -1295,6 +1295,7 @@
<activity android:name="MonitoringCertInfoActivity"
android:label="@string/ssl_ca_cert_dialog_title"
android:theme="@style/Transparent"
android:excludeFromRecents="true"
android:taskAffinity="">
<intent-filter android:priority="1">
<action android:name="com.android.settings.MONITORING_CERT_INFO" />