Skip to content

Commit

Permalink
Fix crash when pressing back from statistics view and again in overvi…
Browse files Browse the repository at this point in the history
…ew (#399)

* Fix crash when pressing back from statistics view and again in overview

* AVD cache fix
  • Loading branch information
Futsch1 authored Dec 24, 2024
1 parent 0cfeecb commit ab1d819
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/compatibilityTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
path: |
~/.android/avd/*
~/.android/adb*
key: avd-ubuntu-${{ matrix.api-level }}
key: avd-${{ matrix.api-level }}

- name: Create AVD and generate snapshot for caching
if: steps.avd-cache.outputs.cache-hit != 'true'
Expand All @@ -62,7 +62,6 @@ jobs:
disable-animations: true
profile: ${{ matrix.profile }}
script: ./gradlew connectedCheck
cores: 4

- uses: actions/upload-artifact@v4
if: always()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ private void loadActiveFragment(StatisticFragmentType fragmentType) {
};
FragmentTransaction transaction = requireActivity().getSupportFragmentManager().beginTransaction();
transaction.replace(R.id.container, fragment);
transaction.addToBackStack(null);
transaction.commit();

activeStatisticsFragment.setActiveFragment(fragmentType);
Expand Down

0 comments on commit ab1d819

Please sign in to comment.