DO NOT MERGE: Fix android.widget.cts.ToolbarWithMarginsTest
@UiThreadTest annotation does not seem to have any effect, and CalledFromWrongThreadException is thrown. This happens regardless of the platform version (checked on NYC-MR1, AOSP master and internal master). This does not happen with newer versions of CTS. Using runOnUiThread and waitForIdleSync seems to solve the problem. Bug: 72118075 Test: android.widget.cts.ToolbarWithMarginsTest Change-Id: I100a841e88027851d7b6da31d2021c7dddcd05e6
Loading
Please sign in to comment