summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2017-02-09 16:50:13 -0800
committerBryce Lee <brycelee@google.com>2017-02-22 10:27:34 -0800
commit609bf65668181d93502a57575f6f20281f2494b8 (patch)
treee28b56033fab3094deb3752362ecf5e2f78ce0cf /tools/aapt2/diff/Diff.cpp
parenta1d548024dc1c8df6257c804225eb7ff8202c97b (diff)
Update DisplayAdjustments in Display from Resources.
Previously, a copy of DisplayAdjustments was provided during Display construction. If the Display instance is held, the adjustments would not update. However, the DisplayInfo would, leading to a mismatch. This changelist adds a reference to the Resources, which can be queried to provide the latest adjustments. Fixes: 33430498 Test: manual from bug repro steps. Test: make -j32 cts; cts-tradefed; run cts --module CtsAppTestCases --test android.app.cts.DisplayTest#testRotation Change-Id: Ida2ed3990add885d06b011494af24b055343f3fa
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions