|
|
@@ -4,12 +4,9 @@ import android.content.Intent;
|
|
|
import android.support.v7.app.AlertDialog;
|
|
|
import android.view.Gravity;
|
|
|
import android.view.View;
|
|
|
-import android.view.ViewGroup;
|
|
|
import android.view.Window;
|
|
|
import android.view.WindowManager;
|
|
|
-import android.widget.LinearLayout;
|
|
|
|
|
|
-import com.kfzs.duanduan.utils.dlg.HelperUtils;
|
|
|
import com.kfzs.duanduan.utils.dlg.ViewFindUtils;
|
|
|
import com.lzy.imagepicker.ui.ImageGridActivity;
|
|
|
import com.sheep.jiuyan.samllsheep.R;
|
|
|
@@ -56,9 +53,6 @@ public class DialogChooseImage {
|
|
|
.setView(view)
|
|
|
.create();
|
|
|
}
|
|
|
- if (!HelperUtils.isActivityOnTop(activity)) {
|
|
|
- return mAlertDialog;//如果不是顶层窗口,那就不显示了。
|
|
|
- }
|
|
|
Window window = mAlertDialog.getWindow();
|
|
|
if(window != null) {
|
|
|
WindowManager.LayoutParams params = window.getAttributes();
|