diff options
author | Thomas Martitz <kugel@rockbox.org> | 2012-03-25 23:26:14 +0200 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2012-03-25 23:26:58 +0200 |
commit | 76664d22df59cfd0053c8863e37b699e58da3478 (patch) | |
tree | 14a49eb779f6e5fbe962b1d12b6213022bdf9e54 | |
parent | c8317eb596a867d6513ef78f84a5e620579580ce (diff) | |
download | rockbox-76664d22df59cfd0053c8863e37b699e58da3478.tar.gz rockbox-76664d22df59cfd0053c8863e37b699e58da3478.zip |
android: only output unzip log message when performing the unzip.
Change-Id: I16dda180d51832569097d7dd1866ba7f56cdf876
-rw-r--r-- | android/src/org/rockbox/RockboxService.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/android/src/org/rockbox/RockboxService.java b/android/src/org/rockbox/RockboxService.java index 5c8f8cfd99..c07ed9d328 100644 --- a/android/src/org/rockbox/RockboxService.java +++ b/android/src/org/rockbox/RockboxService.java | |||
@@ -178,16 +178,16 @@ public class RockboxService extends Service | |||
178 | /* use arbitrary file to determine whether extracting is needed */ | 178 | /* use arbitrary file to determine whether extracting is needed */ |
179 | File arbitraryFile = new File(rockboxCreditsPath, "credits.rock"); | 179 | File arbitraryFile = new File(rockboxCreditsPath, "credits.rock"); |
180 | File rockboxInfoFile = new File(rockboxSdDirPath, "rockbox-info.txt"); | 180 | File rockboxInfoFile = new File(rockboxSdDirPath, "rockbox-info.txt"); |
181 | boolean extractToSd = false; | ||
182 | if(rockboxInfoFile.exists()) { | ||
183 | extractToSd = true; | ||
184 | Logger.d("extracting resources to SD card"); | ||
185 | } | ||
186 | else { | ||
187 | Logger.d("extracting resources to internal memory"); | ||
188 | } | ||
189 | if (!arbitraryFile.exists() || (libMisc.lastModified() > arbitraryFile.lastModified())) | 181 | if (!arbitraryFile.exists() || (libMisc.lastModified() > arbitraryFile.lastModified())) |
190 | { | 182 | { |
183 | boolean extractToSd = false; | ||
184 | if(rockboxInfoFile.exists()) { | ||
185 | extractToSd = true; | ||
186 | Logger.d("extracting resources to SD card"); | ||
187 | } | ||
188 | else { | ||
189 | Logger.d("extracting resources to internal memory"); | ||
190 | } | ||
191 | try | 191 | try |
192 | { | 192 | { |
193 | Bundle progressData = new Bundle(); | 193 | Bundle progressData = new Bundle(); |