Core: RU translation

Patch Set 2: Reorganization
Frameworks : Fr translation

Patch set 2 : rebase

Change-Id: I128ff305b9c9abdd3b56aa74acdd89fbb0194f44
Frameworks/SystemUI: Reorganize Greek translations

Revert AOSP strings
Rearrange CM additions
Add translation for new pie strings & FM permissions

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: Iad968b79c7dca607b7f5136e20df9e45ea164bd8
SystemUI+Core Danish translation: latest merges and transition to cm_ format

Patch 3: Correct apostrophe error.

Change-Id: I114464740994594df66f10740886d25d9629e3c7
Merge "Frameworks : Fr translation" into cm-10.1
Fix Watchdog HeartbeatHandler to run on correct thread

The HeartbeatHandler for the System Server Watchdog has been running
on the wrong thread due to a race condition in initialization.  It's
designed to run on ServerThread, so that it can catch lockups in the
main looper of the System Server.  It has been running on
ActivityManagerThread instead, so it does not detect lockups on the
ServerThread as it should.

ActivityManagerService is calling Watchdog.getInstance() before
ServerThread calls Watchdog.getInstance().init(), so the handler is
being bound to the ActivityManagerThread instead of the ServerThread.

Explicitly bind HeartbeatHandler to ServerThread, so that the Watchdog
catches lockups on this critical thread.

Change-Id: Iccb184ac3adb817feb86ed4ee0e50e443bf74636
Allow creating custom dialogs in DialogPreference.

This allows creating non-AlertDialogs while still using the click and
state handling of DialogPreference.

Change-Id: I54fd7d6d6b9f6a49fef1ae95e0178838b3edfa56
Merge "Frameworks/SystemUI: Reorganize Greek translations" into cm-10.1
Merge "Core: RU translation" into cm-10.1
Merge "SystemUI+Core Danish translation: latest merges and transition to cm_ format" into cm-10.1
Merge "Allow creating custom dialogs in DialogPreference." into cm-10.1
Frameworks: Refactor AF translations

Change-Id: If54deff27049d130540897a52df4c2884d196c29
aapt: localizations: be more aggressive

* errors instead of warnings for:
  * A localized string for which no default-locale version exist.
  * A localized translation of an translateable="false" string.

Change-Id: Ib700fe323019f285f5a1931fe96500b2de03106b
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.

Change-Id: I9e8beaedb0fcc5afe920068297ed9c387eab2ac8
Signed-off-by: Roger Chen <cxr514033970@gmail.com>
Fix NPE when pasting non-text from Clipboard

When copying a link from a bookmark and then pasting it into
a textfield a NullPointerException will occur.
A ClipData.Item is not guaranteed to always contain a text string
and therefore getText() can be set to null.

Using method coerceToText() instead of getText() makes sure that
a text string is always returned.

Change-Id: I81343c0371835a3a7a52045dcd1760e69e59a967
Can not mark the same content of browser page after copy

Marking a text on the web page and then press copy works,
but trying to mark the same text again does not work.
The reason for this is that the selection never gets
cleared in webkit.
The fix, calling cleaSelection in the onDestroyActionMode.
Also added clearSelection when getting an
onConfigurationChange.

Change-Id: I59b384cb5441b6a3a05007ea7e77f9699889a87c
SystemUI: Fix aapt warnings

Change-Id: I4787997c0e586305f3030b3b3bda8d6145870f3b
Merge "aapt: localizations: be more aggressive" into cm-10.1
Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_frameworks_base into myjb-next