2424import androidx .annotation .Nullable ;
2525import androidx .annotation .UiThread ;
2626import androidx .annotation .VisibleForTesting ;
27- import io .flutter .Build .API_LEVELS ;
2827import io .flutter .Log ;
2928import io .flutter .embedding .engine .FlutterEngine .EngineLifecycleListener ;
3029import io .flutter .embedding .engine .dart .PlatformMessageHandler ;
@@ -430,9 +429,7 @@ public void attachToNative() {
430429
431430 @ VisibleForTesting
432431 public long performNativeAttach (@ NonNull FlutterJNI flutterJNI ) {
433- // return nativeAttach(flutterJNI);
434- io .flutter .Log .e ("TEST!!!!!!" , "in actual function" );
435- return 0 ;
432+ return nativeAttach (flutterJNI );
436433 }
437434
438435 private native long nativeAttach (@ NonNull FlutterJNI flutterJNI );
@@ -881,8 +878,7 @@ public void setSemanticsEnabled(boolean enabled) {
881878 }
882879 }
883880
884- @ VisibleForTesting
885- public native void nativeSetSemanticsEnabled (long nativeShellHolderId , boolean enabled );
881+ private native void nativeSetSemanticsEnabled (long nativeShellHolderId , boolean enabled );
886882
887883 // TODO(mattcarroll): figure out what flags are supported and add javadoc about when/why/where to
888884 // use this.
@@ -894,8 +890,7 @@ public void setAccessibilityFeatures(int flags) {
894890 }
895891 }
896892
897- @ VisibleForTesting
898- public native void nativeSetAccessibilityFeatures (long nativeShellHolderId , int flags );
893+ private native void nativeSetAccessibilityFeatures (long nativeShellHolderId , int flags );
899894 // ------ End Accessibility Support ----
900895
901896 // ------ Start Texture Registration Support -----
0 commit comments