Fixed aapt warnings

Change-Id: I35389697266b3ec59a38b4142a8983d0a8cc31ac
PT-BR: Added missing translations

Change-Id: I0616fbbd61742553bd03c1d64a2c792ad55fb2e9
Disable touch while using the stylus (Galaxy Note)

Android 4.0 cannot form multitouch events from multiple input
devices. So it is not possible to report one touchpoint from the
stylus position and, at the same time, another touchpoint from a
finger touch. Instead, when a new input device starts up the currently
active input is cancelled. This is highly undesirable while writing
with the pen.

The easiest solution is to ignore non-stylus touch events while the
stylus is within range (hovering) of the touchscreen. For example,
N-trig digitizers implement this in hardware. But wacom digitizers do
report pen data simultaneously with touch data. This patch disables
(non-stylus) touch input within 50ms of stylus data. On my Galaxy
Note this is necessary to make stylus input usable.

Change-Id: I9f458d85d8bf83d6cf03b467d46ce066fd55b7e0

Conflicts:
	services/input/InputReader.cpp
	services/input/InputReader.h
Screenshot : Pass current user

Needed to complete the snapshot procedure

Change-Id: I40f63e261e213136cd739c06da6f005173427ae0
Merge "PT-BR: Added missing translations" into cm-10.1
PowerWidget: fix airplane mode toggle

Settings.System -> Settings.Global

Change-Id: Ic1a874ec694e76153d0838fdb81650fe384bae59
Framework/SystemUI: Update Greek translations

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

Change-Id: I2a9978b20ce0d70621e88913841758553721e6a8
Merge "Fixed aapt warnings" into cm-10.1
Merge "Screenshot : Pass current user" into cm-10.1
Merge "Disable touch while using the stylus (Galaxy Note)" into cm-10.1
input: Add option to toggle pointer icon when using stylus

* The visible pointer icon when hovering or drawing with the stylus is
  quite annoying when trying to actually draw with it. Turn it off by
  default and add an option to turn it on.

Change-Id: Ib7f23e8b69589e3f875d150caf05065b64676e44

Conflicts:
	services/input/InputReader.cpp
	services/input/InputReader.h
	services/jni/com_android_server_input_InputManagerService.cpp
GlobalActions: Fix dialog dismissal

The themeability of the global actions dialog introduced by
change I644e2e8d7d4abf07bae639b606197d691f16adac broke the
hook that prevented multiple instances of that dialog, and
multiple instances of it will cause framework crashes due to
mismatches variable references (besides looking weird).

Fix it by restoring the original dismissal condition and forcing
a recreation of the theme context if necessary.

Change-Id: Ic6e06bef18fa9e09c84c774fa273f1b7e3bf9630
QuickSettings: Fix Swedish translations

The translation of "Bluetooth Off" to "Inaktivera Bluetooth"
(which means "Disable Bluetooth") causes confusion as the string
is meant to show the status, not what would happen if you tapped it.

The translation for "WiFi Off" is valid but it doesn't fit. Changed
to "WiFi Av" to match the change above. This one can be discussed.

The translation of "WiFi Display" translates the word "display"
as a verb which made no sense in this context. There is currently
no proper Swedish name for the WiFi Display standard so the English
name is used instead. It's what people actually use anyway. "WiFi visas"
means "WiFi is displayed" which is clearly wrong in this context.

Change-Id: I6013421242ee1dea6bbc2bc6adbf83581b4c6de2
SystemUI: Dutch translations

Change-Id: Ib367b7ab489110138aed156dedb17adda6e5d9df
Merge "QuickSettings: Fix Swedish translations" into cm-10.1
Merge "Framework/SystemUI: Update Greek translations" into cm-10.1
Fix HTC headset handling.

HTC's headset driver adds additional bits to the switch state, which
we're unable to deal with. Fix that by masking out those bits and
keeping only the valid ones.

Change-Id: I29f0de9520ebb56d61acbc9a6dfcfc73e1f297d8
Merge "Fix HTC headset handling." into cm-10.1
Adds ability to answer call with hardware HOME button (preparation to winter time)

Change-Id: Ic11449acf87c6b4d932142b74158af7441658b3d

Patch set 1 : Upload the change
Patch set 2 : Only change the real Author
Patch set 3 : Bugfix:
              Add register for the ContentObserver (Settings.Secure.RING_HOME_BUTTON_BEHAVIOR) in PhoneWindowManager,
              and correcting the logging functions and deleting some unneeded comments
Add config_hasRemovableLid

If a device features a dock with a removable lid, lidOpenRotation
overrides the rotation even if it was undocked (technically the lid is
still open).

This setting tells the framework whether to apply lidOpenRotation to
undocked devices.

Change-Id: I1051278a45875b2139b75db28467f9b8de2936d6