@@ -0,0 +1,1006 @@
+/*%0A * Copyright (c) Facebook, Inc. and its affiliates.%0A *%0A * This source code is licensed under the MIT license found in the%0A * LICENSE file in the root directory of this source tree.%0A */%0Apackage com.facebook.imagepipeline.debug;%0A%0Aimport com.facebook.cache.common.CacheKey;%0Aimport com.facebook.imagepipeline.cache.DefaultCacheKeyFactory;%0Aimport com.facebook.imagepipeline.request.ImageRequest;%0Aimport javax.annotation.Nullable;%0A%0Apublic class FlipperCacheKeyFactory extends DefaultCacheKeyFactory %7B%0A%0A  private final @Nullable DebugImageTracker mDebugImageTracker;%0A%0A  public FlipperCacheKeyFactory(@Nullable DebugImageTracker debugImageTracker) %7B%0A    mDebugImageTracker = debugImageTracker;%0A  %7D%0A%0A  @Override%0A  public CacheKey getBitmapCacheKey(ImageRequest request, Object callerContext) %7B%0A    CacheKey bitmapCacheKey = super.getBitmapCacheKey(request, callerContext);%0A    if (mDebugImageTracker != null) %7B%0A      mDebugImageTracker.trackImage(request, bitmapCacheKey);%0A    %7D%0A    return bitmapCacheKey;%0A  %7D%0A%7D%0A

Add Flipper debug cache key factory