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

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

Conflicts:
	core/java/android/provider/Settings.java
	packages/SettingsProvider/res/values/defaults.xml
Advanced low battery indicator options (1/2)

Based on a idea I saw on RootBox and from CR3C0 (thanks guys) which we
modified to an extended version

This commit introduces following new modes to indicate low battery

     * 0 = show dialog + play sound (default)
     * 1 = fire notification + play sound
     * 2 = show dialog only
     * 3 = fire notification only
     * 4 = play sound only
     * 5 = none

Notification behaviour is the same as Pop-up. User can dismiss it manually or it is
dismissed automatically if charger is connected, click on notification opens
PowerUsageSummary. Also you get a status bar ticker message about the notification
and notification is always on first place of list. And last if vibration is enabled
notification vibrates.

Patchsets:
 - codestyle corrections

Patchst
 - add PowerUsageSummary intent

cheers

Change-Id: I84476626b0ff5424454a1132ea4ef77a696070c1

Conflicts:
	packages/SystemUI/src/com/android/systemui/power/PowerUI.java
Add Lock volume keys in silent mode [1/2]

Prevents silent mode from accidentally being unset by volume keys

Forward ported from GB

Change-Id: Ic1df89b8e10bc87f7e125441141a73a39aea1474

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

Conflicts:
	core/java/android/provider/Settings.java
	media/java/android/media/AudioManager.java
disable camera sounds (2/3)

Change-Id: Iaa37bc6790fe32664f8b52178c14fe926ca7d4ce
Signed-off-by: sethyx <sethyx@gmail.com>
[Frameworksbase] Port Add Wifi name to notification drawer (1/2)

needed a lot code overwork because of huge changes from google

HINT todo: If we implement custom carrier label we need to trim customlabel
and add wifiname in

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

Patchset 2
- rebased

Change-Id: I4e913d0413fbedd04202a60b9504096990785d73

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
[Framework] Fix possible NPE on tablets

todo....hide wifi_ssid option in settings when not availabe on sw600dp.
sw720dp works

Change-Id: I8ace4c8ca2957c2a196b25cda709cda27058d7e4

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Update carrier text to work with wifi carrier label.
Frameworks: Some fixes, battery drain/massive redraws and minor

This commit fixes the following things:

- massive redraws on qs which causes on use battery drain
- cast fix
- some method changed to final
- code cleanup
- small notificationdrawer background fix
- animation improvement and first to fast qs animation fix

cheers

Change-Id: I234a03b6482a2017985cb17df48118672a062da6

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Framework: Notification Shortcuts (1/2)

This feature adds shortcut icons to the bottom of the notification drawer.
Preview: http://goo.gl/hSHQM

Feature highlights:

- Select up to 16 different shortcuts
- Link to any application or activity
- Use the default application icon, pick from an image or pick from included stock icons
- Colorize application/image icons as well as stock
- Hide carrier label

Change-Id: I9a2770c560c765453549b8f99598afbbb24e663a

Conflicts:
	packages/SystemUI/res/values/colors.xml
	packages/SystemUI/res/values/dimens.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarView.java
Notification shortcuts spacing and tablet transition fix

Change-Id: Ifcf888673b6ab80b43d427cf2a03b0beb7f56689
Frameworks: Add PNG'S for Notfication and Lockscreen shortcuts

Due of sharing resources this commit adds the shared resoures for
Notification shortcut feature and Lockscreen shortcuts feature

cheers

Change-Id: Ida0c2a576a430cff392f14ece9174048b983d594
Pinterest typo (1/2)

Change-Id: Ie4b0d1da563af7eae888067d5907dd891d885f7a
Configurable Notification Behavior [2/2]

PS 2 : Cleanup

Credit: Michele Primavera

Change-Id: I7693b05c6938e979e7d7735c0eff3a5018b81967
Fixup cutoff lockring

Credit to Slim
derp
BootMessage: show more info in boot dialog

Tell the users what package we are running dexOpt on currently

Change-Id: I665ab3847ec1846e40915a1fae21c43e2e7ccf6d

Conflicts:
	services/java/com/android/server/pm/PackageManagerService.java
Fix Derp