Fixed: missing new voicemail notification with few others carriers/devices

This patch adds more supported carriers for the fix at http://r.cyanogenmod.com/11318

Change-Id: I7f15517d68fd27d8bd6a8a871f092f0bdf6c2cac

Conflicts:

	telephony/java/com/android/internal/telephony/IccFileHandler.java
aapt: Remove terminal pointer incrementaion

When initialization, 'end' pointer refers terminal
character in a string. But it is incremented in
while loop. It occurs the access to non-secure memory.

Issue detail
  http://code.google.com/p/android/issues/detail?id=24896

Change-Id: I751d1154d797738c87a66374a66933528c045be5
[AudioFlinger]: Enclosing TrackBase destructor into flinger's lock.

Both flinger's threads, playback and record, use the same flinger's
Client object, which is used to allocate memory from it's heap area.
When playback and record consecutively alternates, memory buffers
for one thread could be allocated while for other - cleared and
deallocated in the same heap area. Those activities should be
isolated with lock to prevent possible race conditions which lead
to corrupting of starting track's memory.

Change-Id: I3cf691b8b2cbcf1bf38333a4e864988f3b996592
Signed-off-by: Sergii Iegorov <x0155539@ti.com>
Possible NullPointerException in restorePanelState

curFeatureId is just an index in a cycle and can not be used for getting an object. May get null that will cause NullPointerException. Solution is to use key to get an object from icicles.

Change-Id: I61d5c6bd1c3226a993f60efa74872995ba0e42ac
Adding null protection to getColumnIndex

getColumnNames may return null (for instance BulkCursorToCursorAdaptor.getColumnNames()) so we need to add null pointer protection in AbstractCursor abstract class.

Change-Id: If8a983a458cc1e167f51b270620c81f6f18e5b56
SystemServer: Looper's getMainLooper to return ServerThread

Fix to ensure Context.getMainLooper and Looper.getMainLooper
returns ServerThread for system_server. Currently, Looper's
getMainLooper returns null.

Change-Id: I5324a1cc00e27a79ba97836a9377a584e6f76b15
OverlayRenderer: Fixed memory leak

Fixed a memory leak.
Also, the call to SetLayer is now configurable.

Change-Id: I509922f425790f7cdde271ac4a8627de5e5cbfe7
Signed-off-by: Anu Sundararajan <sanuradha@ti.com>
Fix leak of global references and AudioFocusDeathHandler objects.

When an AudioService is required, AudioFocusDeathHandler object was created,
but it never deleted. This causes the system crash after the number of
registered objects into JNI Global Table exceeded the torelance.
In the patch, unlinkToDeath() is called to unlink AudioFocusDeathHandler
object when it was removed from the stack, and the object be the
garbage collected.

This fix was already a part of ICS. Back-ported for GB.
Ref: OMAPS00260211

Change-Id: Icdc05604d6262a8c82037fda6ea6e8762bcc6f22
Signed-off-by: Nanako BABA <baba@ti.com>

Conflicts:

	media/java/android/media/AudioService.java

resolved
MemoryHeapBase: Save the offset and send it across the process boundary.

The offset that is used in the creation of the MemoryHeapBase
must be saved, so that it can be used to recreate the Heap
when an IMemory object is passed across process boundary
through the binder.

Cherry picked from froyo:
http://review.omapzoom.org/#change,8895

Change-Id: Ice68ee227330ef34e0cd5c2d0c9f4122efff9fd4
Signed-off-by: Anu Sundararajan <sanuradha@ti.com>
replace OMAP_ENHANCEMENT with BOARD_HAVE_HDMI
it is ugly, but will see