Closed Bug 710864 Opened 8 years ago Closed 8 years ago

StrictMode - unclosed stream warning in Fennec Native in AboutHomeContent

Categories

(Firefox for Android :: General, defect)

All
Android
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: kats, Assigned: kats)

Details

Attachments

(2 files)

Found this at https://bug708934.bugzilla.mozilla.org/attachment.cgi?id=581523 (attachment on bug 708934):

E/StrictMode( 4978): A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks.
E/StrictMode( 4978): java.lang.Throwable: Explicit termination method 'close' not called
E/StrictMode( 4978): at dalvik.system.CloseGuard.open(CloseGuard.java:184)
E/StrictMode( 4978): at java.io.FileInputStream.<init>(FileInputStream.java:80)
E/StrictMode( 4978): at org.mozilla.gecko.AboutHomeContent.getProfileRecommendedAddonsStream(AboutHomeContent.java:162)
E/StrictMode( 4978): at org.mozilla.gecko.AboutHomeContent.getRecommendedAddonsStream(AboutHomeContent.java:170)
E/StrictMode( 4978): at org.mozilla.gecko.AboutHomeContent$4.run(AboutHomeContent.java:184)
E/StrictMode( 4978): at android.os.Handler.handleCallback(Handler.java:605)
E/StrictMode( 4978): at android.os.Handler.dispatchMessage(Handler.java:92)
E/StrictMode( 4978): at android.os.Looper.loop(Looper.java:137)
E/StrictMode( 4978): at org.mozilla.gecko.GeckoAppShell$LooperThread.run(GeckoAppShell.java:153)
Attachment #581762 - Flags: review?(blassey.bugs) → review+
Attachment #581763 - Flags: review?(blassey.bugs) → review+
You need to log in before you can comment on or make changes to this bug.