Skip to content
Commit ad70f7d3 authored by Jay Thomas Sullivan's avatar Jay Thomas Sullivan Committed by Jay Sullivan
Browse files

Clear task in PermissionUsageFragmentTest

This test can fail if this activity had already been open. By passing
the CLEAR_TASK flag, we force the activity to start from scratch.

To reproduce the issue before this fix, run these commands:

    # Open the screen
    adb shell am start -a android.intent.action.REVIEW_PERMISSION_USAGE
    # Run the test
    atest PermissionUsageFragmentTest

Bug: 296473470
Test: see above
Relnote: Fix flakiness in PermissionUsageFragmentTest
Change-Id: I7d0467c987fe9094d68508e76f6c7999a699ff76
Merged-In: I7d0467c987fe9094d68508e76f6c7999a699ff76
parent 2d5e12b2
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