Change MonitoringCertInfoActivity exported flag to be false.
MonitoringCertInfoActivity can be launched by intent action "com.android.settings.MONITORING_CERT_INFO" and currently only framework use it to show the certification info message. Set it to NOT exported to avoid other apps spoof certificate installed message. Bug: 233736169 Test: Manual test. Existing unit tests pass. Change-Id: Id20e7bc8e88efa831b125a182b02eefacfaf875f
This commit is contained in:
@@ -1941,7 +1941,7 @@
|
|||||||
<activity android:name="MonitoringCertInfoActivity"
|
<activity android:name="MonitoringCertInfoActivity"
|
||||||
android:label=""
|
android:label=""
|
||||||
android:theme="@style/Transparent"
|
android:theme="@style/Transparent"
|
||||||
android:exported="true"
|
android:exported="false"
|
||||||
android:excludeFromRecents="true">
|
android:excludeFromRecents="true">
|
||||||
<intent-filter android:priority="1">
|
<intent-filter android:priority="1">
|
||||||
<action android:name="com.android.settings.MONITORING_CERT_INFO" />
|
<action android:name="com.android.settings.MONITORING_CERT_INFO" />
|
||||||
|
|||||||
Reference in New Issue
Block a user