Changed logging levels as per CR.

This commit is contained in:
Peter Serwylo 2015-11-30 18:13:12 +11:00
parent a3c91e4eae
commit 096b9c20d1
3 changed files with 4 additions and 4 deletions

View File

@ -111,7 +111,7 @@ public class RepoUpdater {
} catch (IOException e) {
if (downloader != null && downloader.getFile() != null) {
if (!downloader.getFile().delete()) {
Log.i(TAG, "Couldn't delete file: " + downloader.getFile().getAbsolutePath());
Log.w(TAG, "Couldn't delete file: " + downloader.getFile().getAbsolutePath());
}
}
@ -198,7 +198,7 @@ public class RepoUpdater {
Utils.closeQuietly(indexInputStream);
if (downloadedFile != null) {
if (!downloadedFile.delete()) {
Log.i(TAG, "Couldn't delete file: " + downloadedFile.getAbsolutePath());
Log.w(TAG, "Couldn't delete file: " + downloadedFile.getAbsolutePath());
}
}
}

View File

@ -141,7 +141,7 @@ public class TempApkProvider extends ApkProvider {
}
private void commitTable() {
Log.d(TAG, "Deleting all apks from " + DBHelper.TABLE_APK + " so they can be copied from " + getTableName());
Log.i(TAG, "Deleting all apks from " + DBHelper.TABLE_APK + " so they can be copied from " + getTableName());
write().execSQL("DELETE FROM " + DBHelper.TABLE_APK);
write().execSQL("INSERT INTO " + DBHelper.TABLE_APK + " SELECT * FROM " + getTableName());
getContext().getContentResolver().notifyChange(ApkProvider.getContentUri(), null);

View File

@ -115,7 +115,7 @@ public class TempAppProvider extends AppProvider {
}
private void commitTable() {
Log.d(TAG, "Deleting all apks from " + DBHelper.TABLE_APP + " so they can be copied from " + getTableName());
Log.i(TAG, "Deleting all apks from " + DBHelper.TABLE_APP + " so they can be copied from " + getTableName());
write().execSQL("DELETE FROM " + DBHelper.TABLE_APP);
write().execSQL("INSERT INTO " + DBHelper.TABLE_APP + " SELECT * FROM " + getTableName());
getContext().getContentResolver().notifyChange(AppProvider.getContentUri(), null);