Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de924625 authored by Dan Sandler's avatar Dan Sandler Committed by android-build-merger
Browse files

Purr. am: 610f6ede

am: 45294a68

Change-Id: I6db945a4ca001c330d658549500521748172d081
parents 5643d0a5 45294a68
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -16,7 +16,6 @@ package com.android.egg.neko;


import android.app.Notification;
import android.app.Notification;
import android.app.PendingIntent;
import android.app.PendingIntent;
import android.content.ComponentName;
import android.content.Context;
import android.content.Context;
import android.content.Intent;
import android.content.Intent;
import android.content.res.Resources;
import android.content.res.Resources;
@@ -31,6 +30,8 @@ import java.util.concurrent.ThreadLocalRandom;
import com.android.egg.R;
import com.android.egg.R;


public class Cat extends Drawable {
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 Random mNotSoRandom;
    private Bitmap mBitmap;
    private Bitmap mBitmap;
    private long mSeed;
    private long mSeed;
@@ -198,6 +199,7 @@ public class Cat extends Drawable {
                .setContentText(getName())
                .setContentText(getName())
                .setContentIntent(PendingIntent.getActivity(context, 0, intent, 0))
                .setContentIntent(PendingIntent.getActivity(context, 0, intent, 0))
                .setAutoCancel(true)
                .setAutoCancel(true)
                .setVibrate(PURR)
                .addExtras(extras);
                .addExtras(extras);
    }
    }