aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWilhelm Fitzpatrick <rafial@cyngn.com>2015-12-22 14:35:53 -0800
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-12-23 13:46:56 -0800
commit9f62d8aa55ea2972a250e783af06aca6e84fc3f2 (patch)
tree2306439637b6e68863738370e413e730a92f79f6 /src
parent57dc3b32404bd484c9f9589bd364c663e2a1c417 (diff)
downloadvendor_cmsdk-9f62d8aa55ea2972a250e783af06aca6e84fc3f2.zip
vendor_cmsdk-9f62d8aa55ea2972a250e783af06aca6e84fc3f2.tar.gz
vendor_cmsdk-9f62d8aa55ea2972a250e783af06aca6e84fc3f2.tar.bz2
CM-SDK: add PREDISMISSED_STATE constant required by CM13 DeskClock
See http://review.cyanogenmod.org/#/c/125484 which brings the changes to allow third party components to set and modify alarms, and which actually makes use of the ClockContract in the SDK. This flushes out the fact that the ClockContract in CM13 added a new state. Change-Id: If6d57727298c0a749055337809b9a66e91078a01
Diffstat (limited to 'src')
-rw-r--r--src/java/cyanogenmod/alarmclock/ClockContract.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java/cyanogenmod/alarmclock/ClockContract.java b/src/java/cyanogenmod/alarmclock/ClockContract.java
index 66ba4af..63a1d27 100644
--- a/src/java/cyanogenmod/alarmclock/ClockContract.java
+++ b/src/java/cyanogenmod/alarmclock/ClockContract.java
@@ -228,6 +228,11 @@ public final class ClockContract {
public static final int DISMISSED_STATE = 7;
/**
+ * Alarm state when alarm has been dismissed before its intended firing time.
+ */
+ public static final int PREDISMISSED_STATE = 8;
+
+ /**
* Alarm year.
*
* <p>Type: INTEGER</p>