commit | 286845eb3eecf1647f2536d525234d9cda342d82 | [log] [tgz] |
---|---|---|
author | Charles Chen <charlesccchen@google.com> | Tue Jan 25 12:46:24 2022 +0800 |
committer | Charles Chen <charlesccchen@google.com> | Wed Jan 26 18:14:34 2022 +0800 |
tree | cb4a18bc74a69b940679bc1484fbee12c85110c1 | |
parent | 490be11e8b111e4d74ac54749b179a654020828e [diff] |
Report Activity config changes only if it handles the change In S, we don't dispatch #onConfigurationChanged callback if the screen size changes doesn't corss size buckets. However,user may still want to know the change even if it's very small. This CL changes to dispatch the callback if the Activity handles the config changes. Also clean-up the unused code. Bug: 202468254 Test: atest AppConfigurationTests Change-Id: Ief68922ed80a0fcfc05c7ccb5e3692334352a2c3