Closed Bug 936267 Opened 11 years ago Closed 11 years ago

[System][Internet Sharing] Fix error on no SIM device

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: masashi.honma, Assigned: masashi.honma)

Details

Attachments

(1 file)

This message is displayed on no SIM device's adb logcat.

E/GeckoConsole(   77): [JavaScript Error: "IccHelper.iccInfo is null" {file: "app://system.gaiamobile.org/js/internet_sharing.js" line: 105}]

This patch fixes this issue.
Attached file Pull Request
Attachment #828966 - Flags: review?(top12345tw)
Attachment #828966 - Attachment mime type: text/plain → text/html
Attachment #828966 - Flags: review?(top12345tw) → review?(echen)
Comment on attachment 828966 [details]
Pull Request

When sim card is not detected, the iccInfo will be |null|. Give r+ for this simple patch, but I still would like to invite Gaia guys to review this.

Thanks for your patch.
Attachment #828966 - Flags: review?(echen)
Attachment #828966 - Flags: review?(alive)
Attachment #828966 - Flags: review+
Attachment #828966 - Flags: review?(alive) → review+
echen,

Thanks for your review.

I made the code shorter.
Attachment #828966 - Flags: review+ → review?(echen)
Comment on attachment 828966 [details]
Pull Request

Thank you!
Attachment #828966 - Flags: review?(echen) → review+
Keywords: checkin-needed
Master: https://github.com/mozilla-b2g/gaia/commit/da7d5a419b7ec62df88bb5a43ade0402fd2011b4
Assignee: nobody → masashi.honma
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: