Skip to content
This repository was archived by the owner on Feb 3, 2020. It is now read-only.

Commit 909a531

Browse files
Update README
1 parent aed61c6 commit 909a531

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,9 @@ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
123123

124124
9) Add DisplayCutout process(API Level >= 28)
125125

126-
Note: `DisplayCutout` is obtained from `Fragment` or `Activity` (`Service` can not be acquired)
127-
Note: You must set the `DisplayCutout` obtained on portrait orientation.
126+
Note: `DisplayCutout` is obtained from `Fragment` or `Activity` (You can not get `DisplayCutout` from `Service`)
127+
Note: You must set the `DisplayCutout` obtained on portrait orientation.
128+
Note: You must not set `windowLayoutInDisplayCutoutMode` to `never` when getting a `DisplayCutout`.
128129

129130
example)
130131

0 commit comments

Comments
 (0)