mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 18:35:34 +00:00
cmd/gogio: [Android] use correct android.hardware.type.pc feature
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -274,7 +274,6 @@ func archiveAndroid(tmpDir string, bi *buildInfo, perms []string) (err error) {
|
|||||||
themesXML21.Write([]byte(themesV21))
|
themesXML21.Write([]byte(themesV21))
|
||||||
permissions, features := getPermissions(perms)
|
permissions, features := getPermissions(perms)
|
||||||
// Disable input emulation on ChromeOS.
|
// Disable input emulation on ChromeOS.
|
||||||
features = append(features, "android.hardware.type.pc")
|
|
||||||
manifest := aarw.Create("AndroidManifest.xml")
|
manifest := aarw.Create("AndroidManifest.xml")
|
||||||
manifestSrc := manifestData{
|
manifestSrc := manifestData{
|
||||||
AppID: bi.appID,
|
AppID: bi.appID,
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ var AndroidPermissions = map[string][]string{
|
|||||||
}
|
}
|
||||||
|
|
||||||
var AndroidFeatures = map[string][]string{
|
var AndroidFeatures = map[string][]string{
|
||||||
"default": {`glEsVersion="0x00030000"`},
|
"default": {`glEsVersion="0x00030000"`, `name="android.hardware.type.pc"`},
|
||||||
"bluetooth": {
|
"bluetooth": {
|
||||||
`name="android.hardware.bluetooth"`,
|
`name="android.hardware.bluetooth"`,
|
||||||
`name="android.hardware.bluetooth_le"`,
|
`name="android.hardware.bluetooth_le"`,
|
||||||
|
|||||||
Reference in New Issue
Block a user