| Index: webapk/libs/client/src/org/chromium/webapk/lib/client/NotificationBuilderDelegate.java
|
| diff --git a/webapk/libs/client/src/org/chromium/webapk/lib/client/NotificationBuilderDelegate.java b/webapk/libs/client/src/org/chromium/webapk/lib/client/NotificationBuilderDelegate.java
|
| deleted file mode 100644
|
| index cde9e3148550808765700a4f4a7b7d0b5bc11712..0000000000000000000000000000000000000000
|
| --- a/webapk/libs/client/src/org/chromium/webapk/lib/client/NotificationBuilderDelegate.java
|
| +++ /dev/null
|
| @@ -1,43 +0,0 @@
|
| -// Copyright 2016 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -package org.chromium.webapk.lib.client;
|
| -
|
| -import android.app.Notification;
|
| -import android.app.PendingIntent;
|
| -import android.graphics.Bitmap;
|
| -
|
| -/**
|
| - * An interface for setting PendingIntents when building a notification.
|
| - */
|
| -public interface NotificationBuilderDelegate {
|
| - /**
|
| - * Sets the PendingIntent to send when the notification is clicked.
|
| - */
|
| - NotificationBuilderDelegate setContentIntent(PendingIntent intent);
|
| -
|
| - /**
|
| - * Sets the PendingIntent to send when the notification is cleared by the user directly from
|
| - * the notification panel.
|
| - */
|
| - NotificationBuilderDelegate setDeleteIntent(PendingIntent intent);
|
| -
|
| - /**
|
| - * Adds an action to the notification. Actions are typically displayed as a button adjacent to
|
| - * the notification content.
|
| - */
|
| - NotificationBuilderDelegate addAction(Bitmap iconBitmap, CharSequence title,
|
| - PendingIntent intent);
|
| -
|
| - /**
|
| - * Sets small icon id for displaying a notification.
|
| - */
|
| - NotificationBuilderDelegate setSmallIcon(int icon);
|
| -
|
| - /**
|
| - * Combines all of the options that have been set and returns a new Notification object.
|
| - */
|
| - Notification build();
|
| -
|
| -}
|
|
|