aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--api/cm_current.txt3
-rw-r--r--src/java/cyanogenmod/os/Build.java16
-rw-r--r--system-api/cm_system-current.txt3
3 files changed, 19 insertions, 3 deletions
diff --git a/api/cm_current.txt b/api/cm_current.txt
index 9714443..153686b 100644
--- a/api/cm_current.txt
+++ b/api/cm_current.txt
@@ -105,6 +105,7 @@ package cyanogenmod.app {
field public java.lang.String label;
field public android.app.PendingIntent onClick;
field public android.net.Uri onClickUri;
+ field public android.app.PendingIntent onLongClick;
field public android.content.Intent onSettingsClick;
field public android.graphics.Bitmap remoteIcon;
field public boolean sensitiveData;
@@ -124,6 +125,7 @@ package cyanogenmod.app {
method public cyanogenmod.app.CustomTile.Builder setLabel(int);
method public cyanogenmod.app.CustomTile.Builder setOnClickIntent(android.app.PendingIntent);
method public cyanogenmod.app.CustomTile.Builder setOnClickUri(android.net.Uri);
+ method public cyanogenmod.app.CustomTile.Builder setOnLongClickIntent(android.app.PendingIntent);
method public cyanogenmod.app.CustomTile.Builder setOnSettingsClickIntent(android.content.Intent);
method public cyanogenmod.app.CustomTile.Builder shouldCollapsePanel(boolean);
}
@@ -512,6 +514,7 @@ package cyanogenmod.os {
ctor public Build();
method public static java.lang.String getNameForSDKInt(int);
field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION = "ro.cm.display.version";
+ field public static final java.lang.String CYANOGENMOD_VERSION = "ro.cm.version";
field public static final java.lang.String UNKNOWN = "unknown";
}
diff --git a/src/java/cyanogenmod/os/Build.java b/src/java/cyanogenmod/os/Build.java
index 6812c76..56fd7c8 100644
--- a/src/java/cyanogenmod/os/Build.java
+++ b/src/java/cyanogenmod/os/Build.java
@@ -120,12 +120,22 @@ public class Build {
*/
public static final int CANTALOUPE = 3;
-
/**
- * First M Release
+ * January 2016: The 4th iteration of the platform sdk for CyanogenMod
+ *
+ * <p>Applications targeting this or a later version will get access to these
+ * new features:</p>
+ * <ul>
+ * <li>External views api, and specifically Keyguard interfaces for making
+ * live lockscreens via {@link cyanogenmod.externalviews.KeyguardExternalView}</li>
+ * <li>Inclusion of the PerformanceManager interfaces, allowing an application to specify
+ * the type of mode to have the device be placed in via
+ * {@link cyanogenmod.power.PerformanceManager}</li>
+ * <li>Numerous new "System" settings exposed via the
+ * {@link cyanogenmod.providers.CMSettings.System} interface</li>
+ * </ul>
*/
public static final int DRAGON_FRUIT = 4;
-
}
/**
diff --git a/system-api/cm_system-current.txt b/system-api/cm_system-current.txt
index 9714443..153686b 100644
--- a/system-api/cm_system-current.txt
+++ b/system-api/cm_system-current.txt
@@ -105,6 +105,7 @@ package cyanogenmod.app {
field public java.lang.String label;
field public android.app.PendingIntent onClick;
field public android.net.Uri onClickUri;
+ field public android.app.PendingIntent onLongClick;
field public android.content.Intent onSettingsClick;
field public android.graphics.Bitmap remoteIcon;
field public boolean sensitiveData;
@@ -124,6 +125,7 @@ package cyanogenmod.app {
method public cyanogenmod.app.CustomTile.Builder setLabel(int);
method public cyanogenmod.app.CustomTile.Builder setOnClickIntent(android.app.PendingIntent);
method public cyanogenmod.app.CustomTile.Builder setOnClickUri(android.net.Uri);
+ method public cyanogenmod.app.CustomTile.Builder setOnLongClickIntent(android.app.PendingIntent);
method public cyanogenmod.app.CustomTile.Builder setOnSettingsClickIntent(android.content.Intent);
method public cyanogenmod.app.CustomTile.Builder shouldCollapsePanel(boolean);
}
@@ -512,6 +514,7 @@ package cyanogenmod.os {
ctor public Build();
method public static java.lang.String getNameForSDKInt(int);
field public static final java.lang.String CYANOGENMOD_DISPLAY_VERSION = "ro.cm.display.version";
+ field public static final java.lang.String CYANOGENMOD_VERSION = "ro.cm.version";
field public static final java.lang.String UNKNOWN = "unknown";
}