AudioService: Don't adjust volume when vol-downing to vibrate or silent

Pressing vol-down to vibrate or silent would (previously) still adjust the
stream volume, setting the last audible volume to 0, which is not allowed
for voice-capable devices.  Thus, the last audible volume would reset to
default on reboot if on vibrate/silent or the lowest volume setting.

By not adjusting volume when vol-downing to vibrate or silent on
voice-capable devices, the last audible volume is always preserved across
reboot.
Squash Commit : Adb over Network and hide adb notification (1/2)

Change-Id: I4e318c854e5e1f6dac7d39e07d0c3a09b92cca22
Ported: Volume adjust sound preference 1/2

Author:    StevenHarperUK <StevenHarperUK@gmail.com>

Feature : Volume adjust sound preference 1/2

Adjusting the volume makes a nice "boing" sound
Personally I find this annoying
This patch makes this a preference in
Settings | Sound
    Volume adjust sound
        Play sound when adjusting volume with hard keys

The Checkbox is defaulted to ON (1 in defaults.xml)

Look for 2/2 for the Settings, Sound Panel Change

Change-Id: Iad89a0c49288094e21824aa9c9e1bf98c29cfec3
QuickSettings: Ram Tile WIP Dont Merge 1/3

Need to do.

Clean up layout/ make moar prettier
Come up with a way to automagiclly turn the listener on and off

For now you can turn it on and off with a click

Ram tile and Ram bar can not run at the same time. one will
not update if the other is running.

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

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
Add Screen off toggle (1/2)

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

Change-Id: I7dc2c3dfd71734c52e30972b91f0fe35bd086735
SystemUI: refactor fast charge toggle

Device trees need to set a path to enable the toggle.
It will not show otherwise.

Moved all file operations off the main thread and use a
preference to save the last state so it persists.

	<!-- empty string to disable, or like: /sys/kernel/fast_charge/force_fast_charge
         it is disabled by default so devices need to add an overlay to enable-->
    <string name="config_fastChargePath" translatable="false"></string>

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

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsModel.java
Framework: Use holo alert drawables

Replaces the current usage of the GB alert
drawable with theme-consistent holo ones.

Change-Id: I8594ef8276db5bb0e192f3a541937d7281321043
SystemUI: fix quick toggles layout in landscape mode

Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: fix pulldown header for themes

Change-Id: I3607a146a2f44dc26c1d972708779c841ef7d8ae
Signed-off-by: Roman Birg <romanbirg@gmail.com>
SystemUI: remove mStatusBarContainer to fix focus handling

Since we're killing sysui when restarting themes, there's no need
to try and be graceful about removing views, which is likely why
this extra parent view was added.

This fixes long pressing on a notification bar passing through and
firing off the click intent when the menu shows up.

Change-Id: I3f2539ee100f52a51fc270c34cde39cd312715be
Signed-off-by: Roman Birg <romanbirg@gmail.com>
FWB: National data roaming and make it optional (1/3)

by Robin Morawetz (Rdlgrmpf) and Davor Bertovic (LorD ClockaN)
Id: Ief840d818ecf4b8ebb088fab34f01878d0a9f2d7

Change-Id: Ie5200e5756ee8b6139a775a366718d652ab6f480

Conflicts:
	core/java/android/provider/Settings.java
SystemUI: nav bar menu keys as left and right dpad arrows

ps3: null check
ps4/5: more consistent implementation
	now properly hides on lockscreen if keyboard is
	still up. the arrow keys should also work with any
	navigation bar configuration that we support right
	now

Change-Id: Iba75e8f1b19f299a1b7ff607c33679d9788cd925
Signed-off-by: Roman Birg <romanbirg@gmail.com>
fix license header

Change-Id: I287ae3d20551ff47fc5be5f721af63913423b30d
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Add Hot Reboot option to Power Menu