Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 857c00b

Browse files
committed
update
1 parent 8a8981a commit 857c00b

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

shell/platform/android/io/flutter/embedding/engine/FlutterJNI.java

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import androidx.annotation.Nullable;
2525
import androidx.annotation.UiThread;
2626
import androidx.annotation.VisibleForTesting;
27-
import io.flutter.Build.API_LEVELS;
2827
import io.flutter.Log;
2928
import io.flutter.embedding.engine.FlutterEngine.EngineLifecycleListener;
3029
import 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

Comments
 (0)