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: I22a71bfac3473da711227420d06e438e56df00b0
Revert "Handle backup transport registration dynamically"

this patch breaks completly the binding to the in gapps
included backup services. Need to be revesited on a later point
why this happens.

This reverts commit c46c4a6765196bcabf3ea89771a1f9067b22baad.

Change-Id: I3fc4856fbbc05656dc5fdf6db30e3bc1bb4f7412
[1/2] base: enable advanced reboot by default only if developer options are enabled

Change-Id: I707ba8b8366ec70cd920247d2ec8c52d6fc61431
Merge "Disable touch while using the stylus (Galaxy Note)" into android-4.4
Merge "[1/2] base: enable advanced reboot by default only if developer options are enabled" into android-4.4
Merge "Revert "Handle backup transport registration dynamically"" into android-4.4
Merge remote-tracking branch 'omni/android-4.4' into omni-4.4