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
Forward port SystemUI: HSPA+ Support

Add the ability to recognize HSPA+ by creating a separate case for HSPAP and
include new H+ icons.

Signed-off-by: Bajee11 <bajee11@gmail.com>
Change-Id: I889a28e4b4cb49862b291641df5a00388db87551
SystemUI: fix wrong statusbar background.

If we turned off screen while some panel was visible than
background of PhoneStatusBarView will not be updated because we receiving single
panelExpansionChanged call and after super.panelExpansionChanged mFadingPanel
will be null (onAllPanelsCollapsed cause this).

Allow updating background when mFadingPanel is null.

Change-Id: Ib123f27500790c1b7ec787b7e433372629daa08d
BootMessage: show more info in boot dialog

Tell the users what package we are running dexOpt on currently

Change-Id: I665ab3847ec1846e40915a1fae21c43e2e7ccf6d
Improve scrolling cache

Scrolling cache helps make short scrolls/flings smooth but will
cause stutter when long flings are made. This patch disables
scrolling cache when long flings are made.

This patch also fixes a related bug where scrolling cache will
not be enabled properly when transitioning from flinging to scrolling.

Patch Set 2: Calculate threshold based on maximum velocity (Sang Tae Park)

Credits: Pawit Pornkitprasan

Change-Id: I1fdbaad92263c9f983a32900e74eba1f0367902b
Signed-off-by: Arham Jamal <arhamjamal@gmail.com>
[1/3] base: allow disabling non intrusive incall ui

Change-Id: Ibe9c65f1fe024a859d98d96fd86199607a1060de
Advanced power menu

Updated for kitkat. Based on CM!

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Screenshot option in power menu

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Port forward: Clock styles

Port forward: Clock styles
-- xoomdev

SystemUI: Clock mode. Center, Right, Hidden. AM/PM and Weekday
options.
-- syaoran12 (aka adamthecashew)

SystemUI: Clock fix for 24 hour format
-- KhasMek

Signed-off-by: iceandfire <arhamjamal@gmail.com>
Show auto rotate to easy Xooms ocd

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

Change-Id: I79067023cd1b3575bad14fae752049622d11c100