Apply restricted settings to notification access.
Bug: 202130031 Test: Able to boot without error Test: When app is installed by PackageInstaller app, notification access is being restricted. The restriction is being removed after turing it restricted settings off for that app. Change-Id: I9c1fbc80dd2ca4cc483a60dfa9d043aaa99cde87
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
android:layout="@layout/settings_entity_header"
|
||||
settings:controller="com.android.settings.applications.specialaccess.notificationaccess.HeaderPreferenceController"/>
|
||||
|
||||
<com.android.settings.widget.FilterTouchesSwitchPreference
|
||||
<com.android.settingslib.RestrictedSwitchPreference
|
||||
android:key="notification_access_switch"
|
||||
android:title="@string/notification_access_detail_switch"
|
||||
settings:controller="com.android.settings.applications.specialaccess.notificationaccess.ApprovalPreferenceController"/>
|
||||
|
||||
Reference in New Issue
Block a user