Check component before notifying activity is visible.
ActivityStackSupervisor tracks WaitResults which are waiting for an Activity to become visible. This is used exclusively by ActivityStarter to wait for an Activity to be brought to the foreground before returning. However, there are some cases where other Activities will report a visible state in between. Without a qualifier, these would cause the ActivityStarter's WaitResult to be fulfilled and the wrong information would be returned. This changelist specifies a component the WaitResult should be triggered on. Change-Id: I7c356a8d153ddc24603acc55749e9992f9000c3f Fixes: 36860122 Test: cts-tradefed run cts -m CtsServicesHostTestCases -t android.server.cts.ActivityManagerAmStartOptionsTests#testDashW_Direct
Loading
Please register or sign in to comment