gnome-shell/js/misc
Cosimo Cecchi 96c2473317 modemManager: improve check for CDMA system identifier
Upon construction of the CDMA modem proxy, _reloadCdmaOperatorName()
is called and the value of the Sid property is read.
That property is defined as UINT32 in the D-Bus interface, but the
value may not be loaded yet after the proxy is constructed, in which
case its value will be null.

In _findProviderForSid(), we'll end up calling lookup_cdma_sid(null)
which fails with the following assertion:

gnome-shell[1082]: nma_mobile_providers_database_lookup_cdma_sid: assertion 'sid > 0' failed

This commit changes the (sid == 0) check in _findProviderForSid()
to (!sid) which will also catch the null case.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/555
2019-05-27 08:36:05 -07:00
..
config.js.in fileUtils: Add helper for loading D-Bus XML from resource 2018-09-17 07:34:49 +00:00
extensionUtils.js extensionUtils: Include some more helper functions 2019-02-06 19:52:21 +01:00
fileUtils.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
gnomeSession.js cleanup: Clean up unused imports 2019-02-09 05:05:07 +01:00
history.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
ibusManager.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
inputMethod.js inputMethod: Handle OSK hiding after unfocus 2019-03-04 18:24:38 +00:00
introspect.js introspect: Include sandboxed-app-id as well 2019-05-16 13:02:08 +00:00
jsParse.js cleanup: Use arrow notation for anonymous functions 2018-02-21 13:55:00 +00:00
keyboardManager.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
loginManager.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
meson.build networkAgent: Pick up VPN service dir from pkg-config 2018-01-22 08:44:19 +01:00
modemManager.js modemManager: improve check for CDMA system identifier 2019-05-27 08:36:05 -07:00
objectManager.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
params.js cleanup: Use method syntax 2018-02-21 13:54:58 +00:00
permissionStore.js dbus: Move all interface descriptions into the resource 2018-09-17 07:34:49 +00:00
smartcardManager.js cleanup: Clean up unused imports 2019-02-09 05:05:07 +01:00
systemActions.js systemActions: Only do prefix matches 2019-05-15 17:20:21 +00:00
util.js boxpointer: Don't use boxpointer actor, as it's now an actor itself 2019-04-17 21:32:18 +00:00
weather.js weather: Handle missing permission store 2019-04-03 13:27:42 +00:00