KeyEvent: update comment

Change-Id: I1ea491e7e23670bf0ea83392710010b557803178
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
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
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>
DeviceKeyHandler: Increase handler priority

Allow DeviceKeyHandler to have higher priority when handling user keystrokes.

Patchset 2: Update commit message
Patchset 3: Rebased
Patchset 4: Fixed needed ref
Patchset 5: Rebased

Needed by http://review.cyanogenmod.org/#/c/35064

Change-Id: I60871052aaae0af7d864113f00dbdf9ba5200f2e
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
power: Add panel auto-brightness configuration

 * Some panel hardware requires that we twiddle some knobs in sysfs to
   enable proper display calibration (gamma, etc) when auto-brightness
   is enabled. Add a configuration value to handle this.

Change-Id: I3c793c3520fc6f9a18d5a3abf1fe0df803c5e580

Conflicts:

	core/res/res/values/config.xml

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml