Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/remove main thread queries #3827

Open
wants to merge 9 commits into
base: release/4.0
Choose a base branch
from

Conversation

HalfAPum
Copy link
Contributor

@HalfAPum HalfAPum commented May 28, 2023

Description

I removed allowMainThreadQueries from databases initializations.
I checked that all dao function calls executes on IO thread.
I converted All Dao And Helper classes from Java to Kotlin.
I also made sure that same amount of tests passed after my changes as before them.

Issue tracker

Closes #3826

Automatic tests

  • Added test cases

Manual tests

  • Done

Build tasks success

Successfully running following tasks on local:

  • ./gradlew assembledebug
  • ./gradlew spotlessCheck

@HalfAPum HalfAPum force-pushed the feature/remove-main-thread-queries branch from e6805e8 to 875d247 Compare May 29, 2023 16:43
@HalfAPum HalfAPum marked this pull request as ready for review May 29, 2023 17:34
@VishalNehra
Copy link
Member

@HalfAPum can you please address static code analysis issues https://github.com/TeamAmaze/AmazeFileManager/pull/3827/checks?check_run_id=13839338151

@VishalNehra
Copy link
Member

There are bunch of errors in build and test cases. Please check them as well, if facing any issue do write we'll help check the issue there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove allowMainThreadQueries from database initialization
2 participants