From 316490e636aad788fcfbfc2e04dd4f0e145bdd00 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Tue, 2 Jun 2015 09:38:28 -0700 Subject: Removing some synthetic method creation > Make package-private and @Thunk all private methods and constructors accessed from inner classes. Change-Id: Ie5913860a0c33e48e9bf68f9b5b1699f64c2f174 --- src/com/android/launcher3/allapps/AlphabeticalAppsList.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/com/android/launcher3/allapps/AlphabeticalAppsList.java') diff --git a/src/com/android/launcher3/allapps/AlphabeticalAppsList.java b/src/com/android/launcher3/allapps/AlphabeticalAppsList.java index 0dc2d1e63..725616fb3 100644 --- a/src/com/android/launcher3/allapps/AlphabeticalAppsList.java +++ b/src/com/android/launcher3/allapps/AlphabeticalAppsList.java @@ -27,6 +27,7 @@ import com.android.launcher3.LauncherAppState; import com.android.launcher3.compat.AlphabeticIndexCompat; import com.android.launcher3.model.AbstractUserComparator; import com.android.launcher3.model.AppNameComparator; +import com.android.launcher3.util.Thunk; import java.nio.charset.CharsetEncoder; import java.nio.charset.StandardCharsets; @@ -151,7 +152,7 @@ public class AlphabeticalAppsList { * The logic we use to merge sections on tablets. Currently, we don't show section names on * tablet layouts, so just merge all the sections indiscriminately. */ - private static class TabletMergeAlgorithm implements MergeAlgorithm { + @Thunk static class TabletMergeAlgorithm implements MergeAlgorithm { @Override public boolean continueMerging(SectionInfo section, SectionInfo withSection, -- cgit v1.2.3