remove verbose logging from InstalledAppProvider stuff
This commit is contained in:
		
							parent
							
								
									2b8bfd4aa6
								
							
						
					
					
						commit
						67a5156641
					
				| @ -225,10 +225,8 @@ public class InstalledAppProvider extends FDroidProvider { | ||||
|         QuerySelection query = new QuerySelection(where, whereArgs); | ||||
|         query = query.add(queryAppSubQuery(packageName)); | ||||
| 
 | ||||
|         Utils.debugLog(TAG, "Deleting " + packageName); | ||||
|         int count = db().delete(getTableName(), query.getSelection(), query.getArgs()); | ||||
| 
 | ||||
|         Utils.debugLog(TAG, "Requesting the suggested apk get recalculated for  " + packageName); | ||||
|         AppProvider.Helper.calcSuggestedApk(getContext(), packageName); | ||||
| 
 | ||||
|         return count; | ||||
| @ -252,10 +250,8 @@ public class InstalledAppProvider extends FDroidProvider { | ||||
| 
 | ||||
|         verifyVersionNameNotNull(values); | ||||
| 
 | ||||
|         Utils.debugLog(TAG, "Inserting/updating " + packageName); | ||||
|         db().replaceOrThrow(getTableName(), null, values); | ||||
| 
 | ||||
|         Utils.debugLog(TAG, "Requesting the suggested apk get recalculated for  " + packageName); | ||||
|         AppProvider.Helper.calcSuggestedApk(getContext(), packageName); | ||||
| 
 | ||||
|         return getAppUri(values.getAsString(Cols.Package.NAME)); | ||||
|  | ||||
| @ -10,7 +10,6 @@ import android.content.pm.Signature; | ||||
| import android.net.Uri; | ||||
| import android.os.Process; | ||||
| import android.support.annotation.Nullable; | ||||
| import android.util.Log; | ||||
| import org.acra.ACRA; | ||||
| import org.fdroid.fdroid.AppUpdateStatusManager; | ||||
| import org.fdroid.fdroid.Hasher; | ||||
| @ -221,7 +220,6 @@ public class InstalledAppProviderService extends IntentService { | ||||
|         if (ACTION_INSERT.equals(action)) { | ||||
|             PackageInfo packageInfo = getPackageInfo(intent, packageName); | ||||
|             if (packageInfo != null) { | ||||
|                 Log.i(TAG, "Marking " + packageName + " as installed"); | ||||
|                 File apk = getPathToInstalledApk(packageInfo); | ||||
|                 if (apk == null) { | ||||
|                     return; | ||||
| @ -255,7 +253,6 @@ public class InstalledAppProviderService extends IntentService { | ||||
|                 } | ||||
|             } | ||||
|         } else if (ACTION_DELETE.equals(action)) { | ||||
|             Log.i(TAG, "Marking " + packageName + " as no longer installed"); | ||||
|             deleteAppFromDb(this, packageName); | ||||
|         } | ||||
|         packageChangeNotifier.onNext(packageName); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Hans-Christoph Steiner
						Hans-Christoph Steiner