diff options
| author | 2022-03-15 14:31:06 +0000 | |
|---|---|---|
| committer | 2022-03-17 10:40:50 +0000 | |
| commit | b9db23114a4b5d1ebdc086dbfe444a4a82fb11e3 (patch) | |
| tree | 0c3a7619a69811ab3c70993ebf06dc2af847ce22 /libs/androidfw/StringPool.cpp | |
| parent | 87d60042aa11a918c4b192770e9a088bc293a35d (diff) | |
Fix #testChangeFontScaleNoRelaunch flaky
The test failed because we used public config diff to determine if
Activity#onConfigurationChanged should be dispatched.
However, the public config diff contained the change which wouldn't
make Activity relaunch and also receive the callback.
This CL uses the public diff, which filters the change without
relaunching Activity, to determine if the callback should be
dispatched. This CL also covers the case that the callback is
still dispatched if small changes are handled.
Test: atest ActivityThreadClientTest ConfigChangeTests
Bug: 222067515
Bug: 222223467
Change-Id: I8aa80e9fd70fddc9f88a36e7dc2ffb2163b9ffa6
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions