aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2016-02-10 18:14:35 -0800
committerAdnan Begovic <adnan@cyngn.com>2016-02-10 18:14:35 -0800
commitcdf4d0d699ab063e7193fa83ac0dcd36d7f5eafa (patch)
tree8653aece7a2dbcd4d28bd8e081661ca2c07c6f72
parent14683b949d985fb2ed072c392a331e8812b18bd7 (diff)
downloadvendor_cmsdk-cdf4d0d699ab063e7193fa83ac0dcd36d7f5eafa.zip
vendor_cmsdk-cdf4d0d699ab063e7193fa83ac0dcd36d7f5eafa.tar.gz
vendor_cmsdk-cdf4d0d699ab063e7193fa83ac0dcd36d7f5eafa.tar.bz2
cmsdk: Update api for new notification lights profiles options.
Change-Id: I7697308f34c89f6391810e114b12bc7457def725
-rw-r--r--api/cm_current.txt9
-rw-r--r--system-api/cm_system-current.txt9
2 files changed, 18 insertions, 0 deletions
diff --git a/api/cm_current.txt b/api/cm_current.txt
index 3fb9140..5eadbbf 100644
--- a/api/cm_current.txt
+++ b/api/cm_current.txt
@@ -223,6 +223,7 @@ package cyanogenmod.app {
method public int getDozeMode();
method public int getExpandedDesktopMode();
method public java.lang.String getName();
+ method public int getNotificationLightMode();
method public int getProfileType();
method public cyanogenmod.profiles.RingModeSettings getRingMode();
method public cyanogenmod.profiles.LockSettings getScreenLockMode();
@@ -240,6 +241,7 @@ package cyanogenmod.app {
method public void setDozeMode(int);
method public void setExpandedDesktopMode(int);
method public void setName(java.lang.String);
+ method public void setNotificationLightMode(int);
method public void setProfileType(int);
method public void setRingMode(cyanogenmod.profiles.RingModeSettings);
method public void setScreenLockMode(cyanogenmod.profiles.LockSettings);
@@ -270,6 +272,13 @@ package cyanogenmod.app {
field public static final int INSECURE = 1; // 0x1
}
+ public static class Profile.NotificationLightMode {
+ ctor public Profile.NotificationLightMode();
+ field public static final int DEFAULT = 0; // 0x0
+ field public static final int DISABLE = 2; // 0x2
+ field public static final int ENABLE = 1; // 0x1
+ }
+
public static class Profile.ProfileTrigger implements android.os.Parcelable {
ctor public Profile.ProfileTrigger(int, java.lang.String, int, java.lang.String);
method public int describeContents();
diff --git a/system-api/cm_system-current.txt b/system-api/cm_system-current.txt
index 3fb9140..5eadbbf 100644
--- a/system-api/cm_system-current.txt
+++ b/system-api/cm_system-current.txt
@@ -223,6 +223,7 @@ package cyanogenmod.app {
method public int getDozeMode();
method public int getExpandedDesktopMode();
method public java.lang.String getName();
+ method public int getNotificationLightMode();
method public int getProfileType();
method public cyanogenmod.profiles.RingModeSettings getRingMode();
method public cyanogenmod.profiles.LockSettings getScreenLockMode();
@@ -240,6 +241,7 @@ package cyanogenmod.app {
method public void setDozeMode(int);
method public void setExpandedDesktopMode(int);
method public void setName(java.lang.String);
+ method public void setNotificationLightMode(int);
method public void setProfileType(int);
method public void setRingMode(cyanogenmod.profiles.RingModeSettings);
method public void setScreenLockMode(cyanogenmod.profiles.LockSettings);
@@ -270,6 +272,13 @@ package cyanogenmod.app {
field public static final int INSECURE = 1; // 0x1
}
+ public static class Profile.NotificationLightMode {
+ ctor public Profile.NotificationLightMode();
+ field public static final int DEFAULT = 0; // 0x0
+ field public static final int DISABLE = 2; // 0x2
+ field public static final int ENABLE = 1; // 0x1
+ }
+
public static class Profile.ProfileTrigger implements android.os.Parcelable {
ctor public Profile.ProfileTrigger(int, java.lang.String, int, java.lang.String);
method public int describeContents();