From 9af4a90dae4c05acfd1ec4f8d63375e8c0ebb430 Mon Sep 17 00:00:00 2001 From: Ray Chen Date: Tue, 20 Mar 2012 16:32:57 +0800 Subject: Fix b/6191707 Unable to set Custom wallpaper from Home Change-Id: I130f74c94ebf5d93922807f7fee5ae7f189a15d4 --- src/com/android/gallery3d/app/ManageCachePage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/android/gallery3d/app/ManageCachePage.java') diff --git a/src/com/android/gallery3d/app/ManageCachePage.java b/src/com/android/gallery3d/app/ManageCachePage.java index 4134e3273..124eb7bf0 100644 --- a/src/com/android/gallery3d/app/ManageCachePage.java +++ b/src/com/android/gallery3d/app/ManageCachePage.java @@ -112,7 +112,7 @@ public class ManageCachePage extends ActivityState implements mEyePosition.resetPosition(); Activity activity = (Activity) mActivity; - int slotViewTop = GalleryActionBar.getHeight(activity); + int slotViewTop = mActivity.getGalleryActionBar().getHeight(); int slotViewBottom = bottom - top; View footer = activity.findViewById(R.id.footer); -- cgit v1.2.3