summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Graciela Wissen Putri <gracielawputri@google.com> 2023-03-20 15:03:43 +0000
committer Graciela Wissen Putri <gracielawputri@google.com> 2023-03-22 10:16:59 +0000
commit21b855a3f0bdbb670c4373ee7dd6906d2414fd0e (patch)
treef2058367a4723032615f4d7e0cdcb060e1dda55f /libs/androidfw/ResourceTimer.cpp
parent106aa99da2f1122c54f042a53288a75087c241b2 (diff)
Add isAutomaticReachabilityInBookModeEnabled config
To minimise disruption in experience, we disable automatic book mode repositioning by default so letterboxed app will not jump to left side of screen if device is half folded. If app is centered in book mode, don't resize bounds to split screen aspect ratio. Only resize if app is on left/right size when half folded. Fix: 270560857 Test: Manual && atest WmTests:SizeCompatTests Change-Id: Ifc259c1c2a5ad37c5714c359bc090274b7bcb565
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions