mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 01:15:35 +00:00
cmd/gogio: [Android] disable ChromeOS input emulation
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -273,6 +273,8 @@ func archiveAndroid(tmpDir string, bi *buildInfo, perms []string) (err error) {
|
|||||||
themesXML21 := aarw.Create("res/values-v21/themes.xml")
|
themesXML21 := aarw.Create("res/values-v21/themes.xml")
|
||||||
themesXML21.Write([]byte(themesV21))
|
themesXML21.Write([]byte(themesV21))
|
||||||
permissions, features := getPermissions(perms)
|
permissions, features := getPermissions(perms)
|
||||||
|
// 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,
|
||||||
|
|||||||
Reference in New Issue
Block a user