commit | 5d8cadc74dd3a813bd9b0521686e672bc8da99c9 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Mon Sep 28 18:19:11 2020 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Mon Sep 28 18:45:25 2020 +0800 |
tree | 78ab219515270a2a6187e19ba4aa89cd6dbe3b73 | |
parent | 08348e26e284781dd9754de2db6d4b0b7c084341 [diff] |
Fix activity config tests in ActivityThreadTest If the activity doesn't declare to handle the corresponding config change. The Activity#onConfigurationChanged won't be called. Also add timeout to avoid test hangs. Bug: 169550676 Test: testHandleActivityConfigurationChanged_ApplyNewConfigurations testHandleActivityConfigurationChanged_OnlyAppliesNewestConfiguration Change-Id: I65bc363695ed475d89e6b6828a97c4fed460470a