Fix date line for koreans

e.g)

MON  TUES  FRI

DAY, DAY,  DAY
Merge pull request #17 from franco-c/jellybean

Fix date line for koreans
Option to use volume keys to control media volume anytime (2/2)

See Settings part for description
Fix wrong typo (remove else if valid only in cm)
Audio continue to played even if paused manually

Currently, audio will resume playing after a phone call
or notification even if the user had manually paused playback.

This patch addresses that by introducing a new player state
to distinguish the user pausing playback and the browser
losing audio focus for some other reason. Audio will only
resume if the browser temporarily lost audio focus and
not when the user has manually paused playback.

Signed-off-by: Roger Chen <cxr514033970@gmail.com>
AudioService: Restore volumes after boot and when a headset is plugged

The correct volume levels for <device>_speaker and <device>_headset are not
restored after booting and when a headset device is plugged in or out.
This fixes a glitch where the first volume change event causes the volume to
be reset to the last stored value instead of increasing/decreasting it by
one step.

Signed-off-by: maxwen <max.weninger@gmail.com>
Fix code alignment
Add missing DCHSPAP variable name
Another missing DHSCPAP value
Merge branch 'jellybean' of https://github.com/ParanoidAndroid/android_frameworks_base into jellybean-legacy
Merge branch 'jellybean-legacy' of https://github.com/ParanoidAndroid/android_frameworks_base into jellybean-legacy
Add option for switching between UMS and MTP/PTP mode. (1/2)

Change-Id: I8e692d468cb36ccc97ca69b8a2eb11afeb711eae

This adds support for switching between UMS and MTP/PTP.
Framework part (this part) will only enable UMS if the config setting is set.
Standard is to enable UMS if the primary volume supports UMS.

It's only porting this http://review.cyanogenmod.org/#/c/21117/

Conflicts:

	services/java/com/android/server/usb/LegacyUsbDeviceManager.java