Merge "Fix npe in FrameHandler" into tm-dev
This commit is contained in:
@@ -83,7 +83,7 @@ public class ViewUtils {
|
||||
}
|
||||
|
||||
private boolean schedule() {
|
||||
if (mViewRoot.getView() != null) {
|
||||
if (mViewRoot != null && mViewRoot.getView() != null) {
|
||||
mViewRoot.registerRtFrameCallback(this);
|
||||
mViewRoot.getView().invalidate();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user