Init dev before starting

This commit is contained in:
pengfei.zhou 2021-11-05 17:26:28 +08:00 committed by osborn
parent 00178196bf
commit 0ca5913357
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,6 @@ public class MainActivity extends AppCompatActivity {
} catch (IOException e) {
e.printStackTrace();
}
// DoricDev.getInstance();
}
public class MyAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder> {

View File

@ -28,6 +28,7 @@ import pub.doric.Doric;
import pub.doric.DoricNativeDriver;
import pub.doric.DoricRegistry;
import pub.doric.DoricSingleton;
import pub.doric.devkit.DoricDev;
public class MyApplication extends Application {
@Override
@ -46,7 +47,7 @@ public class MyApplication extends Application {
DoricSingleton.getInstance().setEnvironmentValue(map);
}
}, intentFilter);
// DoricNativeDriver.getInstance();
DoricDev.getInstance();
Doric.enablePerformance(true);
Doric.enableRenderSnapshot(true);
}