зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1359422 - Add GeckoView constructor that allows both xml attribs and settings r=esawin
MozReview-Commit-ID: 8U1ojpLSSiK
This commit is contained in:
Родитель
5841b2f70e
Коммит
96b2d70241
|
@ -256,6 +256,13 @@ public class GeckoView extends LayerView
|
|||
public GeckoView(Context context, final GeckoViewSettings settings) {
|
||||
super(context);
|
||||
|
||||
final GeckoViewSettings newSettings = new GeckoViewSettings(settings, getEventDispatcher());
|
||||
init(context, settings);
|
||||
}
|
||||
|
||||
public GeckoView(Context context, AttributeSet attrs, final GeckoViewSettings settings) {
|
||||
super(context, attrs);
|
||||
|
||||
final GeckoViewSettings newSettings = new GeckoViewSettings(settings, getEventDispatcher());
|
||||
init(context, newSettings);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче