summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Utilities.java
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2019-08-21 02:25:20 -0700
committerHyunyoung Song <hyunyoungs@google.com>2019-08-21 22:20:03 +0000
commit227daf0108bc5769d9bb8bec88b0c2bb8ada96b2 (patch)
treebaee44af7cf46e3d6af195d1038a748eea6149ff /src/com/android/launcher3/Utilities.java
parent63b2cbc0c7515ca3d34fd8503e6c3f87e5f34162 (diff)
parentd88f63bbed4c4c1e7eace9ab8c25e89ad6c662c9 (diff)
downloadandroid_packages_apps_Trebuchet-227daf0108bc5769d9bb8bec88b0c2bb8ada96b2.tar.gz
android_packages_apps_Trebuchet-227daf0108bc5769d9bb8bec88b0c2bb8ada96b2.tar.bz2
android_packages_apps_Trebuchet-227daf0108bc5769d9bb8bec88b0c2bb8ada96b2.zip
ub-launcher3-qt-qpr1-dev @ build 5818303
Test: presubmit setup on source branch Bug: 112282235 Starting an app from Launcher sometimes takes > 10 sec Bug: 125027540 Apps to be searchable in different languages Bug: 132336512 Notification dots on pinned shortcuts Bug: 135218095 Disable unnecessary services Bug: 136277517 Widgets often don’t support scroll direction up/down, left/right and use forward/backward instead Bug: 137777105 Make clearcut launcher logging feature parity with westworld logging Bug: 137952354 OnResume() and onStop logging doesn't reflect the real source id for -1 screen Bug: 137953006 Swiping/fling up from workspace logged as hotseat Bug: 138273985 The pause app message takes more than 30 seconds to display after restarting the device. Bug: 138683199 Pass the captured snapshot data to Launcher when recents animation is cancelled Bug: 138729456 [Flaky test] java.lang.AssertionError: http://go/tapl : Can't find an object with selector: BySelector [CLASS='\Qandroid.widget.TextView\E', PKG='\Qcom.google.android.apps.nexuslauncher\E', TEXT='\QShortcut 3\E'] (visible state: Workspace) Bug: 138743758 [Flaky test] java.lang.AssertionError: App still doesn't have Pause action: com.google.android.calculator Bug: 138743792 [Flaky test] java.lang.AssertionError: ensureScrollable didn't add Chrome app Bug: 138964490 Investigate if ToggleableFlags can be connected with DeviceConfig Bug: 139416391 CTS tests crash when app_prediction service is disabled Bug: 139498375 Flake: java.lang.SecurityException: Injecting to another application requires INJECT_EVENTS permission Bug: 139540363 Launcher goes in crash loop Change-Id: Iaba4ed67e9fe4f8f5858324201e4c4e8711f59fa
Diffstat (limited to 'src/com/android/launcher3/Utilities.java')
-rw-r--r--src/com/android/launcher3/Utilities.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher3/Utilities.java b/src/com/android/launcher3/Utilities.java
index fc5cd8a88..3bef5986d 100644
--- a/src/com/android/launcher3/Utilities.java
+++ b/src/com/android/launcher3/Utilities.java
@@ -21,6 +21,7 @@ import static com.android.launcher3.ItemInfoWithIcon.FLAG_ICON_BADGED;
import android.animation.ValueAnimator;
import android.annotation.TargetApi;
import android.app.ActivityManager;
+import android.app.Person;
import android.app.WallpaperManager;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
@@ -109,6 +110,9 @@ public final class Utilities {
private static final Matrix sMatrix = new Matrix();
private static final Matrix sInverseMatrix = new Matrix();
+ public static final String[] EMPTY_STRING_ARRAY = new String[0];
+ public static final Person[] EMPTY_PERSON_ARRAY = new Person[0];
+
public static final boolean ATLEAST_Q = Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q;
public static final boolean ATLEAST_P =