Merge "Remove SystemUIFactory.getHomeLayoutId()" into nyc-mr1-dev
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user