Merge "fix build: remove SUSTAINED_PERFORMANCE_WAKE_LOCK link" into nyc-dev
This commit is contained in:
@@ -1023,7 +1023,7 @@ public final class PowerManager {
|
|||||||
/**
|
/**
|
||||||
* Returns True if the device supports Sustained Performance Mode.
|
* Returns True if the device supports Sustained Performance Mode.
|
||||||
* Applications Should check if the device supports this mode, before
|
* Applications Should check if the device supports this mode, before
|
||||||
* using {@link #SUSTAINED_PERFORMANCE_WAKE_LOCK}.
|
* using {@link android.view.Window#setSustainedPerformanceMode}.
|
||||||
*/
|
*/
|
||||||
public boolean isSustainedPerformanceModeSupported() {
|
public boolean isSustainedPerformanceModeSupported() {
|
||||||
return mContext.getResources().getBoolean(
|
return mContext.getResources().getBoolean(
|
||||||
|
|||||||
Reference in New Issue
Block a user