Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import android.graphics.Bitmap;
import android.graphics.SurfaceTexture;
import android.os.Looper;
import android.support.annotation.Keep;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.UiThread;
Expand Down Expand Up @@ -92,6 +93,7 @@
* bool enabled = FlutterJNI.nativeGetIsSoftwareRenderingEnabled();
* }
*/
@Keep
public class FlutterJNI {
private static final String TAG = "FlutterJNI";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import android.graphics.drawable.ColorDrawable;
import android.os.Build;
import android.os.Bundle;
import android.support.annotation.Keep;
import android.util.Log;
import android.view.*;
import android.view.accessibility.AccessibilityEvent;
Expand All @@ -38,6 +39,7 @@
* |
* EmbeddedView
*/
@Keep
@TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1)
class SingleViewPresentation extends Presentation {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.Keep;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.Log;
Expand Down Expand Up @@ -41,6 +42,7 @@
* for the virtual accessibility node IDs in the platform view's tree. Internally this class maintains a bidirectional
* mapping between `flutterId`s and the corresponding platform view and `originId`.
*/
@Keep
final class AccessibilityViewEmbedder {
private static final String TAG = "AccessibilityBridge";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

package io.flutter.view;

import android.support.annotation.Keep;
import android.support.annotation.NonNull;

import io.flutter.embedding.engine.FlutterJNI;
Expand All @@ -12,6 +13,7 @@
* A class representing information for a callback registered using
* `PluginUtilities` from `dart:ui`.
*/
@Keep
public final class FlutterCallbackInformation {
final public String callbackName;
final public String callbackClassName;
Expand Down