Remove IDeviceHandler reference

Change-Id: I2046e2b5ecca09bfbcc4e90ac447bdececda0405
Revert "Remove IDeviceHandler reference"

This reverts commit d05e03de0f8263dad32ab37651524731ac9e95fc.
Revert "Get theme info for current user instead of user 0"

This reverts commit 1bc276158db9d76b79b9dd812894d7ad645b53ef.
Revert "ThemeUtils: Retain the original package name in themed UI context"

This reverts commit 58635f94984d766dbce7870a72ed66e47f19e9cf.
Theme Engine is not yet ready
Revert "Squashed commit of the theme engine support"

This reverts commit 7e6497bb678c38b4be0395d0fbdead011b4b639a.
THEME ENGINE (1/2)

---Theme Engine Support for 4.3

TE AndroidRuntime.cpp: Missing register_android_content_res_PackageRedirectionMap

Update ZygoteInit.java

NotificationManagerService: Duplicate LED Custom Line

GlobalActions: Reboot Menu fix

Signed-off-by: ayysir <dresadd09691@gmail.com>

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

---Squashed commit of the theme engine support

Updated 4.2 support for the old T-Mobile theme engine, as usual
needs the provider and switcher apps installed as well.

I'm finally dropping the 400+ commit history on this, since everybody
else keeps picking it up from CM as a single patch anyway... But
for the record, nothing of this would be possible without Josh, Ed,
and the rest of the TMo guys who wrote and maintained it until 2.2:

amit chabra <amit.chabra@t-mobile.com>
Amit Kohli <amit.kohli@t-mobile.com>
Chris Cogar <chriscogar@t-mobile.com>
Dirk Sigurdson <dirk.sigurdson@t-mobile.com>
Ed Carrigan <edward.carrigan@t-mobile.com>
Gaurav Sharma <gaurav.sharma3@t-mobile.com>
Hui Feng <hui.feng@t-mobile.com>
John Ritz <john.ritz1@t-mobile.com>
Josh Guilfoyle <josh.guilfoyle@t-mobile.com>
Mark Roberts <mark.roberts48@t-mobile.com>
Pankaj Kumar <Pankaj.kumar6@t-mobile.com>
Samuel Cheung <samuel.cheung@t-mobile.com>
Sergey Ten <sergey.ten6@t-mobile.com>

Change-Id: I7148d51be48f28a2dc4bdf9ec9018f04b268ffc4

Signed-off-by: Ricardo Cerqueira <cyanogenmod@cerqueira.org>

---ThemeUtils: Retain the original package name in themed UI context

In order for themes to reflect on system elements, we're changing
their context, including the package name.

This breaks anything that tries to identify system elements,
most notably any users of the uiautomator. Trying to do
'UiSelector().packageName("android")' to find, for example,
a force-close dialog will fail.

Fixes com.android.cts.uiautomatortest.CtsUiAutomatorTest#testUiWatcher

Change-Id: Ic05c3024b20ac3772ed5597846fbfa4a184ebb0d

Signed-off-by: Ricardo Cerqueira <cyanogenmod@cerqueira.org>

---Get theme info for current user instead of user 0

Signed-off-by: travp624 <travp624@gmail.com>

---Remove IDeviceHandler reference

Change-Id: I2046e2b5ecca09bfbcc4e90ac447bdececda0405

Signed-off-by: JB <jaybob413@gmail.com>
QuickSettings: Add LTE Tile (1 of 2)

Patchset 3 - Add proper drawables and update logic
Patchset 4 - Rebase
Patchset 5 - Fix build errors

Thank you to Bjorn Lunden for the drawables

Change-Id: Ia25d098020586e06d38589f84d3d1a581e7cbd9a

Conflicts:

	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java

Fixes for LTE Toggle

Additional fixes for LTE toggle...
Merge branch 'pa43'
Fix hardware home key behavior on wake-up

Change-Id: Ib489e4b8bb1d10591afc96c680c7865d61c959a0
Irda: Add Irda System Service

This is not a perfect solution yet, but it does work and should therefore be a starting point.
It needs work to be functional on devices other than the Galaxy S4

* The Irda service is not started by default. It can be enabled via overlay.
* Uses a HAL module to communicate with sysfs

Change-Id: If0c4b2e59144b1f199c44add399a3f528ac11e5b

Conflicts:
	core/java/android/app/ContextImpl.java
	core/res/res/values/config.xml
	services/java/com/android/server/SystemServer.java
Fix home key long press to work when assigned to recent app switcher.

Change-Id: Ibd16ff07b9910605c95180b54040f3e2b78939cb
Add PowerManager integration for button and keyboard backlight.

Allows setting button and keyboard backlight brightness as well as
button timeout.

Change-Id: I550cccafc0a8f90d6347de9261adb26b75955cc4

Conflicts:
	core/java/android/os/PowerManager.java
	core/java/android/provider/Settings.java
	services/java/com/android/server/power/PowerManagerService.java
SystemUI: Fix potential NPE

Does already cause issues on some Halo ports to other ROMs.
Might not cause issues on PA (yet), but better safe than sorry.
clean up double imports
WMS fix: add back IDeviceHandler import
fixes errors in builds referring to WindowManagerService.java

Change-Id: If446047e5b0f31f1e7fe2d3f1507dc94669fb5ad
Merge branch 'jb43' of https://github.com/ParanoidAndroid/android_frameworks_base into jb43-legacy

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

Change-Id: I86299c64e347692045e8990280fd1199c153a14a
TEMPORARY: Reintroduce button-backlight (and respective inactivity timeout)

The power manager rewrite from Change I1d7a52e98f0449f76d70bf421f6a7f245957d1d7
completely removed support for control of the button backlights, which makes
all capacitive buttons out there stay dark. The commit message in that change
mentions it hasn't been implemented _yet_, so this fix should be temporary
until upstream does their own implementation

Change-Id: I6094c446e0b8c23f57d30652a3cbd35dee5e821a
PowerManagerService: Implement setButtonBrightnessOverrideFromWindowManager method

Differs from Android 4.1 (and earlier) implementation in that the
overridden button light still turns off after BUTTON_ON_DURATION instead of
staying on until screen off.  However, button lights are annoying, and
really the purpose of this is to allow apps (e.g., Screen Filter) to
_disable_ the button lights altogether.

Conflicts:
	services/java/com/android/server/power/PowerManagerService.java

Change-Id: I4220246ee364222673586fa908404f9d16efb64b
Keyboard light: Fix the physical keyboard not light when it's visiable.

Change-Id: I595afd3cb6b422a17ae0f6ec20aa51979db13810

Conflicts:
	core/java/android/os/PowerManager.java
	services/java/com/android/server/power/PowerManagerService.java
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

Conflicts:
	core/java/android/os/PowerManager.java