Merge "Merge "Remove SystemUIFactory.getHomeLayoutId()" into nyc-mr1-dev am: 84c074adb2" into nyc-mr1-dev-plus-aosp

This commit is contained in:
Android Build Merger (Role)
2016-06-02 22:22:14 +00:00
committed by Android (Google) Code Review
2 changed files with 1 additions and 8 deletions

View File

@@ -119,13 +119,6 @@ public class SystemUIFactory {
return null;
}
/**
* @return The id for the home button layout.
*/
public int getHomeLayoutId() {
return R.layout.home;
}
public AssistManager createAssistManager(BaseStatusBar bar, Context context) {
return new AssistManager(bar, context);
}

View File

@@ -221,7 +221,7 @@ public class NavigationBarInflaterView extends FrameLayout implements TunerServi
String button = extractButton(buttonSpec);
View v = null;
if (HOME.equals(button)) {
v = inflater.inflate(SystemUIFactory.getInstance().getHomeLayoutId(), parent, false);
v = inflater.inflate(R.layout.home, parent, false);
if (landscape && isSw600Dp()) {
setupLandButton(v);
}