Build a sitemap manager to keep track of breadcrumbs
- Have a new db to track parent-child page relation at index time. - Make a registry class to track (in IA) which page host what type of sub pages. - Make a manager class that queries the db as well as IA to compute breadcrumbs Fix: 32936784 Test: RunSettingsRoboTest Change-Id: I5f1583fae772c3d477d2ad186e111b79cc3e41aa
This commit is contained in:
@@ -19,6 +19,8 @@ import android.app.Activity;
|
||||
import android.content.Context;
|
||||
import android.view.Menu;
|
||||
|
||||
import com.android.settings.dashboard.SiteMapManager;
|
||||
|
||||
/**
|
||||
* FeatureProvider for Settings Search
|
||||
*/
|
||||
@@ -57,6 +59,11 @@ public interface SearchFeatureProvider {
|
||||
*/
|
||||
DatabaseIndexingManager getIndexingManager(Context context);
|
||||
|
||||
/**
|
||||
* Returns the manager for looking up breadcrumbs.
|
||||
*/
|
||||
SiteMapManager getSiteMapManager();
|
||||
|
||||
/**
|
||||
* Updates the Settings indexes
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user