summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Chris Li <lihongyu@google.com> 2024-03-26 07:11:15 +0000
committer Chris Li <lihongyu@google.com> 2024-03-29 03:55:49 +0000
commitee2a26ff7ab4e143b8d0f4b197c527cad305ea75 (patch)
treee891ae365eb424b2c35ff5b413e40de49b424a9c /libs/androidfw/AssetsProvider.cpp
parente52b99f0da543bfbe6ff1729ce365a46b918cc3d (diff)
Do not report ActivityWindowInfo from invisible Activity window
Apply the same rule as WindowState#mLastReportedConfiguration to avoid updating from invisible window, which can result the bounds in ActivityWindowInfo to be out of sync with WindowConfiguration. Also, when Activity is fixed rotation transformed, return the Activity bounds as Task/TaskFragment bounds so that it is in sync with the configuration. Bug: 287582673 Test: atest WmTests:WindowManagerServiceTests Change-Id: I3a96413f092079da4522d2beff42b5b3be13979a
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions