mirror of
https://github.com/rafaelvcaetano/melonDS-android.git
synced 2024-11-27 07:30:40 +00:00
Fix build warnings
This commit is contained in:
parent
84046add6c
commit
ff5ab0bfa0
@ -20,6 +20,7 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
namespace = "me.magnum.melonds"
|
||||
compileSdk = AppConfig.compileSdkVersion
|
||||
ndkVersion = AppConfig.ndkVersion
|
||||
defaultConfig {
|
||||
|
@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="me.magnum.melonds">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="me.magnum.melonds">
|
||||
xmlns:tools="http://schemas.android.com/tools">
|
||||
|
||||
<uses-feature android:name="android.hardware.camera.any" />
|
||||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
|
||||
|
@ -7,7 +7,6 @@ import androidx.room.Update
|
||||
import io.reactivex.Single
|
||||
import me.magnum.melonds.database.entities.CheatEntity
|
||||
import me.magnum.melonds.database.entities.CheatStatusUpdate
|
||||
import me.magnum.melonds.domain.model.Cheat
|
||||
|
||||
@Dao
|
||||
interface CheatDao {
|
||||
@ -17,8 +16,8 @@ interface CheatDao {
|
||||
@Insert
|
||||
fun insertCheats(cheatEntities: List<CheatEntity>): List<Long>
|
||||
|
||||
@Query("SELECT * FROM game LEFT JOIN cheat_folder ON game.id = cheat_folder.game_id LEFT JOIN cheat ON cheat_folder.id = cheat.cheat_folder_id WHERE game.game_code = :gameCode AND (game.game_checksum IS NULL OR game.game_checksum = :gameChecksum) AND cheat.enabled = 1")
|
||||
fun getEnabledRomCheats(gameCode: String, gameChecksum: String): Single<List<Cheat>>
|
||||
@Query("SELECT cheat.* FROM game LEFT JOIN cheat_folder ON game.id = cheat_folder.game_id LEFT JOIN cheat ON cheat_folder.id = cheat.cheat_folder_id WHERE game.game_code = :gameCode AND (game.game_checksum IS NULL OR game.game_checksum = :gameChecksum) AND cheat.enabled = 1")
|
||||
fun getEnabledRomCheats(gameCode: String, gameChecksum: String): Single<List<CheatEntity>>
|
||||
|
||||
@Update(entity = CheatEntity::class)
|
||||
fun updateCheatsStatus(cheats: List<CheatStatusUpdate>)
|
||||
|
@ -2,6 +2,7 @@ apply plugin: 'com.android.library'
|
||||
apply plugin: 'kotlin-android'
|
||||
|
||||
android {
|
||||
namespace "com.smp.masterswitchpreference"
|
||||
compileSdk 33
|
||||
|
||||
defaultConfig {
|
||||
|
@ -1,5 +1,2 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.smp.masterswitchpreference">
|
||||
|
||||
/
|
||||
<manifest>
|
||||
</manifest>
|
Loading…
Reference in New Issue
Block a user