Skip to content
Commit 5d8cadc7 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 08348e26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment