MegaKang3

Credits below creds to brewcrewfoo/aokp

SystemUI: add signal text (1/2) WIP

Change-Id: I0b1a246f4744e71fb6cebfdfe2f674958971048e

SystemUI: replace signal bars with signal text if option chosen

Change-Id: I3b50747031f6e80edcad4499f0ad2646483c94c0

fix airplane mode with SignalText
Took the visibilty checks out of SignalText.java and moved to signalClusterView.
Airplane mode icon now properly responds.

Change-Id: I4e97854a3ed59df26d12b881b73b8f59c75de3db

fix Dbm signal readout for LTE/4g
This uses deprecated methods for getting signal values, but
it is the way it's currently being done in Settings.apk in AOSP.
there is no LTE functionality in the new preferred method.  Until
such time as LTE signals are exposed, this looks to be the only way.

Clean up
I forgot to take out the log statements and delete
commented out code.

Change-Id: I96fe28fdf946e1372ec4dd8df3adae4aece4b509

Conflicts:
	core/java/android/provider/Settings.java

SystemUI: WiFi Signal Text

Change-Id: I926787c92d8f054370a231ecd668a4bf352d832f

Conflicts:
	core/java/android/provider/Settings.java

SystemUI: Add option to hide signal bars

Patch set 2: add an observer to apply the changes without reboot

Change-Id: I93e78d48412e1a82a271d002066fa8a4c0101d16

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java

Lockscreen: Quick unlock (Part2/2)

Change-Id: I9cdd6ef4c5f59fad5b7f330815fe28a79d9b9862

re-implement statusbar brightness slider

TODO: allow it to be disabled by adding a System.Setting?

Signed-off-by: Roman Birg <romanbirg@gmail.com>

add "Turn Wi-Fi off" action to the "open networks available" notification

Signed-off-by: Roman Birg <romanbirg@gmail.com>

Conflicts:

	core/res/res/values/strings.xml

add missing xhdpi turn wifi off image

WiFi open network notification: fix potential crash

set notification broadcast to null after unregistering it

Signed-off-by: Roman Birg <romanbirg@gmail.com>

SystemUI: open settings panel if there are no notifications

If there are no notifications that belong to the current user, then automatically open the quick settings menu (like the two-finger open). It only ignores the ADB icon for now (which is pretty useless) but could be extended to ignore the usb mounting one or maybe another?

TODO: add Settings.System toggle to disable the option

Signed-off-by: Roman Birg <romanbirg@gmail.com>

Quick Settings: Long Press Settings for Settings

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

switched ref to com.android.settings.

Quick Settings: Make Wifi and Bluetooth Turn on and off

short press turns on and off
long press goes to settings.service

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Quick Settings: Don't collapse after change state.

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Quick Toogles: GPS, Clock, IME

Make these on by default for now enable/disable and movable tiles coming soon.

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Commit themes to Liquid:
Squashed commit of the following:
maniac103: Allow theming of framework UI elements - a528877173
rmcc: SimUnlockScreen: Explicitly register themeChange receiver - 8da5dd0a5
rmcc: Fix theming of the Shutdown Thread - 0d6dea4e2f
rmcc: Merge branch 'themes-4.1.1' into cm10 - 5a35f209e

Change-Id:

Conflicts:
	core/java/android/app/ActivityManager.java
	core/java/android/app/ActivityThread.java
	core/java/android/app/ContextImpl.java
	core/java/android/content/Intent.java
	core/java/android/content/SyncManager.java
	core/java/android/content/pm/ApplicationInfo.java
	core/java/android/content/pm/PackageManager.java
	core/java/android/content/pm/PackageParser.java
	core/java/android/content/res/Configuration.java
	core/java/android/content/res/Resources.java
	media/java/android/media/AudioService.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
	policy/src/com/android/internal/policy/impl/AccountUnlockScreen.java
	policy/src/com/android/internal/policy/impl/GlobalActions.java
	policy/src/com/android/internal/policy/impl/LockPatternKeyguardView.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
	policy/src/com/android/internal/policy/impl/SimUnlockScreen.java
	services/java/com/android/server/DeviceStorageMonitorService.java
	services/java/com/android/server/InputMethodManagerService.java
	services/java/com/android/server/PowerManagerService.java
	services/java/com/android/server/UiModeManagerService.java
	services/java/com/android/server/am/ActivityManagerService.java
	services/java/com/android/server/pm/PackageManagerService.java
	services/java/com/android/server/pm/Settings.java
	services/java/com/android/server/wm/WindowManagerService.java
	test-runner/src/android/test/mock/MockPackageManager.java

