зеркало из https://github.com/mozilla/gecko-dev.git
Fix NPE on first startup, if there is no screenshot lying around from a previous run
This commit is contained in:
Родитель
95929abe96
Коммит
581dddda30
|
@ -1119,6 +1119,8 @@ abstract public class GeckoApp
|
|||
if (placeholderClient != null) {
|
||||
mLayerController = new LayerController(this, placeholderClient);
|
||||
placeholderClient.init();
|
||||
} else {
|
||||
mLayerController = new LayerController(this, null);
|
||||
}
|
||||
|
||||
mGeckoLayout.addView(mLayerController.getView());
|
||||
|
|
Загрузка…
Ссылка в новой задаче