summaryrefslogtreecommitdiff
path: root/wifi/java/src
diff options
context:
space:
mode:
author Vali Calinescu <vcalinescu@google.com> 2023-03-21 18:21:08 +0000
committer Vali Calinescu <vcalinescu@google.com> 2023-03-23 11:33:31 +0000
commite17ef904e5e77d41afd07db6fb621bba66bcea28 (patch)
tree2e7ff25b7ff747b95be1629a4923d65ec9ec9f29 /wifi/java/src
parenta55730c9bc6287235374a2461e0a36a60f64a5e2 (diff)
Clear mInheritedCompatDisplayInsets when clearing size compat mode
Translucent activities inherit the compatDisplayInsets of the first opaque activity beneath them, so they can go into an infinite loop of clearing size compat mode because they would appear to be in size compat mode indefinitely. To fix this we will also clear the compatDisplayInsets of the opaque activity when clearing size compat mode for the translucent activity. Fix: 273768507 Test: Manual with test app Test: atest WmTests:SizeCompatTests#testTranslucentActivity_clearSizeCompatMode_inheritedCompatDisplayInsetsCleared Change-Id: I84c42872cc4fad296a069960f2b1983dfab25bfc
Diffstat (limited to 'wifi/java/src')
0 files changed, 0 insertions, 0 deletions