cmsdk: Finalize DragonFruit (api level 4).

TICKET: CYNGNOS-1648
Change-Id: I5844bc0bad9968b2c1d2d9e1ca3d65ae9d2d70c8
This commit is contained in:
Adnan Begovic 2016-01-18 11:26:08 -08:00
parent 8d4920022f
commit ebf0f55125
3 changed files with 19 additions and 3 deletions

View File

@ -105,6 +105,7 @@ package cyanogenmod.app {
field public java.lang.String label; field public java.lang.String label;
field public android.app.PendingIntent onClick; field public android.app.PendingIntent onClick;
field public android.net.Uri onClickUri; field public android.net.Uri onClickUri;
field public android.app.PendingIntent onLongClick;
field public android.content.Intent onSettingsClick; field public android.content.Intent onSettingsClick;
field public android.graphics.Bitmap remoteIcon; field public android.graphics.Bitmap remoteIcon;
field public boolean sensitiveData; 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 setLabel(int);
method public cyanogenmod.app.CustomTile.Builder setOnClickIntent(android.app.PendingIntent); 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 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 setOnSettingsClickIntent(android.content.Intent);
method public cyanogenmod.app.CustomTile.Builder shouldCollapsePanel(boolean); method public cyanogenmod.app.CustomTile.Builder shouldCollapsePanel(boolean);
} }
@ -512,6 +514,7 @@ package cyanogenmod.os {
ctor public Build(); ctor public Build();
method public static java.lang.String getNameForSDKInt(int); 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_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"; field public static final java.lang.String UNKNOWN = "unknown";
} }

View File

@ -120,12 +120,22 @@ public class Build {
*/ */
public static final int CANTALOUPE = 3; 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; public static final int DRAGON_FRUIT = 4;
} }
/** /**

View File

@ -105,6 +105,7 @@ package cyanogenmod.app {
field public java.lang.String label; field public java.lang.String label;
field public android.app.PendingIntent onClick; field public android.app.PendingIntent onClick;
field public android.net.Uri onClickUri; field public android.net.Uri onClickUri;
field public android.app.PendingIntent onLongClick;
field public android.content.Intent onSettingsClick; field public android.content.Intent onSettingsClick;
field public android.graphics.Bitmap remoteIcon; field public android.graphics.Bitmap remoteIcon;
field public boolean sensitiveData; 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 setLabel(int);
method public cyanogenmod.app.CustomTile.Builder setOnClickIntent(android.app.PendingIntent); 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 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 setOnSettingsClickIntent(android.content.Intent);
method public cyanogenmod.app.CustomTile.Builder shouldCollapsePanel(boolean); method public cyanogenmod.app.CustomTile.Builder shouldCollapsePanel(boolean);
} }
@ -512,6 +514,7 @@ package cyanogenmod.os {
ctor public Build(); ctor public Build();
method public static java.lang.String getNameForSDKInt(int); 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_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"; field public static final java.lang.String UNKNOWN = "unknown";
} }