diff options
| author | Eric Olsen <eolsen@android.com> | 2009-10-29 16:42:03 -0700 |
|---|---|---|
| committer | Eric Olsen <eolsen@android.com> | 2009-11-04 14:31:26 -0800 |
| commit | f42f15cf450772d8eeb9c0c81a8403d33ffe1c9b (patch) | |
| tree | 432beda7f272da18a3eff3c76cdbb04edc18b917 /core/java/android | |
| parent | 5fc71e67498ed64ad2d41c23471b008f93cb580e (diff) | |
| download | frameworks_base-f42f15cf450772d8eeb9c0c81a8403d33ffe1c9b.zip frameworks_base-f42f15cf450772d8eeb9c0c81a8403d33ffe1c9b.tar.gz frameworks_base-f42f15cf450772d8eeb9c0c81a8403d33ffe1c9b.tar.bz2 | |
Add support for colored LED on jogball backlight.
Signed-off-by: Eric Olsen <eolsen@android.com>
Diffstat (limited to 'core/java/android')
| -rwxr-xr-x | core/java/android/os/IHardwareService.aidl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/core/java/android/os/IHardwareService.aidl b/core/java/android/os/IHardwareService.aidl index 594c0e8..34f30a7 100755 --- a/core/java/android/os/IHardwareService.aidl +++ b/core/java/android/os/IHardwareService.aidl @@ -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); } |
