Skip to content

Commit

Permalink
bump version to 4.2.4
Browse files Browse the repository at this point in the history
Also disable CPU overuse detection.
  • Loading branch information
mwarning committed Sep 28, 2023
1 parent 92481c5 commit 0e7e513
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
defaultConfig {
minSdkVersion 19
targetSdkVersion 33
versionCode 423
versionName "4.2.3"
versionCode 424
versionName "4.2.4"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
vectorDrawables.useSupportLibrary = true
multiDexEnabled true
Expand Down
6 changes: 6 additions & 0 deletions app/src/main/kotlin/d/d/meshenger/Database.kt
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,12 @@ class Database {
newFrom = "4.2.3"
}

if (newFrom == "4.2.3") {
// disable detection to enable custom resolution/framerate
settings.put("disable_cpu_overuse_detection", true)
newFrom = "4.2.4"
}

alignSettings(settings)

db.put("version", newFrom)
Expand Down
1 change: 1 addition & 0 deletions metadata/en-US/changelogs/424.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* disable cpu overuse detection by default

3 comments on commit 0e7e513

@mehmettekgoz
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I have Error. "Overlay permission missing. Won't be able to receive calls while in backround.

@mwarning
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mehmettekgoz then you have not granted overlay permissions to the App. There should have been a dialog when you started the app the first time.

@mwarning
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, your comment does not seem to have anything to do with this commit..

Please sign in to comment.