[app] Fix support blur check (#222)
This commit is contained in:
parent
d5ee8d3842
commit
ddf6e83723
|
|
@ -35,7 +35,7 @@ import java.lang.reflect.Method;
|
|||
@SuppressWarnings({"JavaReflectionMemberAccess", "ConstantConditions"})
|
||||
@SuppressLint("PrivateApi")
|
||||
public class BlurBehindDialogBuilder extends AlertDialog.Builder {
|
||||
private static final boolean supportBlur = getSystemProperty("ro.surface_flinger.supports_background_blur", false) && getSystemProperty("persist.sys.sf.disable_blurs", false);
|
||||
private static final boolean supportBlur = getSystemProperty("ro.surface_flinger.supports_background_blur", false) && !getSystemProperty("persist.sys.sf.disable_blurs", false);
|
||||
|
||||
public BlurBehindDialogBuilder(@NonNull Context context) {
|
||||
super(context);
|
||||
|
|
|
|||
Loading…
Reference in New Issue