Skip to content

FLAG_FULLSCREEN deprecation in API 30 #6

@jennjwang

Description

@jennjwang
  • FLAG_FULLSCREEN
    • Use WindowInsetsController.hide(int) with WindowInsets.Type.statusBars() instead.
    • Only the usage in AnkiActivity needs to be fixed. The usage in Reviewer.kt doesn't need to be fixed because the screen is deprecated

The deprecations below don't need to be fixed because the screen that uses it is deprecated and will be eventually removed.

  • View.setOnSystemUiVisibilityChangeListener
    • Use WindowInsets.isVisible(int) to find out about system bar visibilities by setting a View.OnApplyWindowInsetsListener on this view
  • View.getSystemUiVisibility()
    • SystemUiVisibility flags are deprecated. Use WindowInsetsController instead.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions