summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/AllAppsList.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-05-19 12:21:50 -0700
committerSunny Goyal <sunnygoyal@google.com>2017-05-19 12:22:31 -0700
commit0e947fbdbb49d2d58b4d1719224ded4c3f18707a (patch)
treef9f1a88f75a4a3db834eac499a0f34831dfb18d8 /src/com/android/launcher3/AllAppsList.java
parent7056275771eeb3c8acbffd28192a0c6d3ed249c7 (diff)
downloadandroid_packages_apps_Trebuchet-0e947fbdbb49d2d58b4d1719224ded4c3f18707a.tar.gz
android_packages_apps_Trebuchet-0e947fbdbb49d2d58b4d1719224ded4c3f18707a.tar.bz2
android_packages_apps_Trebuchet-0e947fbdbb49d2d58b4d1719224ded4c3f18707a.zip
Making some methods accessible
Bug: 37616877 Change-Id: I22ed43d9a39d321757d7c2fde7754b95a44780e2
Diffstat (limited to 'src/com/android/launcher3/AllAppsList.java')
-rw-r--r--src/com/android/launcher3/AllAppsList.java10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/com/android/launcher3/AllAppsList.java b/src/com/android/launcher3/AllAppsList.java
index d7f0180fa..f3202beb9 100644
--- a/src/com/android/launcher3/AllAppsList.java
+++ b/src/com/android/launcher3/AllAppsList.java
@@ -42,15 +42,13 @@ public class AllAppsList {
public static final int DEFAULT_APPLICATIONS_NUMBER = 42;
/** The list off all apps. */
- public ArrayList<AppInfo> data =
- new ArrayList<AppInfo>(DEFAULT_APPLICATIONS_NUMBER);
+ public final ArrayList<AppInfo> data = new ArrayList<>(DEFAULT_APPLICATIONS_NUMBER);
/** The list of apps that have been added since the last notify() call. */
- public ArrayList<AppInfo> added =
- new ArrayList<AppInfo>(DEFAULT_APPLICATIONS_NUMBER);
+ public ArrayList<AppInfo> added = new ArrayList<>(DEFAULT_APPLICATIONS_NUMBER);
/** The list of apps that have been removed since the last notify() call. */
- public ArrayList<AppInfo> removed = new ArrayList<AppInfo>();
+ public ArrayList<AppInfo> removed = new ArrayList<>();
/** The list of apps that have been modified since the last notify() call. */
- public ArrayList<AppInfo> modified = new ArrayList<AppInfo>();
+ public ArrayList<AppInfo> modified = new ArrayList<>();
private IconCache mIconCache;