summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Ikram Gabiyev <gabiyev@google.com> 2024-11-21 14:34:31 -0800
committer Ikram Gabiyev <gabiyev@google.com> 2024-11-21 14:34:31 -0800
commitf73ae65b10520b048cd99eee62c027cfd600d864 (patch)
tree48da45267eefc0a562f62fe5b1b89a7fd49de312 /libs/androidfw/ResourceTimer.cpp
parent8caa1ad408720aacf293df8bfd0689c7e1f7af1f (diff)
[PiP2] Save reentry state upon exiting PiP
Save the reentry state when state goes to EXITED_PIP, so that we reenter bounds with the same scale and snap fraction if we reenter PiP from the same component right after exiting. These are ignored if we enter PiP from a different app. Bug: 380323092 Flag: com.android.wm.shell.enable_pip2 Test: Enter PiP from app A, expand and enter PiP from app A again Test: Enter PiP from app A, expand and enter PiP from app B Change-Id: I51a4c50ccfa84acf8c9e7c69b9c026748a64ef38
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions