mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Revert D8194925: Fix ART surface sleep issue
Differential Revision: D8194925 Original commit changeset: 5448d49d9590 fbshipit-source-id: c01e11d44424e1f6fb79866bb845ed60764c5f13
This commit is contained in:
committed by
Facebook Github Bot
parent
536c937269
commit
fecfa2a553
@@ -7,7 +7,6 @@
|
||||
|
||||
package com.facebook.react.flat;
|
||||
|
||||
import android.view.SurfaceHolder;
|
||||
import com.facebook.react.uimanager.BaseViewManager;
|
||||
import com.facebook.react.uimanager.ThemedReactContext;
|
||||
import com.facebook.react.views.art.ARTSurfaceView;
|
||||
@@ -15,7 +14,6 @@ import com.facebook.yoga.YogaMeasureFunction;
|
||||
import com.facebook.yoga.YogaMeasureMode;
|
||||
import com.facebook.yoga.YogaNode;
|
||||
|
||||
|
||||
public class FlatARTSurfaceViewManager extends
|
||||
BaseViewManager<ARTSurfaceView, FlatARTSurfaceViewShadowNode> {
|
||||
|
||||
@@ -57,6 +55,6 @@ public class FlatARTSurfaceViewManager extends
|
||||
|
||||
@Override
|
||||
public void updateExtraData(ARTSurfaceView root, Object extraData) {
|
||||
root.getHolder().addCallback((FlatARTSurfaceViewShadowNode) extraData);
|
||||
root.setSurfaceTextureListener((FlatARTSurfaceViewShadowNode) extraData);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user