Support highlighting the menu entry for Search results
1. Add a receiver to monitor the search state 2. Shoe/hide the menu highlight in the listener 3. Highlight the menu entry in SearchResultTrampoline 4. Enable/disable the receiver in SettingsInitialize Bug: 205781792 Test: manual, robotest Change-Id: Ia04901f504172f4f0c7b4b2ea7eda5f3713f676d
This commit is contained in:
@@ -20,11 +20,6 @@ import android.content.ComponentName;
|
||||
|
||||
/** Activity for Slices to launch Settings deep link page */
|
||||
public class SliceDeepLinkHomepageActivity extends SettingsHomepageActivity {
|
||||
@Override
|
||||
protected void setHomeActivity() {
|
||||
// do not overwrite homepage activity in SettingsApplication
|
||||
}
|
||||
|
||||
@Override
|
||||
protected ComponentName getDeepLinkComponent() {
|
||||
return new ComponentName(getApplicationContext(), getClass());
|
||||
|
Reference in New Issue
Block a user