summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/22/changes
diff options
context:
space:
mode:
authorAndrii Kulian <akulian@google.com>2017-03-16 11:06:24 -0700
committerAndrii Kulian <akulian@google.com>2017-03-16 19:13:02 -0700
commit446079600ece83b22cb91865bcbeb694292b0108 (patch)
tree6234d5bc43174ecf259b211b650769334158b0e3 /docs/html/sdk/api_diff/22/changes
parent73ba9da6e8179410fce22f5d15f41484ef2bc2b5 (diff)
Separate global and override config sent to client
There is some flakiness in View#onConfigurationChanged callback - if ViewRootImpl receives config update earlier than ActivityThread, it may not detect the configuration change and skip inner updates. Also now ViewRootImpl assumes that it receives the global config as a param, but instead it gets merged config from WM. This means that ViewRootImpl#sConfigCallbacks was sending incorrect values to the recipients. This CL switches to sending global and override configuration to the client separately. Also in case if there is a corresponding activity, it first updates it and waits for update callback to ViewRootImpl. This way global config and override config for activity will always be set first and resources will be updated before inner state of ViewRootImpl is updated. Bug: 35870157 Bug: 34164473 Test: android.server.cts.ActivityManagerDisplayTests Test: testOnMovedToDisplayCallback Change-Id: Ic9e7541cf25ecfac6ec90e48f7efb0ece91f657e
Diffstat (limited to 'docs/html/sdk/api_diff/22/changes')
0 files changed, 0 insertions, 0 deletions