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

Commit 69a633e

Browse files
committed
remove unused method
1 parent c19a30b commit 69a633e

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
import androidx.annotation.NonNull;
1010

1111
public class FlutterOverlaySurface {
12-
@NonNull
13-
private final Surface surface;
12+
@NonNull private final Surface surface;
1413

1514
private final long id;
1615

shell/platform/android/platform_view_android_jni.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
22
// Copyright 2013 The Flutter Authors. All rights reserved.
33
// Use of this source code is governed by a BSD-style license that can be
44
// found in the LICENSE file.

shell/platform/android/platform_view_android_jni_impl.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
#include "flutter/shell/platform/android/android_shell_holder.h"
2525
#include "flutter/shell/platform/android/apk_asset_provider.h"
2626
#include "flutter/shell/platform/android/flutter_main.h"
27-
#include "flutter/shell/platform/android/platform_view_android.h"
2827
#include "flutter/shell/platform/android/jni/platform_view_android_jni.h"
28+
#include "flutter/shell/platform/android/platform_view_android.h"
2929
#include "flutter/shell/platform/android/platform_view_android_jni.h"
3030

3131
#define ANDROID_SHELL_HOLDER \
@@ -717,7 +717,7 @@ bool PlatformViewAndroid::Register(JNIEnv* env) {
717717

718718
g_create_overlay_surface_method =
719719
env->GetMethodID(g_flutter_jni_class->obj(), "createOverlaySurface",
720-
"()Lio/flutter/embedding/engine/FlutterOverlaySurface;");
720+
"()Lio/flutter/embedding/engine/FlutterOverlaySurface;");
721721

722722
g_flutter_jni_class = new fml::jni::ScopedJavaGlobalRef<jclass>(
723723
env, env->FindClass("io/flutter/embedding/engine/FlutterJNI"));

0 commit comments

Comments
 (0)