diff --git a/mobile/android/base/home/LastTabsPage.java b/mobile/android/base/home/LastTabsPage.java index 7f15af7a3ccf..c29f9e707ed4 100644 --- a/mobile/android/base/home/LastTabsPage.java +++ b/mobile/android/base/home/LastTabsPage.java @@ -167,7 +167,7 @@ public class LastTabsPage extends HomeFragment { if (mEmptyView == null) { // Set empty page view. We delay this so that the empty view won't flash. - ViewStub emptyViewStub = (ViewStub) getView().findViewById(R.id.home_empty_view_stub); + final ViewStub emptyViewStub = (ViewStub) getView().findViewById(R.id.home_empty_view_stub); mEmptyView = emptyViewStub.inflate(); final ImageView emptyIcon = (ImageView) mEmptyView.findViewById(R.id.home_empty_image); diff --git a/mobile/android/base/home/MostRecentPage.java b/mobile/android/base/home/MostRecentPage.java index db886fba17ed..0730ad483f92 100644 --- a/mobile/android/base/home/MostRecentPage.java +++ b/mobile/android/base/home/MostRecentPage.java @@ -172,7 +172,7 @@ public class MostRecentPage extends HomeFragment { if (mEmptyView == null) { // Set empty page view. We delay this so that the empty view won't flash. - ViewStub emptyViewStub = (ViewStub) getView().findViewById(R.id.home_empty_view_stub); + final ViewStub emptyViewStub = (ViewStub) getView().findViewById(R.id.home_empty_view_stub); mEmptyView = emptyViewStub.inflate(); final ImageView emptyIcon = (ImageView) mEmptyView.findViewById(R.id.home_empty_image);