commit | fab3737bba033266f3d6f38f9f7475b3960eccc6 | [log] [tgz] |
---|---|---|
author | Naomi Musgrave <nmusgrave@google.com> | Thu Mar 11 15:41:37 2021 +0000 |
committer | Naomi Musgrave <nmusgrave@google.com> | Fri Mar 12 11:07:53 2021 +0000 |
tree | 8b0c0c6aefe4cac5553e24aa284e334a5c0dacbb | |
parent | d3035fe485b76588bf5c196214dd3185178a9ddb [diff] |
Do not allow Display#getRealMetrics to return values reflecting the app bounds. Fixes Display#getRealMetrics sandboxing bug, where a non-null configuration results in DisplayInfo ignoring max bounds width and height for app bounds. Consistent with non-sandboxing implementation of Display#getRealMetrics Bug: 182377479 Test: atest FrameworksMockingCoreTests:android.view.DisplayTests Change-Id: I067aeb020e1ca214aa269182c475b4553de0eb09