Skip to content
Commit 07cac275 authored by Evan Rosky's avatar Evan Rosky
Browse files

Forward auto-enter property to app's onPause

Pause happens in a different code-path in shell vs
legacy during auto-pip. This path doesn't have auto-enter
context so the app was being told to pause without
being told the pause was due to auto-pip. This CL
adds a state to the ActivityRecord so that when it
pauses, it can send the corresponding autoPip value.

Bug: 280065861
Test: play video in netflix, swipe-to-pip.
      Or, monitor logs and check that pause during autopip has
      autopip set.
Change-Id: I37ef091f3daf483cd12b5c20a796170f49f6db08
parent ba26bf97
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment