alidiepuit / osmtracker-android

Automatically exported from code.google.com/p/osmtracker-android
GNU General Public License v3.0
0 stars 0 forks source link

Fix TrackLogger.onResume shared-prefs boolean compare #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Related to #69, this fixes a warning when reading a boolean shared preference 
in TrackLogger.onResume().

The == comparison is done inside prefs.getBoolean instead of outside.

What steps will reproduce the problem?
1. Compile TrackLogger.java
2. Java warning: Comparing identical expressions

What version of the product are you using (See "About" screen)?
Current svn r206, based on 0.4.3

Make/model of your device, and Android version?
Android 2.1; Eclipse on OSX with java 1.6

Original issue reported on code.google.com by jdmo...@nand.net on 28 Sep 2010 at 11:06

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in r217, thanks !

Original comment by nguillau...@gmail.com on 4 Oct 2010 at 4:00