fix: False negative on hasCutout for Android P

This commit is contained in:
ziro 2024-02-06 08:01:32 +07:00
parent bda17cfbab
commit bb84a4c81c
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -124,6 +124,8 @@ object DeviceUtil {
return context?.getSystemService<DisplayManager>()
?.getDisplay(Display.DEFAULT_DISPLAY)?.cutout != null
}
// TODO: Actually check for cutout
return true
}
/*
else if (isVivo && context != null) {