File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
<manifest xmlns : android =" http://schemas.android.com/apk/res/android" package =" com.beefe.picker" >
2
+ <uses-permission android : name =" android.permission.SYSTEM_ALERT_WINDOW" />
2
3
</manifest >
Original file line number Diff line number Diff line change @@ -360,8 +360,7 @@ public void onSelected(ArrayList<ReturnData> selectedList) {
360
360
Window window = dialog .getWindow ();
361
361
if (window != null ) {
362
362
if (android .os .Build .VERSION .SDK_INT >= Build .VERSION_CODES .O ) {
363
- layoutParams .type = WindowManager .LayoutParams .TYPE_APPLICATION_OVERLAY ;
364
- window .setType (WindowManager .LayoutParams .TYPE_APPLICATION_OVERLAY );
363
+ window .setType (WindowManager .LayoutParams .TYPE_SYSTEM_ALERT );
365
364
}else {
366
365
if (MIUIUtils .isMIUI ()) {
367
366
layoutParams .type = WindowManager .LayoutParams .TYPE_APPLICATION ;
You can’t perform that action at this time.
0 commit comments