wifi: Allow Settings to retrieve country code

This makes getCountryCode behave like getFrequencyBand

This allows Settings to get/set country code like
it can for frequency band.

add aditional fixes to original implementation
and changes for 4.4

Change-Id: Id9f00d3a678642c6c142fd1511af820d729507a7
Port forward: Core: Volume options panel 1/2

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

Conflicts:

	core/java/android/provider/Settings.java
	core/java/android/view/VolumePanel.java

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

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

Conflicts:
	core/java/android/provider/Settings.java
add ability to unlink notification volume from ringtone volume

set initial notification link initial state
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
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	packages/SettingsProvider/res/values/defaults.xml

Conflicts:
	core/java/android/provider/Settings.java
Fix build
Introducing the PreferenceDrawerActivity which makes use of the new navigation drawer UI google has introduced in updates to many of their apps.  This relies on headers which are displayed in the drawer and preference fragments as the main content.

Patch Set 2:
  Create drawable backgrounds for the drawer.

Patch Set 3:
  Only access the action bar if it is not null.  The setup wizard does
  not have an action bar and will cause settings to receive a NPE.

Change-Id: Ifddd889daaa5bdea01fef5c104536a0189ad93bf
Signed-off-by: iceandfire <arhamjamal@gmail.com>

Conflicts:
	core/res/res/values/attrs.xml
Give the drawer background more definition instead of just a solid color.

Change-Id: I6f5a116a01b13c200aa89000484d945f2ebb6a54
Add DrawerLayout and ViewDragHelper classes found in the new support library.  These classes have been modified to work with the current framework and no need for any support or compat classes.

Change-Id: Ib57f37fadd5c01efef3188b8e2b906444d870fbf
Dark app chooser

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Fixed aapt warnings

Change-Id: I35389697266b3ec59a38b4142a8983d0a8cc31ac