summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps/AlphabeticalAppsList.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2015-06-02 09:38:28 -0700
committerSunny Goyal <sunnygoyal@google.com>2015-06-02 10:04:59 -0700
commit316490e636aad788fcfbfc2e04dd4f0e145bdd00 (patch)
treec13777323038448b22405dbb616977b4fef020b8 /src/com/android/launcher3/allapps/AlphabeticalAppsList.java
parentc1cd23b4a7744105c124c4d9f642134b5f49694f (diff)
downloadandroid_packages_apps_Trebuchet-316490e636aad788fcfbfc2e04dd4f0e145bdd00.tar.gz
android_packages_apps_Trebuchet-316490e636aad788fcfbfc2e04dd4f0e145bdd00.tar.bz2
android_packages_apps_Trebuchet-316490e636aad788fcfbfc2e04dd4f0e145bdd00.zip
Removing some synthetic method creation
> Make package-private and @Thunk all private methods and constructors accessed from inner classes. Change-Id: Ie5913860a0c33e48e9bf68f9b5b1699f64c2f174
Diffstat (limited to 'src/com/android/launcher3/allapps/AlphabeticalAppsList.java')
-rw-r--r--src/com/android/launcher3/allapps/AlphabeticalAppsList.java3
1 files changed, 2 insertions, 1 deletions
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,