turn "known players" on for all

This commit is contained in:
Eric House 2021-03-21 13:40:17 -07:00
parent 4f8ae02bbe
commit 3102271840
2 changed files with 2 additions and 5 deletions

View file

@ -110,7 +110,7 @@ android {
buildConfigField "boolean", "ATTACH_SUPPORTED", "false" buildConfigField "boolean", "ATTACH_SUPPORTED", "false"
buildConfigField "boolean", "OFFER_MQTT", "true" buildConfigField "boolean", "OFFER_MQTT", "true"
buildConfigField "boolean", "NON_RELEASE", "DEBUG || !IS_TAGGED_BUILD" buildConfigField "boolean", "NON_RELEASE", "DEBUG || !IS_TAGGED_BUILD"
buildConfigField "boolean", "HAVE_KNOWN_PLAYERS", "false" buildConfigField "boolean", "HAVE_KNOWN_PLAYERS", "true"
buildConfigField "boolean", "FOR_FDROID", "false" buildConfigField "boolean", "FOR_FDROID", "false"
buildConfigField "boolean", "HAVE_PASSWORD", "false" buildConfigField "boolean", "HAVE_PASSWORD", "false"
} }
@ -164,8 +164,6 @@ android {
resValue "string", "nfc_aid", "$NFC_AID_XW4d" resValue "string", "nfc_aid", "$NFC_AID_XW4d"
externalNativeBuild.ndkBuild.cFlags += ['-DVARIANT_xw4d'] externalNativeBuild.ndkBuild.cFlags += ['-DVARIANT_xw4d']
externalNativeBuild.ndkBuild.arguments += ['XW_BT_UUID=' + XWD_UUID] externalNativeBuild.ndkBuild.arguments += ['XW_BT_UUID=' + XWD_UUID]
externalNativeBuild.ndkBuild.cFlags += ['-DXWFEATURE_KNOWNPLAYERS']
buildConfigField "boolean", "HAVE_KNOWN_PLAYERS", "true"
} }
xw4dGPlay { xw4dGPlay {
@ -184,8 +182,6 @@ android {
resValue "string", "nfc_aid", "$NFC_AID_XW4d" resValue "string", "nfc_aid", "$NFC_AID_XW4d"
externalNativeBuild.ndkBuild.cFlags += ['-DVARIANT_xw4dGPlay'] externalNativeBuild.ndkBuild.cFlags += ['-DVARIANT_xw4dGPlay']
externalNativeBuild.ndkBuild.arguments += ['XW_BT_UUID=' + XWD_UUID] externalNativeBuild.ndkBuild.arguments += ['XW_BT_UUID=' + XWD_UUID]
externalNativeBuild.ndkBuild.cFlags += ['-DXWFEATURE_KNOWNPLAYERS']
buildConfigField "boolean", "HAVE_KNOWN_PLAYERS", "true"
} }
xw4Foss { xw4Foss {

View file

@ -39,6 +39,7 @@ LOCAL_DEFINES += \
-DHASH_STREAM \ -DHASH_STREAM \
-DXWFEATURE_DEVID \ -DXWFEATURE_DEVID \
-DXWFEATURE_CHAT \ -DXWFEATURE_CHAT \
-DXWFEATURE_KNOWNPLAYERS \
-DCOMMON_LAYOUT \ -DCOMMON_LAYOUT \
-DXWFEATURE_WIDER_COLS \ -DXWFEATURE_WIDER_COLS \
-DNATIVE_NLI \ -DNATIVE_NLI \