Loading packages/SystemUI/src/com/android/systemui/volume/dialog/ui/binder/VolumeDialogViewBinder.kt +4 −1 Original line number Original line Diff line number Diff line Loading @@ -117,7 +117,10 @@ constructor( launchTraced("VDVB#insets") { launchTraced("VDVB#insets") { root root .onApplyWindowInsets { v, newInsets -> .onApplyWindowInsets { v, newInsets -> val insetsValues = newInsets.getInsets(WindowInsets.Type.displayCutout()) val insetsValues = newInsets.getInsets( WindowInsets.Type.displayCutout() or WindowInsets.Type.navigationBars() ) v.updatePadding( v.updatePadding( left = insetsValues.left, left = insetsValues.left, top = insetsValues.top, top = insetsValues.top, Loading Loading
packages/SystemUI/src/com/android/systemui/volume/dialog/ui/binder/VolumeDialogViewBinder.kt +4 −1 Original line number Original line Diff line number Diff line Loading @@ -117,7 +117,10 @@ constructor( launchTraced("VDVB#insets") { launchTraced("VDVB#insets") { root root .onApplyWindowInsets { v, newInsets -> .onApplyWindowInsets { v, newInsets -> val insetsValues = newInsets.getInsets(WindowInsets.Type.displayCutout()) val insetsValues = newInsets.getInsets( WindowInsets.Type.displayCutout() or WindowInsets.Type.navigationBars() ) v.updatePadding( v.updatePadding( left = insetsValues.left, left = insetsValues.left, top = insetsValues.top, top = insetsValues.top, Loading