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>
This commit is contained in:
parent
b05ce12eab
commit
1bf0cf2ff8
@ -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.
|
* This is queried via the PowerHAL.
|
||||||
*/
|
*/
|
||||||
public int getNumberOfProfiles() {
|
public int getNumberOfProfiles() {
|
||||||
|
Loading…
Reference in New Issue
Block a user