summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/Utilities.java
diff options
context:
space:
mode:
authorPinyao Ting <pinyaoting@google.com>2019-07-26 12:28:38 -0700
committerPinyao Ting <pinyaoting@google.com>2019-08-05 23:31:35 -0700
commite4061fc931cb8bc50306a76e617761936a74b97f (patch)
tree7b6febfb3537e98c699bf41afa99b008df02cd50 /src/com/android/launcher3/Utilities.java
parentaea3d051c4e414904017e83f6e4b3e7bbd084f03 (diff)
downloadandroid_packages_apps_Trebuchet-e4061fc931cb8bc50306a76e617761936a74b97f.tar.gz
android_packages_apps_Trebuchet-e4061fc931cb8bc50306a76e617761936a74b97f.tar.bz2
android_packages_apps_Trebuchet-e4061fc931cb8bc50306a76e617761936a74b97f.zip
show dot in deep shortcuts when notification contains exactly identical
set of person Bug: 132336512 Change-Id: I975524e28168c10a186cdc24b188c161faf433cf Merged-In: I975524e28168c10a186cdc24b188c161faf433cf
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 =