aboutsummaryrefslogtreecommitdiffstats
path: root/api/cm_current.txt
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-04-15 02:38:42 -0700
committerSteve Kondik <steve@cyngn.com>2016-04-15 02:38:42 -0700
commit0ec60c69a090e11355af84c6d99adc3e7e2dcee0 (patch)
tree6337176bd85846e6b455175f8f33640934edd1e4 /api/cm_current.txt
parent712426f2495cad60273c58cc3ea1427213dc2cbb (diff)
downloadvendor_cmsdk-0ec60c69a090e11355af84c6d99adc3e7e2dcee0.zip
vendor_cmsdk-0ec60c69a090e11355af84c6d99adc3e7e2dcee0.tar.gz
vendor_cmsdk-0ec60c69a090e11355af84c6d99adc3e7e2dcee0.tar.bz2
livedisplay: Don't explode if no modes are available
* Don't create the mode observer or try to publish tiles if none of the adaptive modes are supported. Change-Id: Iee6fe8131b0614e10f35b5a03d65fb44c71c0da9
Diffstat (limited to 'api/cm_current.txt')
-rw-r--r--api/cm_current.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/cm_current.txt b/api/cm_current.txt
index 5c1d080..5fcbbc6 100644
--- a/api/cm_current.txt
+++ b/api/cm_current.txt
@@ -540,6 +540,7 @@ package cyanogenmod.hardware {
method public int getDefaultMode();
method public int getDefaultNightTemperature();
method public boolean hasFeature(int);
+ method public boolean hasModeSupport();
method public boolean isAvailable();
method public void writeToParcel(android.os.Parcel, int);
}