From 9cfcafc3537f3baa7b8275b60d1db1ad1429a59a Mon Sep 17 00:00:00 2001 From: Andrei Stingaceanu Date: Tue, 12 Apr 2016 11:07:39 +0100 Subject: [PATCH] Keyboard shortcuts: minor type change Stop using Lists.newArrayList() in favor of new ArrayList(). Bug: 28014459 Change-Id: I7e00564b402f90019a89c52f70bc943f88ff75fb --- .../src/com/android/systemui/statusbar/KeyboardShortcuts.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/KeyboardShortcuts.java b/packages/SystemUI/src/com/android/systemui/statusbar/KeyboardShortcuts.java index 86c1fca17a882..c2521b3d7d56b 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/KeyboardShortcuts.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/KeyboardShortcuts.java @@ -65,8 +65,6 @@ import java.util.List; import static android.content.Context.LAYOUT_INFLATER_SERVICE; import static android.view.WindowManager.LayoutParams.TYPE_SYSTEM_DIALOG; -import com.google.android.collect.Lists; - /** * Contains functionality for handling keyboard shortcuts. */ @@ -371,7 +369,7 @@ public final class KeyboardShortcuts { private KeyboardShortcutGroup getDefaultApplicationShortcuts() { final int userId = mContext.getUserId(); - List keyboardShortcutInfoAppItems = Lists.newArrayList(); + List keyboardShortcutInfoAppItems = new ArrayList<>(); // Assist. final AssistUtils assistUtils = new AssistUtils(mContext);