diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-10-21 23:22:17 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-10-22 13:23:22 +0800 |
commit | 06ccd09f912d3409397ddbefe70c6de0e2df1fa6 (patch) | |
tree | 4b9af544e3744d25837f60d0774a04f676209904 /rs/java/android/renderscript/ProgramStore.java | |
parent | a3eea61e3aa91c10a82bc2d201570ffa93da06af (diff) |
Only rely on ActivityConfigurationChangeItem to update activity config
This removes the legacy path that updates or set the pending activity
config when process config is changed. Since the handling of activity
config is separated, the legacy path from process config change almost
becomes no-op because the activity override config will dominate the
result of config difference.
This removal may also avoid the config change happened on unexpected
timing if the process registered to an activity as a config listener.
And the condition (in collectComponentCallbacks) for deciding whether
to deliver config to activity is not consistent with task manager
service on server side.
Bug: 171389102
Test: CtsWindowManagerDeviceTestCases:AppConfigurationTests
Change-Id: Ia4f9a9cc3538f5f419bdc9d125e2a930074e2f86
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions