diff options
author | John Spurlock <jspurlock@google.com> | 2015-02-12 23:25:12 -0500 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2015-02-13 09:27:15 -0500 |
commit | 831041036587efbceb395bface176752a6b560bc (patch) | |
tree | 10b0e62c2f9a62c4fd3edad4148488a6d9d040b0 /api | |
parent | ad680d46be19cbee16d42cbed4d2ed250648ac0b (diff) | |
download | frameworks_base-831041036587efbceb395bface176752a6b560bc.zip frameworks_base-831041036587efbceb395bface176752a6b560bc.tar.gz frameworks_base-831041036587efbceb395bface176752a6b560bc.tar.bz2 |
NLS: Add a public signal value for an undefined filter value.
We have three possible defined values for getInterruptionFilter().
i.e. All/Priority/None.
However, this value is only returned to listeners once connected,
otherwise we return 0, an undefined value.
This change gives a name to this undefined value to make it clear
that callers should not infer any meaning from it.
INTERRUPTION_FILTER_UNKNOWN = 0;
Bug: 19288429
Change-Id: I8ae94d1723289ca5714800906f9bf4e7e8111813
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 1 | ||||
-rw-r--r-- | api/system-current.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index 3f15b2f..0e87d3d 100644 --- a/api/current.txt +++ b/api/current.txt @@ -27533,6 +27533,7 @@ package android.service.notification { field public static final int INTERRUPTION_FILTER_ALL = 1; // 0x1 field public static final int INTERRUPTION_FILTER_NONE = 3; // 0x3 field public static final int INTERRUPTION_FILTER_PRIORITY = 2; // 0x2 + field public static final int INTERRUPTION_FILTER_UNKNOWN = 0; // 0x0 field public static final java.lang.String SERVICE_INTERFACE = "android.service.notification.NotificationListenerService"; } diff --git a/api/system-current.txt b/api/system-current.txt index f89c069..ce240ee 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -29168,6 +29168,7 @@ package android.service.notification { field public static final int INTERRUPTION_FILTER_ALL = 1; // 0x1 field public static final int INTERRUPTION_FILTER_NONE = 3; // 0x3 field public static final int INTERRUPTION_FILTER_PRIORITY = 2; // 0x2 + field public static final int INTERRUPTION_FILTER_UNKNOWN = 0; // 0x0 field public static final java.lang.String SERVICE_INTERFACE = "android.service.notification.NotificationListenerService"; field public static final int TRIM_FULL = 0; // 0x0 field public static final int TRIM_LIGHT = 1; // 0x1 |