Launcher.xml ,comment:
<include
android:id="@+id/hotseat"
layout="@layout/hotseat" />
Launcher.java change :
setupViews():
// mHotseat = findViewById(R.id.hotseat);
// mHotseat.setWorkspace(mWorkspace);
public Hotseat getHotseat() {
return null;
}
/**
* Returns the CellLayout of the specified container at the specified screen.
*/
public CellLayout getCellLayout(int container, int screenId) {
return mWorkspace.getScreenWithId(screenId);
}
dump(){
// writer.println(prefix + " Hotseat");
// ViewGroup layout = mHotseat.getShortcutsAndWidgets();
// for (int j = 0; j < layout.getChildCount(); j++) {
// Object tag = layout.getChildAt(j).getTag();
// if (tag != null) {
// writer.println(prefix + " " + tag.toString());
// }
// }
}
comment all codes that refrence HotseatPredictionController .