diff options
author | tbalden <illespal@gmail.com> | 2013-03-31 18:33:53 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2013-04-13 02:11:01 -0700 |
commit | 44e5f6caa3df6823984ac08ec45ebabbef199da7 (patch) | |
tree | 731284a16dcd106943289f8ed295ac9cb679a573 /tools | |
parent | 651d219160460a539f96b2e5a8461152aac9e5e4 (diff) | |
download | frameworks_base-44e5f6caa3df6823984ac08ec45ebabbef199da7.zip frameworks_base-44e5f6caa3df6823984ac08ec45ebabbef199da7.tar.gz frameworks_base-44e5f6caa3df6823984ac08ec45ebabbef199da7.tar.bz2 |
keyboard: adding functional alt/shift lights
This is useful for devices that has QWERTY keyboard
and leds for the Alt/Shift (Fn/Caps) keys, like
htc doubleshot.
Depends on libhardware patch for the light ids:
http://review.cyanogenmod.org/34902
Change-Id: I66ebc2d881438f5b51db77eaa885421e65a7da0d
Diffstat (limited to 'tools')
-rw-r--r-- | tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java index b4dd542..fb92f80 100644 --- a/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java +++ b/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/BridgePowerManager.java @@ -129,4 +129,10 @@ public class BridgePowerManager implements IPowerManager { public void setKeyboardVisibility(boolean visible) { } + + @Override + public void setKeyboardLight(boolean on, int key) { + // pass for now + } + } |