Remove SystemUIFactory.getHomeLayoutId()

Bug: 29069470

Change-Id: I19078f293c85470caac8d372d80a7a8605842c61
This commit is contained in:
Annie Chin
2016-06-01 17:46:27 -07:00
parent a5e81480b1
commit b6ab24f4d0
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);
}