QuickSettings: allow custom ordering and what toggles are visible/hidden

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java

bluewall firewall (1/2)

mutes notification sounds for an application for
<x> seconds after playing

Fix your themes xoomdev.

Fix global actions dialog not theming.
Fix PackageManagerService derps from rmcc.

servicemanager: Allow tegra audio to register as a service

Change-Id: I6c792b6f5f586cf40d4a9b834e793a68c1e458a7

Wifi: Allow configuration of the P2P ifname

ICS used the same wifi.interface as the regular wifi service.
Let's use wifi.p2pinterface here, since they _can_ be different

Change-Id: Iab68b245b33377271354c849bbe33725a26193f1

samsung: add support for tvout and yamahaplayer services

Change-Id: I653f9876b7fb83734abf3a0b9b9b5af1920b8112

Add support for ICS camera blobs

Change-Id: Icf9010f4b6059405275107fadd5aac81cd294182

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

android.policy: Fix launching home when waking the device with the home button

Change-Id: I71845bf88943f5ef141ea5c533f997e09ab5b7f4

Silence continuous warnings about lack of kernel tracing support

Yes, we get it. Tracing is disabled.

Change-Id: I09227f9be36190551331e99d4cd827e527ad6b6d

input: Add workaround for broken hardware keyboard support

* Add workaround var for devices with broken kernels

Change-Id: Ib6ade70f399067469ba5aece48c6ec4608125d75

Conflicts:
	core/res/res/values/config.xml

Conflicts:

	core/res/res/values/config.xml
	core/res/res/values/public.xml

Notification sound-to-vibration conversion toggle

Also, I disabled the setting by default, so notifications should be have like they did prior to 4.2 and setting the boolean to true would enable default 4.2 behavior

Signed-off-by: Roman Birg <romanbirg@gmail.com>

QuickSettings: Fix for NPE on reboot when some toggles are disabled.  The Model was trying to refresh views that were not inflated

Port forward: Lockscreen text color, lockscreen rotation, always show batt

Quicksettings add all the things

moar tiles, tethers, torch, silent, vibrate, fcharge, sync, and nfc

fuck cm and the police.... jk my brothers a cop just cm..

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java

Even Moar tiles.....

this should be all the ones we had on 4.1

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

Fix: Don't wake up the device with headset button

Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>

Fix: QuickSettings: Alarm intent was pointing to obsolete package

Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>

Make RamBAr Moar Dynamicer...

The listener code was already in running state just implementing it
here as practice for the ram tile im gonna make.

Signed-off-by: Stevespear426 <stephen.k.spear@gmail.com>

implement noise suppression for phone calls (1/2)

Change-Id: If51532bd8220fab8722bbb594f70515f9d74b49b

telephony: SignalStrengh: Don't calculate a LTE snr if the srq is invalid

If the previous values are invalid and signal quality is -1, chances are there's
no LTE signal at all, so don't calculate the SNR and mark it invalid as well.

This fixes the strength indicator in GSM devices where it was being skewed
by the ghost LTE value

Change-Id: I070573401c141aa99941a332ee256246697abb90

input: Fix workaround for broken hardware keyboard support

Using a wrong reference to mHardKeyboardAvailable caused device config
to never report physical keyboards.

Change-Id: I9b64e2d89512436c17fa8929464e2b727fba1cf3

kang fail - add noise suppression to Settings

Fix: QuickSettings: SysUI was FCing if no user tile has been added

Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>

Fix: QuickSettings: change deprecated NfcAdapter method to the new one (caused FC on init)

Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>

Fix: QuickSettings: One more NFC related NPE (FC)

Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>

QuickSettings: Allow customization of Tiles / Row (1/2)

Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java