Merge commit '122f412a0177c54e32d52a23bf92b78aae4679f7' * commit '122f412a0177c54e32d52a23bf92b78aae4679f7': Add support for colored LED on jogball backlight.
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
/**
|
||||
* Copyright (c) 2007, The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
@@ -23,13 +23,13 @@ interface IHardwareService
|
||||
void vibrate(long milliseconds, IBinder token);
|
||||
void vibratePattern(in long[] pattern, int repeat, IBinder token);
|
||||
void cancelVibrate(IBinder token);
|
||||
|
||||
|
||||
// flashlight support
|
||||
boolean getFlashlightEnabled();
|
||||
void setFlashlightEnabled(boolean on);
|
||||
void enableCameraFlash(int milliseconds);
|
||||
|
||||
// for the phone
|
||||
void setAttentionLight(boolean on);
|
||||
void setAttentionLight(boolean on, int color);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user