mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
android: only output unzip log message when performing the unzip.
Change-Id: I16dda180d51832569097d7dd1866ba7f56cdf876
This commit is contained in:
parent
c8317eb596
commit
76664d22df
1 changed files with 8 additions and 8 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue