diff options
author | Naomi Musgrave <nmusgrave@google.com> | 2021-03-11 15:41:37 +0000 |
---|---|---|
committer | Naomi Musgrave <nmusgrave@google.com> | 2021-03-12 11:07:53 +0000 |
commit | fab3737bba033266f3d6f38f9f7475b3960eccc6 (patch) | |
tree | 8b0c0c6aefe4cac5553e24aa284e334a5c0dacbb /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions