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
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
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
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
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
permissionStore.js
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