ankidroid/Anki-Android

FLAG_FULLSCREEN deprecation in API 30

クローズ

#9,332 opened on 2021/07/29

 (13 件のコメント) (0 件のリアクション) (1 人の担当者)Kotlin (2,789 件のフォーク)batch import
DeprecationHelp WantedKeep OpenResearch

Repository metrics

Stars
 (11,132 個のスター)
PR merge metrics
 (平均マージ 9d 12h) (30d で 93 merged PRs)

説明

[!IMPORTANT] This issue is to be included in a research study, and should not be worked on

  • 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.

コントリビューターガイド