Changed logging levels as per CR.
This commit is contained in:
parent
a3c91e4eae
commit
096b9c20d1
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user