Expose Lock screen notifications settings page.
Expose the Lock screen notifications settings page for intents. Bug: 367455695 Flag: com.android.server.notification.notification_lock_screen_settings Test: atest Change-Id: I439e214f5a9bfda40777ffb60ca0bbf2a15e196d
This commit is contained in:
@@ -1686,6 +1686,22 @@
|
||||
android:value="true" />
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name=".Settings$LockScreenNotificationsSettingsActivity"
|
||||
android:label="@string/lock_screen_notifs_title"
|
||||
android:exported="true">
|
||||
<intent-filter android:priority="1">
|
||||
<action android:name="android.settings.LOCK_SCREEN_NOTIFICATIONS_SETTINGS" />
|
||||
<category android:name="android.intent.category.DEFAULT" />
|
||||
</intent-filter>
|
||||
<meta-data android:name="com.android.settings.FRAGMENT_CLASS"
|
||||
android:value="com.android.settings.notification.LockScreenNotificationsPreferencePageFragment" />
|
||||
<meta-data android:name="com.android.settings.HIGHLIGHT_MENU_KEY"
|
||||
android:value="@string/menu_key_display"/>
|
||||
<meta-data android:name="com.android.settings.PRIMARY_PROFILE_CONTROLLED"
|
||||
android:value="true" />
|
||||
</activity>
|
||||
|
||||
<activity
|
||||
android:name=".Settings$BlueToothPairingActivity"
|
||||
android:label="@string/bluetooth_pairing_page_title"
|
||||
|
@@ -131,6 +131,9 @@ public class Settings extends SettingsActivity {
|
||||
public static class AccessibilityDaltonizerSettingsActivity extends SettingsActivity { /* empty */ }
|
||||
/** Activity for lockscreen settings. */
|
||||
public static class LockScreenSettingsActivity extends SettingsActivity { /* empty */ }
|
||||
/** Activity for notifications on lockscreen settings. */
|
||||
public static class LockScreenNotificationsSettingsActivity
|
||||
extends SettingsActivity { /* empty */ }
|
||||
/** Activity for bluetooth pairing settings. */
|
||||
public static class BlueToothPairingActivity extends SettingsActivity { /* empty */ }
|
||||
/** Activity for Reduce Bright Colors. */
|
||||
|
@@ -156,6 +156,7 @@ import com.android.settings.network.telephony.SatelliteSetting;
|
||||
import com.android.settings.network.tether.TetherSettings;
|
||||
import com.android.settings.nfc.PaymentSettings;
|
||||
import com.android.settings.notification.ConfigureNotificationSettings;
|
||||
import com.android.settings.notification.LockScreenNotificationsPreferencePageFragment;
|
||||
import com.android.settings.notification.NotificationAccessSettings;
|
||||
import com.android.settings.notification.NotificationAssistantPicker;
|
||||
import com.android.settings.notification.PoliteNotificationsPreferenceFragment;
|
||||
@@ -365,6 +366,7 @@ public class SettingsGateway {
|
||||
EnterprisePrivacySettings.class.getName(),
|
||||
WebViewAppPicker.class.getName(),
|
||||
LockscreenDashboardFragment.class.getName(),
|
||||
LockScreenNotificationsPreferencePageFragment.class.getName(),
|
||||
MemtagPage.class.getName(),
|
||||
BluetoothDeviceDetailsFragment.class.getName(),
|
||||
BluetoothBroadcastDialog.class.getName(),
|
||||
|
Reference in New Issue
Block a user