kongzue 4 gadi atpakaļ
vecāks
revīzija
e93ebe0439

+ 3 - 3
DialogX/src/main/java/com/kongzue/dialogx/interfaces/BaseDialog.java

@@ -59,7 +59,7 @@ public class BaseDialog {
         if (DEBUGMODE) Log.e(">>>", o.toString());
     }
     
-    public static void show(final View view) {
+    protected static void show(final View view) {
         if (rootFrameLayout == null || view == null || rootFrameLayout.get() == null) return;
         log(view.getTag() + ".show");
         rootFrameLayout.get().post(new Runnable() {
@@ -70,7 +70,7 @@ public class BaseDialog {
         });
     }
     
-    public static void show(Activity activity, final View view) {
+    protected static void show(Activity activity, final View view) {
         if (activity == null || view == null) return;
         log(view.getTag() + ".show");
         final FrameLayout activityRootView = (FrameLayout) activity.getWindow().getDecorView();
@@ -83,7 +83,7 @@ public class BaseDialog {
         });
     }
     
-    public static void dismiss(View dialogView) {
+    protected static void dismiss(View dialogView) {
         log(dialogView.getTag() + ".dismiss");
         if (rootFrameLayout == null || dialogView == null) return;
         if (dialogView.getParent() == null || !(dialogView.getParent() instanceof ViewGroup)) {

+ 0 - 3
DialogX/src/main/java/com/kongzue/dialogx/util/views/BlurView.java

@@ -314,9 +314,6 @@ public class BlurView extends View {
             mDecorView = BaseDialog.getRootFrameLayout().getChildAt(0);
         }
         if (mDecorView != null) {
-            if (mDecorView.getBackground() == null) {
-                mDecorView.setBackgroundColor(Color.WHITE);
-            }
             log("mDecorView is ok.");
             mDecorView.getViewTreeObserver().addOnPreDrawListener(preDrawListener);
             mDifferentRoot = mDecorView.getRootView() != getRootView();

+ 2 - 2
app/release/output-metadata.json

@@ -11,8 +11,8 @@
       "type": "SINGLE",
       "filters": [],
       "properties": [],
-      "versionCode": 17,
-      "versionName": "0.0.17",
+      "versionCode": 29,
+      "versionName": "0.0.29",
       "enabled": true,
       "outputFile": "app-release.apk"
     }

+ 1 - 1
gradle.properties

@@ -18,5 +18,5 @@ android.useAndroidX=true
 # Automatically convert third-party libraries to use AndroidX
 android.enableJetifier=true
 
-BUILD_VERSION=0.0.29
+BUILD_VERSION=0.0.29.debug1
 BUILD_VERSION_INT=29