Merge "Convert Dialer to Android.bp" into main am: 82e0978457 am: 5c8fbc5bac

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Dialer/+/3093621

Change-Id: I71fc1ff66b6e93515aeae0bcb92a616256102f58
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/java/com/android/dialer/contactphoto/ContactPhotoManagerImpl.java b/java/com/android/dialer/contactphoto/ContactPhotoManagerImpl.java
index f7f79e1..e0a04aa 100644
--- a/java/com/android/dialer/contactphoto/ContactPhotoManagerImpl.java
+++ b/java/com/android/dialer/contactphoto/ContactPhotoManagerImpl.java
@@ -369,7 +369,7 @@
     if (DEBUG) {
       LogUtil.d("ContactPhotoManagerImpl.onTrimMemory", "onTrimMemory: " + level);
     }
-    if (level >= ComponentCallbacks2.TRIM_MEMORY_MODERATE) {
+    if (level >= ComponentCallbacks2.TRIM_MEMORY_BACKGROUND) {
       // Clear the caches.  Note all pending requests will be removed too.
       clear();
     }