diff options
author | Roman Birg <roman@cyngn.com> | 2016-03-18 10:39:39 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-03-24 13:43:21 -0700 |
commit | 1bf0cf2ff858e5a46657a2906399f1372b7d30df (patch) | |
tree | a3815f535ce39cfcba95d422affd7b5b08564ba7 | |
parent | b05ce12eab0ef67cc8099e954f575f6ee6570544 (diff) | |
download | vendor_cmsdk-1bf0cf2ff858e5a46657a2906399f1372b7d30df.zip vendor_cmsdk-1bf0cf2ff858e5a46657a2906399f1372b7d30df.tar.gz vendor_cmsdk-1bf0cf2ff858e5a46657a2906399f1372b7d30df.tar.bz2 |
cmsdk: fix javadoc for performance profiles
Native performance manager returns -1 if the feature is unset, not 0.
Change-Id: I77800f474a2cf68f4eda62cfb7239f106a73d458
Signed-off-by: Roman Birg <roman@cyngn.com>
-rw-r--r-- | src/java/cyanogenmod/power/PerformanceManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/cyanogenmod/power/PerformanceManager.java b/src/java/cyanogenmod/power/PerformanceManager.java index bbe203b..393e905 100644 --- a/src/java/cyanogenmod/power/PerformanceManager.java +++ b/src/java/cyanogenmod/power/PerformanceManager.java @@ -133,7 +133,7 @@ public class PerformanceManager { } /** - * Returns the number of supported profiles, zero if unsupported + * Returns the number of supported profiles, -1 if unsupported * This is queried via the PowerHAL. */ public int getNumberOfProfiles() { |