Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Few fixes to support Crow #21385

Merged
merged 3 commits into from Aug 11, 2018
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

fix mGLLooperHandler null ref

  • Loading branch information
paulrouget committed Aug 11, 2018
commit 927704b8a38eae8683142d71d7c6fdc0250cd203
@@ -1,3 +1,8 @@
/* -*- Mode: Java; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: nil; -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

package com.mozilla.servoview;

import android.annotation.SuppressLint;
@@ -194,13 +199,14 @@ public void run() {

final boolean showLogs = true;
String uri = mInitialUri == null ? null : mInitialUri.toString();
mServo = new Servo(this, surface, mClient, mActivity, mServoArgs, uri, mWidth, mHeight, showLogs);

mGLLooperHandler = new Handler() {
public void handleMessage(Message msg) {
}
};

mServo = new Servo(this, surface, mClient, mActivity, mServoArgs, uri, mWidth, mHeight, showLogs);

Looper.loop();
}
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.