gecko-dev/mobile/android/services
Andrzej Hunt 135c35d919 Bug 1356693 - infer: fix RESOURCE_LEAK's in services r=Grisha
The primary issue is that we use a throwing InputStreamReader
constructor. If it throws, then any nested streams will be lost.
We can fix that by using the non-throwing InputStreamReader
constructor (which uses a Charset as the second parameter,
instead of a String which causes an Exception to be thrown
if it can't be parsed)

We also simplify some nested Stream's a little: most of the
Stream constructors don't throw, so there's no harm in not keeping
individual references to those that don't throw - and that
results in less Stream references for us to handle.

MozReview-Commit-ID: 2hyRFGVmGnU

--HG--
extra : rebase_source : 9d2b25997e0f71089c0ef56c0069cafe068f821e
2017-04-14 20:58:59 -07:00
..
manifests Bug 1245791 - Part 1: Start FxAccountDeletedService directly, not through an intent r=nalexander 2016-07-07 11:32:52 -07:00
src/main Bug 1356693 - infer: fix RESOURCE_LEAK's in services r=Grisha 2017-04-14 20:58:59 -07:00
README.txt
strings.xml.in Bug 1325264 - Update wording of 'disconnect from sync' dialog. r=Grisha 2017-01-27 18:11:44 +01:00

README.txt

These files are managed in the android-sync repo. Do not modify directly, or your changes will be lost.