When reconnecting disassociate dc and apnContext.

This is done in onActionIntentReconnectAlarm, which is called when
retrying after an error, by setting the ApnContext.DataConnection &
DataConnctionAc to null which intern clears the DataConnection.mApnList.

With the mApnList cleared DataConnection.mRefCount will not be incremented
because the DC will not be found by findReadyDataConnection. Thus fixing
at least one cause of 6529189.

Bug: 6529189
Change-Id: I40ff1966f6fbd2f69e97d77b9db7122e4c5b992f
Preserve retryCount when retrying.

Bug: 6529189
Change-Id: I743aed08aa161d91899aeb2ccacffcd224e48c0a
Add support for Caller Name Display

Copied relevant parts from CdmaConnection.java to get the information
as/if presented by network operator (Fido/Rogers in canada provide that
information, and it get displayed if there's no match in phonebook).

Change-Id: I95d90c96324502c217da84be2c5c3cd46c1c0c0f
Fix restoring network mode preference on reboot.

When a user sets the option to use only 2G networks (for GSM networks) or its
equivalent for CDMA networks, each reboot erases that setting. That forces
the user to re-select the same option after each boot.
This (very simple) patch fixes it.

Change-Id: Ib9e4bba6da705c127ce1f3aa3c242b9262541cee
fix automatic timezone failing on some GSM networks

in the code that parses the NITZ string, someone made the assumption that if
any data follows the DST flag, it must be be the android emulator appending
an actual timezone string in "Area!Location" format.  However, it seems that
some carriers or perhaps in some locations, the carrier sends an additional
field in the NITZ string.  For example, this is a string from AT&T:

12/07/01,09:37:43-16,01,310

The extra field is "310" above.  This patch will only assume that the field
in question is a textual timezone if and only if it contains an exclamation
point.  Otherwise, the extra field is ignored and the timezone is parsed
as it should be.

Change-Id: I6cc4278027a6de5545d76b803f5359923e60878a
Signed-off-by: Gary Dezern <garyd9@gmail.com>
AudioPackage5 contains duplicated bad-case filenames

Conflicts:

	data/sounds/AllAudio.mk

Change-Id: Ie046a9faff5b1b71b6a09ec06aee679be909112a
Sounds: remove misplaced/duplicate file

Change-Id: I4b6cc606735b1bd56dcccc11472f42aa0e5ef76b
Extended Power Menu - Reboot

Ported the reboot menu from CM9 to CM10, the original patch was not
clean and require a bit of re-work.

Change-Id: I70cf515f097ea94aedaa7469b0cb18c797af4b57

Extended Power Menu: Initialize reboot reason to the first reason
Change-Id: Id94863d56c45ff10d3ded7f62e3f2ef7b8cd0e69

Extended Power Menu - Reboot
Change-Id: I8c3a773ba943dc42e8cf3feab32c462d25d3bb06

Conflicts:

	core/res/res/values/public.xml
Add an option to change the device hostname (1/2).

This adds an option to modify the device hostname used
in ip resolution. This is useful when connecting to the
android device in a dynamic dhcp environment.

Change-Id: I44e4771f4415a32fe66867d4dd90f1ad138341e1
Allow unlinking of notification sound and ringtone volume. Thanks to http://forum.aokp.co/
 for this.

Change-Id: I55db003cc1691fbca5d3e8ea79e088d0622d38ee

Conflicts:

	core/java/android/provider/Settings.java
Sound Settings - Quiet Hours (Part 2 of 2)

This is the frameworks part of the Quiet Hours settings, ported from
CM7

Patch set 3 - Using a separate observer
Patch set 4 - Rebased

Change-Id: Id1756b62ed8146cf6a7cc2d80f2dbe1a5803eb66

Conflicts:

	core/java/android/provider/Settings.java
	services/java/com/android/server/NotificationManagerService.java
Conflicts:

	core/java/android/provider/Settings.java
	services/java/com/android/server/NotificationManagerService.java
	services/java/com/android/server/VibratorService.java
fix notification bug
Interface Settings: battery display

Patch Set 4: Adjusted battery graphics as requested
Patch Set 5: Decreased font size for tablets

Change-Id: Icc27099206b0296f79d61fa0bcf33fc8d4e10060
Conflicts:

	core/java/android/provider/Settings.java
	packages/SystemUI/res/layout-sw600dp/status_bar_notification_area.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Interface settings: clock display

Change-Id: I99abcd92320a083a2e3be79fec5cfc3e0bb80b47

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
Interface Settings: signal status style (2/2)

Ported from CM7 change I4984b06c70acd49862b5afc502cb4875abba64b7

Change-Id: Iebce598e278e8429444db862dd71547f57ea86ba

Conflicts:

	packages/SystemUI/res/values/styles.xml
Statusbar slide brightness control

This allows the ability to control brightness by sliding across the statusbar.

Patchset 2   : Cleanup as per suggestions.
               Removed duplicate key from Settings, after settings merge
               Reduce mLinger threshold (Need feedback on whether its too sensitive for some)
Patchset 3,4 : Minor cleanup
Patchset 5   : Cleanup as per comments
Patchset 6   : Remove unused import
               Avoid unecessary gc of unchanging variables (make them instance variables)
Patchset 7   : Cleanup

Change-Id: I19ee7de07be7bfeabde3fb2ae3c60ebdbb4afd72

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
statusbar: brightness fix for jellybean
systemui: Add option to enable notification counts
Configurable 0, 90, 180 and 270 degree rotation (framework part)

This is similar to my previous CM contributions. Requires settings
UI to configure (not done yet). The rationale is to be able to
have automatic rotation always enabled, but only for desired
angles.

Change-Id: I19d3d2cb91249ba2cdee310e6ff7b0978e9bfde0

Conflicts:

	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java