Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Commit

Permalink
Merge pull request #208 from darran-kelinske-fivestars/add_is_system_…
Browse files Browse the repository at this point in the history
…alert_window

Add isSystemAlertWindow and isNotSystemAlertWindow
  • Loading branch information
Unlimity authored May 1, 2020
2 parents d5fbb0a + b868786 commit b270917
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,20 @@ class RootBuilder {
rootMatchers.add(Matchers.not(RootMatchers.isPlatformPopup()))
}

/**
* Matches root that is system alert window
*/
fun isSystemAlertWindow() {
rootMatchers.add(RootMatchers.isSystemAlertWindow())
}

/**
* Matches root that is not system alert window
*/
fun isNotSystemAlertWindow() {
rootMatchers.add(Matchers.not(RootMatchers.isSystemAlertWindow()))
}

/**
* Matches root that is touchable
*/
Expand Down

0 comments on commit b270917

Please sign in to comment.