aboutsummaryrefslogtreecommitdiffstats
path: root/sdk/src/java/cyanogenmod/app/CMContextConstants.java
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-03-31 11:23:36 -0700
committerSteve Kondik <shade@chemlab.org>2016-04-13 01:37:08 -0700
commit1dab5a0ca90d877c2f1728e75176e100547192ea (patch)
treef71cc31de251eaf59b5ee307113142667595f3d0 /sdk/src/java/cyanogenmod/app/CMContextConstants.java
parent620b1eb9084c2ea1d15ab20946f4c391588135c2 (diff)
downloadvendor_cmsdk-1dab5a0ca90d877c2f1728e75176e100547192ea.zip
vendor_cmsdk-1dab5a0ca90d877c2f1728e75176e100547192ea.tar.gz
vendor_cmsdk-1dab5a0ca90d877c2f1728e75176e100547192ea.tar.bz2
cmsdk: Refactoring LiveDisplay
* Moving LiveDisplay to CMSDK! * Completely redesigned the feature for future expansion. * No new features in this patch, but a proper API is being designed. Change-Id: Ic8f55678f9141bf3386b2a1cf2fd1e8b3916c278
Diffstat (limited to 'sdk/src/java/cyanogenmod/app/CMContextConstants.java')
-rw-r--r--sdk/src/java/cyanogenmod/app/CMContextConstants.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/sdk/src/java/cyanogenmod/app/CMContextConstants.java b/sdk/src/java/cyanogenmod/app/CMContextConstants.java
index 98171b8..07a2980 100644
--- a/sdk/src/java/cyanogenmod/app/CMContextConstants.java
+++ b/sdk/src/java/cyanogenmod/app/CMContextConstants.java
@@ -132,6 +132,13 @@ public final class CMContextConstants {
public static final String CM_WEATHER_SERVICE = "cmweather";
/**
+ * Manages display color adjustments
+ *
+ * @hide
+ */
+ public static final String CM_LIVEDISPLAY_SERVICE = "cmlivedisplay";
+
+ /**
* Features supported by the CMSDK.
*/
public static class Features {
@@ -214,5 +221,13 @@ public final class CMContextConstants {
*/
@SdkConstant(SdkConstant.SdkConstantType.FEATURE)
public static final String WEATHER_SERVICES = "org.cyanogenmod.weather";
+
+ /**
+ * Feature for {@link PackageManager#getSystemAvailableFeatures} and
+ * {@link PackageManager#hasSystemFeature}: The device includes the LiveDisplay service
+ * utilized by the cmsdk.
+ */
+ @SdkConstant(SdkConstant.SdkConstantType.FEATURE)
+ public static final String LIVEDISPLAY = "org.cyanogenmod.livedisplay";
}
}