8000 0kb game install fix by LossyDragon · Pull Request #275 · oxters168/Pluvia · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

0kb game install fix #275

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

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000
Diff view
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ android {
//noinspection ExpiredTargetSdkVersion
targetSdk = 28

versionCode = 7
versionCode = 8
versionName = "1.3.2"

buildConfigField("boolean", "GOLD", "false")
Expand Down
27 changes: 13 additions & 14 deletions app/src/main/java/com/OxGames/Pluvia/PluviaApp.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.OxGames.Pluvia

import android.os.StrictMode
import androidx.navigation.NavController
import com.OxGames.Pluvia.events.EventDispatcher
import com.OxGames.Pluvia.utils.application.CrashHandler
Expand All @@ -18,19 +17,19 @@ class PluviaApp : SplitCompatApplication() {
super.onCreate()

if (BuildConfig.DEBUG) {
StrictMode.setVmPolicy(
StrictMode.VmPolicy.Builder()
.detectLeakedClosableObjects() // Detect when Closeable objects are not properly closed
.penaltyLog() // Log violations to logcat
.build(),
)

StrictMode.setThreadPolicy(
StrictMode.ThreadPolicy.Builder()
.detectAll() // Detect all violations (disk reads/writes, network operations, etc.)
.penaltyLog() // Log violations to logcat
.build(),
)
// StrictMode.setVmPolicy(
// StrictMode.VmPolicy.Builder()
// .detectLeakedClosableObjects() // Detect when Closeable objects are not properly closed
// .penaltyLog() // Log violations to logcat
// .build(),
// )
//
// StrictMode.setThreadPolicy(
// StrictMode.ThreadPolicy.Builder()
// .detectAll() // Detect all violations (disk reads/writes, network operations, etc.)
// .penaltyLog() // Log violations to logcat
// .build(),
// )

Timber.plant(Timber.DebugTree())
} else {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/OxGames/Pluvia/db/dao/SteamAppDao.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface SteamAppDao {
suspend fun insert(apps: SteamApp)

@Insert(>
suspend fun insert(apps: List<SteamApp>)
suspend fun insertAll(apps: List<SteamApp>)

@Update
suspend fun update(app: SteamApp)
Expand Down
3 changes: 3 additions & 0 deletions app/src/main/java/com/OxGames/Pluvia/db/dao/SteamFriendDao.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ interface SteamFriendDao {
@Update
suspend fun update(friend: SteamFriend)

@Update
suspend fun updateAll(friend: List<SteamFriend>)

@Transaction
suspend fun updateNicknames(nickname: List<PlayerNickname>) {
nickname.forEach {
8000 Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import com.OxGames.Pluvia.data.SteamLicense
interface SteamLicenseDao {

@Insert(>
suspend fun insert(license: List<SteamLicense>)
suspend fun insertAll(license: List<SteamLicense>)

@Update
suspend fun update(license: SteamLicense)
Expand Down
Loading
0