diff options
author | Garfield Tan <xutan@google.com> | 2019-01-04 15:00:13 -0800 |
---|---|---|
committer | Garfield Tan <xutan@google.com> | 2019-01-10 15:33:07 -0800 |
commit | 0443b37c712a49f7e766c825663177b6d36ac801 (patch) | |
tree | dbc0b858d19ef47614bd1968c5375230f1759380 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 5068cada964c862462a1b5646d7a8aa74c4c8772 (diff) |
Drop stale activity configuration updates.
This CL introduces sequence number to activity configurations and use
that to compare their staleness. Always use the last reported activity
configs for Activity#onConfigurationChanged() and drop all requests
that are older than the processed one.
Fixes: 120189873
Test: Manually verify that number of configuration changes drops during
drag-resizing with a crafted app that needs 250ms to perform one
configuration change. go/wm-smoke too.
atest FrameworksCoreTests:ActivityThreadTest
atest WmTests:ActivityRecordTests
Change-Id: Ie0fd15458517470542a689b51283f4d1ed2ad4cc
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions