Browse Source

unjetify for private usage

cani1see 4 years ago
parent
commit
713a2854de

+ 1
- 1
android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaUtils.java View File

@@ -14,7 +14,7 @@ import com.facebook.react.uimanager.PixelUtil;
14 14
 
15 15
 import java.util.Map;
16 16
 
17
-import androidx.annotation.Nullable;
17
+import android.support.annotation.Nullable;
18 18
 
19 19
 /* package */ class SafeAreaUtils {
20 20
   static WritableMap edgeInsetsToJsMap(EdgeInsets insets) {

+ 1
- 1
android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaView.java View File

@@ -12,7 +12,7 @@ import android.view.WindowManager;
12 12
 import com.facebook.infer.annotation.Assertions;
13 13
 import com.facebook.react.views.view.ReactViewGroup;
14 14
 
15
-import androidx.annotation.Nullable;
15
+import android.support.annotation.Nullable;
16 16
 
17 17
 public class SafeAreaView extends ReactViewGroup implements ViewTreeObserver.OnGlobalLayoutListener {
18 18
   public interface OnInsetsChangeListener {

+ 2
- 2
android/src/main/java/com/th3rdwave/safeareacontext/SafeAreaViewManager.java View File

@@ -14,8 +14,8 @@ import com.facebook.react.uimanager.events.EventDispatcher;
14 14
 
15 15
 import java.util.Map;
16 16
 
17
-import androidx.annotation.NonNull;
18
-import androidx.annotation.Nullable;
17
+import android.support.annotation.NonNull;
18
+import android.support.annotation.Nullable;
19 19
 
20 20
 public class SafeAreaViewManager extends ViewGroupManager<SafeAreaView> {
21 21
   private final ReactApplicationContext mContext;