diff options
author | Yanting Yang <yantingyang@google.com> | 2020-04-15 08:41:53 +0800 |
---|---|---|
committer | Yanting Yang <yantingyang@google.com> | 2020-04-15 08:52:05 +0800 |
commit | 2483124478271096127c788f1c64cc46ba385680 (patch) | |
tree | bc094d99feec6ce4892f5fe95bbed333a1e19dde /src/com/android/settings/search | |
parent | bdcff696d52657c4ed0f93e10c9efe47bcf15f64 (diff) | |
download | packages_apps_Settings-2483124478271096127c788f1c64cc46ba385680.tar.gz packages_apps_Settings-2483124478271096127c788f1c64cc46ba385680.tar.bz2 packages_apps_Settings-2483124478271096127c788f1c64cc46ba385680.zip |
Fix breadcrumb for the search results of Custom restrictions page
Settings Search need Settings to provide the custom site map pairs to
build up the full breadcrumb for the search results of Custom
restrictions page.
Impact search results:
Don't turn on screen
Don't wake for notifications
Hide notification dots on app icons
Hide status bar icons at top of screen
Don't pop notifications on screen
Hide from pull-down shade
Custom restrictions
Bug: 147851992
Bug: 151206664
Test: visual and robotests
Change-Id: I01e359eabcdc362e2a1fde5f3bc4ae5dc6918030
Diffstat (limited to 'src/com/android/settings/search')
-rw-r--r-- | src/com/android/settings/search/CustomSiteMapRegistry.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/settings/search/CustomSiteMapRegistry.java b/src/com/android/settings/search/CustomSiteMapRegistry.java index 756479b249..afda72b2d6 100644 --- a/src/com/android/settings/search/CustomSiteMapRegistry.java +++ b/src/com/android/settings/search/CustomSiteMapRegistry.java @@ -27,6 +27,8 @@ import com.android.settings.fuelgauge.PowerUsageSummary; import com.android.settings.location.LocationSettings; import com.android.settings.location.RecentLocationRequestSeeAllFragment; import com.android.settings.network.NetworkDashboardFragment; +import com.android.settings.notification.zen.ZenModeBlockedEffectsSettings; +import com.android.settings.notification.zen.ZenModeRestrictNotificationsSettings; import com.android.settings.security.SecuritySettings; import com.android.settings.security.screenlock.ScreenLockSettings; import com.android.settings.system.SystemDashboardFragment; @@ -59,5 +61,7 @@ public class CustomSiteMapRegistry { ConnectedDeviceDashboardFragment.class.getName()); CUSTOM_SITE_MAP.put(UserBackupSettingsActivity.class.getName(), SystemDashboardFragment.class.getName()); + CUSTOM_SITE_MAP.put(ZenModeBlockedEffectsSettings.class.getName(), + ZenModeRestrictNotificationsSettings.class.getName()); } } |