Commented out some excessive debug logging
This commit is contained in:
parent
b30fc71500
commit
2de6a41447
@ -512,8 +512,8 @@ public class DB {
|
|||||||
boolean found = false;
|
boolean found = false;
|
||||||
for (App app : updateApps) {
|
for (App app : updateApps) {
|
||||||
if (app.id.equals(upapp.id)) {
|
if (app.id.equals(upapp.id)) {
|
||||||
Log.d("FDroid", "AppUpdate: " + app.id
|
// Log.d("FDroid", "AppUpdate: " + app.id
|
||||||
+ " is already in the database.");
|
// + " is already in the database.");
|
||||||
updateAppIfDifferent(app, upapp);
|
updateAppIfDifferent(app, upapp);
|
||||||
app.updated = true;
|
app.updated = true;
|
||||||
found = true;
|
found = true;
|
||||||
@ -521,8 +521,8 @@ public class DB {
|
|||||||
boolean afound = false;
|
boolean afound = false;
|
||||||
for (Apk apk : app.apks) {
|
for (Apk apk : app.apks) {
|
||||||
if (apk.version.equals(upapk.version)) {
|
if (apk.version.equals(upapk.version)) {
|
||||||
Log.d("FDroid", "AppUpdate: " + apk.version
|
// Log.d("FDroid", "AppUpdate: " + apk.version
|
||||||
+ " is a known version.");
|
// + " is a known version.");
|
||||||
updateApkIfDifferent(apk, upapk);
|
updateApkIfDifferent(apk, upapk);
|
||||||
apk.updated = true;
|
apk.updated = true;
|
||||||
afound = true;
|
afound = true;
|
||||||
@ -531,8 +531,8 @@ public class DB {
|
|||||||
}
|
}
|
||||||
if (!afound) {
|
if (!afound) {
|
||||||
// A new version of this application.
|
// A new version of this application.
|
||||||
Log.d("FDroid", "AppUpdate: " + upapk.version
|
// Log.d("FDroid", "AppUpdate: " + upapk.version
|
||||||
+ " is a new version.");
|
// + " is a new version.");
|
||||||
updateApkIfDifferent(null, upapk);
|
updateApkIfDifferent(null, upapk);
|
||||||
upapk.updated = true;
|
upapk.updated = true;
|
||||||
app.apks.add(upapk);
|
app.apks.add(upapk);
|
||||||
@ -543,9 +543,9 @@ public class DB {
|
|||||||
}
|
}
|
||||||
if (!found) {
|
if (!found) {
|
||||||
// It's a brand new application...
|
// It's a brand new application...
|
||||||
Log
|
// Log
|
||||||
.d("FDroid", "AppUpdate: " + upapp.id
|
// .d("FDroid", "AppUpdate: " + upapp.id
|
||||||
+ " is a new application.");
|
// + " is a new application.");
|
||||||
updateAppIfDifferent(null, upapp);
|
updateAppIfDifferent(null, upapp);
|
||||||
for (Apk upapk : upapp.apks) {
|
for (Apk upapk : upapp.apks) {
|
||||||
updateApkIfDifferent(null, upapk);
|
updateApkIfDifferent(null, upapk);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user