Skip to content
Snippets Groups Projects
  1. Mar 28, 2025
  2. Mar 27, 2025
  3. Mar 26, 2025
  4. Mar 25, 2025
  5. Mar 21, 2025
    • Duncan McNamara's avatar
      APContainer: fix AP not showing after screen off · 32a0a741
      Duncan McNamara authored and Nicolas Pomepuy's avatar Nicolas Pomepuy committed
      When playing a video with "Play in background" enabled, if the screen is
      switched off, the player will switch to audio, triggering a
      ACTION_SHOW_PLAYER scheduled with a 100L delay that has been there since
      java.
      Because the screen is switched off, onPause is called, triggering a
      cancellation of ACTION_SHOW_PLAYER in the LifecyleAwareScheduler,
      before it can execute it.
      To ensure ACTION_SHOW_PLAYER is executed when switching the screen
      back on, a flag is set and checked in onResume to call
      showAudioPlayerImpl
      32a0a741
  6. Mar 20, 2025
  7. Mar 18, 2025
  8. Mar 17, 2025
Loading