Skip to content

Commit

Permalink
update android-emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
cpacm committed Dec 28, 2023
1 parent bb62d85 commit df70ba8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pre_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
cores: 4
arch: x86_64
working-directory: ./demo
script: ./gradlew :app:connectedAndroidTest --stacktrace
script: ./gradlew :app:connectedAndroidTest --info

- name: Run sdk unit tests
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public boolean isDecorView(View rootView) {
public List<DecorView> getTopActivityViews() {
List<DecorView> topViews = new ArrayList<>();
Activity activity = TrackMainThread.trackMain().getForegroundActivity();
if (activity == null) return null;
if (activity == null) return topViews;
List<DecorView> decorViews = getAllWindowDecorViews();
View activityView = activity.getWindow().getDecorView();
boolean findTopActivity = false;
Expand Down

0 comments on commit df70ba8

Please sign in to comment.