mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Merge mozilla-central into mozilla-inbound
This commit is contained in:
commit
f824c5dc5e
@ -879,10 +879,9 @@ bool
|
||||
IsDeviceConnectedTypeBoolean()
|
||||
{
|
||||
#if defined(MOZ_WIDGET_GONK)
|
||||
|
||||
char connProp[PROPERTY_VALUE_MAX];
|
||||
|
||||
property_get(PROP_DEVICE_CONNECTED_TYPE, connProp, "array");
|
||||
property_get(PROP_DEVICE_CONNECTED_TYPE, connProp, "boolean");
|
||||
if (strcmp(connProp, "boolean") == 0) {
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user