summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dan Sandler <dsandler@android.com> 2016-06-28 07:07:24 +0000
committer android-build-merger <android-build-merger@google.com> 2016-06-28 07:07:24 +0000
commit0e792f567ac1b37a75e94e1ff1017f2f152494ef (patch)
treed4601d52018e752a3558d8877016eaf1301cd945
parentd930306e13ce7111bb00adaa1216972e56222f1a (diff)
parent610f6ede251c44cb4cf0e8a993d8d88c121159f9 (diff)
Purr.
am: 610f6ede25 Change-Id: I252d53781fbe151b21909617ecb92ab9f2e9187a
-rw-r--r--packages/EasterEgg/src/com/android/egg/neko/Cat.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/EasterEgg/src/com/android/egg/neko/Cat.java b/packages/EasterEgg/src/com/android/egg/neko/Cat.java
index 525b035989f9..864b20c73fbf 100644
--- a/packages/EasterEgg/src/com/android/egg/neko/Cat.java
+++ b/packages/EasterEgg/src/com/android/egg/neko/Cat.java
@@ -16,7 +16,6 @@ package com.android.egg.neko;
import android.app.Notification;
import android.app.PendingIntent;
-import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
@@ -31,6 +30,8 @@ import java.util.concurrent.ThreadLocalRandom;
import com.android.egg.R;
public class Cat extends Drawable {
+ public static final long[] PURR = {0, 40, 20, 40, 20, 40, 20, 40, 20, 40, 20, 40};
+
private Random mNotSoRandom;
private Bitmap mBitmap;
private long mSeed;
@@ -198,6 +199,7 @@ public class Cat extends Drawable {
.setContentText(getName())
.setContentIntent(PendingIntent.getActivity(context, 0, intent, 0))
.setAutoCancel(true)
+ .setVibrate(PURR)
.addExtras(extras);
}