Merge "[Test Week] Add ViewCacheTest" into main

This commit is contained in:
Fengjiang Li authored and Android (Google) Code Review committed 2024-07-16 16:36:28 +00:00
commit f04eeb5eee
2 files changed
+93 -1

No files matched your search

@@ -21,6 +21,8 @@ import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.annotation.VisibleForTesting;
import com.android.launcher3.R;
/**
@@ -67,7 +69,8 @@ public class ViewCache {
}
}
private static class CacheEntry {
@VisibleForTesting
static class CacheEntry {
final int mMaxSize;
final View[] mViews;