mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: False negative on hasCutout for Android P
This commit is contained in:
parent
bda17cfbab
commit
bb84a4c81c
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue