Remove 'peekable' preference.

To be replaced by 'importance' in the future.

Bug: 22854014
Change-Id: Idc9ca79b145d5c69e769c9239ed9291dce40d8c8
This commit is contained in:
Julia Reynolds
2015-11-18 17:03:56 -05:00
parent 06993a33d9
commit bc253a2858
6 changed files with 1 additions and 96 deletions

View File

@@ -50,9 +50,6 @@ interface INotificationManager
void setPackagePriority(String pkg, int uid, int priority);
int getPackagePriority(String pkg, int uid);
void setPackagePeekable(String pkg, int uid, boolean peekable);
boolean getPackagePeekable(String pkg, int uid);
void setPackageVisibilityOverride(String pkg, int uid, int visibility);
int getPackageVisibilityOverride(String pkg, int uid);

View File

@@ -837,13 +837,6 @@ public class Notification implements Parcelable
*/
public static final String EXTRA_PEOPLE = "android.people";
/**
* {@link #extras} key: used to provide hints about the appropriateness of
* displaying this notification as a heads-up notification.
* @hide
*/
public static final String EXTRA_AS_HEADS_UP = "headsup";
/**
* Allow certain system-generated notifications to appear before the device is provisioned.
* Only available to notifications coming from the android package.
@@ -887,32 +880,6 @@ public class Notification implements Parcelable
*/
public static final String EXTRA_BUILDER_APPLICATION_INFO = "android.appInfo";
/**
* Value for {@link #EXTRA_AS_HEADS_UP} that indicates this notification should not be
* displayed in the heads up space.
*
* <p>
* If this notification has a {@link #fullScreenIntent}, then it will always launch the
* full-screen intent when posted.
* </p>
* @hide
*/
public static final int HEADS_UP_NEVER = 0;
/**
* Default value for {@link #EXTRA_AS_HEADS_UP} that indicates this notification may be
* displayed as a heads up.
* @hide
*/
public static final int HEADS_UP_ALLOWED = 1;
/**
* Value for {@link #EXTRA_AS_HEADS_UP} that indicates this notification is a
* good candidate for display as a heads up.
* @hide
*/
public static final int HEADS_UP_REQUESTED = 2;
private Icon mSmallIcon;
private Icon mLargeIcon;