summaryrefslogtreecommitdiffstats
path: root/android/src/org/rockbox
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-03-25 23:26:14 +0200
committerThomas Martitz <kugel@rockbox.org>2012-03-25 23:26:58 +0200
commit76664d22df59cfd0053c8863e37b699e58da3478 (patch)
tree14a49eb779f6e5fbe962b1d12b6213022bdf9e54 /android/src/org/rockbox
parentc8317eb596a867d6513ef78f84a5e620579580ce (diff)
downloadrockbox-76664d22df59cfd0053c8863e37b699e58da3478.tar.gz
rockbox-76664d22df59cfd0053c8863e37b699e58da3478.tar.bz2
rockbox-76664d22df59cfd0053c8863e37b699e58da3478.zip
android: only output unzip log message when performing the unzip.
Change-Id: I16dda180d51832569097d7dd1866ba7f56cdf876
Diffstat (limited to 'android/src/org/rockbox')
-rw-r--r--android/src/org/rockbox/RockboxService.java16
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
/* use arbitrary file to determine whether extracting is needed */
File arbitraryFile = new File(rockboxCreditsPath, "credits.rock");
File rockboxInfoFile = new File(rockboxSdDirPath, "rockbox-info.txt");
- boolean extractToSd = false;
- if(rockboxInfoFile.exists()) {
- extractToSd = true;
- Logger.d("extracting resources to SD card");
- }
- else {
- Logger.d("extracting resources to internal memory");
- }
if (!arbitraryFile.exists() || (libMisc.lastModified() > arbitraryFile.lastModified()))
{
+ boolean extractToSd = false;
+ if(rockboxInfoFile.exists()) {
+ extractToSd = true;
+ Logger.d("extracting resources to SD card");
+ }
+ else {
+ Logger.d("extracting resources to internal memory");
+ }
try
{
Bundle progressData = new Bundle();