commit | ec05bc0fda9e10fe16cb98c5d3a4de37773ad5f8 | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Tue Apr 18 14:42:22 2017 -0700 |
committer | Adam Lesinski <adamlesinski@google.com> | Tue Apr 18 16:58:18 2017 -0700 |
tree | e678049811a0e60d949b251c8750723540d59741 | |
parent | 1e28c8fa337388060dc7f69a835852cab324724d [diff] |
Fix issue with fontScale changes not taking effect If a configuration change occurs, and an underlying ResourcesImpl is swapped out under a Resources object, the DisplayMetrics cached by TypedArray will be stale and not up-to-date. Bug: 34120637 Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerConfigChangeTests Change-Id: Id78a6d259250950387c2e95c4a2292fdd095c7af