зеркало из https://github.com/mozilla/gecko-dev.git
Bug 721354 - Remove unnecessary constructor arg from AboutHomeContent (r=blassey)
This commit is contained in:
Родитель
b41dcd1652
Коммит
8d38d630e3
|
@ -111,8 +111,8 @@ public class AboutHomeContent extends ScrollView {
|
|||
public void callback(String uriSpec);
|
||||
}
|
||||
|
||||
public AboutHomeContent(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
public AboutHomeContent(Context context) {
|
||||
super(context);
|
||||
setScrollContainer(true);
|
||||
setBackgroundResource(R.drawable.abouthome_bg_repeat);
|
||||
mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
|
||||
|
|
|
@ -1102,7 +1102,7 @@ abstract public class GeckoApp
|
|||
public void run() {
|
||||
mAutoCompletePopup.hide();
|
||||
if (mAboutHomeContent == null && mShow) {
|
||||
mAboutHomeContent = new AboutHomeContent(GeckoApp.mAppContext, null);
|
||||
mAboutHomeContent = new AboutHomeContent(GeckoApp.mAppContext);
|
||||
mAboutHomeContent.init(GeckoApp.mAppContext);
|
||||
mAboutHomeContent.setUriLoadCallback(new AboutHomeContent.UriLoadCallback() {
|
||||
public void callback(String url) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче