summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMariia Sandrikova <mariiasand@google.com>2021-05-13 18:26:52 +0100
committerMariia Sandrikova <mariiasand@google.com>2021-05-14 12:13:50 +0100
commit437319e18b119e3b0c1d351e200aa92bbe8eb04d (patch)
treec390532d47e84201cd751780b4c5d2a4e411c1ac /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd8ee5fbd5f39cafbdfa8d871053c73d1fed9f6ba (diff)
Don't clear size compat mode on fold/unfold.
With ag/14036667, the displays are turned off during fold and unfold transitions. While screen is off, ActivityRecord#mVisibleRequested is set to false and mCompatDisplatInsets is cleared in onConfigurationChanged > restartProcessIfVisible > clearSizeCompatMode. As a result, unresizable activities don't enter size compat mode after fold/unfold as they should. To address this checking that visibleIgnoringKeyguard is set to false before clearing mCompatDisplayInsets. Fix: 187338605 Test: atest SizeCompatMode Change-Id: I75ea5bba106d04c849e6b7ab446f77fcd8928981
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions