if (args.state === PowerScreenState.SCREEN_BRIGHT) {
privUtils_.warn(
- 'DEPRECATION WARNING: SCREEN_BRIGHT is deprecated ' +
- 'and will be removed from next release.'
+ 'DEPRECATION WARNING: SCREEN_BRIGHT is deprecated and will be removed ' +
+ 'from next release.'
);
}
*/
PowerManager.prototype.turnScreenOn = function() {
privUtils_.warn(
- 'DEPRECATION WARNING: turnScreenOn() is deprecated ' +
- 'and will be removed from next release. Use request() instead.'
+ 'DEPRECATION WARNING: turnScreenOn() is deprecated and will be removed from ' +
+ 'next release. Use request() instead.'
);
var ret = native_.callSync('PowerManager_turnScreenOn', {});
*/
PowerManager.prototype.turnScreenOff = function() {
privUtils_.warn(
- 'DEPRECATION WARNING: turnScreenOff() is deprecated ' +
- 'and will be removed from next release. Use release() instead.'
+ 'DEPRECATION WARNING: turnScreenOff() is deprecated and will be removed from ' +
+ 'next release. Use release() instead.'
);
var ret = native_.callSync('PowerManager_turnScreenOff', {});