Possible leak in android_emoji_EmojiFactory_newInstance

jchars is not released correctly if factory is NULL.
In addition, unnecessary string conversion removed.

Change-Id: I3ea58391dfe7a96ea6d6ae61bb0867a2d8d49fb0
SystemUI: fix bt toggle

If BT was on and the toggle isn't visible, it would try and refresh it anyways.

Change-Id: I6fd85d8bd7bc6edf20d02d92a2b3f3d6a6ef7e0f
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Fix: Handle switching between Wifi & Wifi Tether in QuickSettings

PS2: Split some long lines

Change-Id: Id428c8c040d9aebfb3ee731841250bd50805b580
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Recents: Fix Recents for MultiUser

Its actually the rambar thats causing the crash, running state needed
to be updated.

Change-Id: I081803e77c247fbaa6d8bf75dec889200e618f75
Merge "SystemUI: fix bt toggle" into jb-mr1
CDMA RIL: add SVDO support (1/2)

based on Richard Ross's commit

Change-Id: I313edd3c52d1d0b397ca519757470b87882424d7
Toast: fix force close if called from system service

If a toast is created from a system service, an application context
will not be available, use the service context instead.

Fixes
http://code.google.com/p/android/issues/detail?id=40058
http://code.google.com/p/android/issues/detail?id=40075

Change-Id: Ic643f4557fa04476819cd2c3ee640b735eeae429
Merge "Fix: Handle switching between Wifi & Wifi Tether in QuickSettings" into jb-mr1
Fix "Search" as a long press navigation bar target.

PS2: Boomtabgone

Change-Id: Ibec6a93d215f789684e1be61219b76adc4a62048
Fix reboot dialog causing hot reboot if user long presses power button more than once.

Change-Id: I7c41f4d9bc1c264d063cc5302678ee5079013540
Add config_speed_up_audio_on_mt_calls option

Bug: 7612431
Change-Id: Id2ce52cd39e5e7958268a1d7fc78ab26169dff23
Signed-off-by: rohan <rohanmathur34@gmail.com>
Merge "Fix "Search" as a long press navigation bar target." into jb-mr1
Merge "Recents: Fix Recents for MultiUser" into jb-mr1
Merge "Add config_speed_up_audio_on_mt_calls option" into jb-mr1
transparent nav bar

Signed-off-by: Roman Birg <romanbirg@gmail.com>
Change-Id: I71eb46af407ec97084dcf7944f0c4231c98dbe97
Avoid possible memory leaks by ensuring stream closures

Stream close() methods should always be called in finally block
to ensure we don't accidentally leak a stream.

Time to fix some old sloppy code.

Patch Set 2:
 + ensure closure of some other streams
Patch Set 3:
 + missing import java.io.IOException
Patch Set 4:
 + missing import
Patch Set 5:
 + missing ';'
 + whitespace cleanup
Patch Set 6:
 - Reverted changes to MemoryUsage (final requirement
     prevents my implentation)
 + fixed Object allocation in Root.java
Patch Set 7:
 + fixed curly bracket style violations
Patch Set 8:
 x fixed my own sloppy code :/

Change-Id: I3460b558ed5b4489296388c9a52fbb773cefd31f
Updated simplified Chinese translations

Change-Id: I6c9104499b74dc5e3e3bc76bdfe93142240bf807
transparent statusbar

Currently just uses the same logic/values as the nav bar. We may want to separate those out

  Patch Set 9: Fix whitespace before merge

Change-Id: I6188ebd98684c8775b0447b4e6a1f09ec1a78887
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Merge "Updated simplified Chinese translations" into jb-mr1
Merge "Avoid possible memory leaks by ensuring stream closures" into jb-mr1