Merge "AssetManager cookies should be int32_t and not void*." into kk4.4
Merge "Fix dest == src bugs in Matrix.cpp." into kk4.4
Merge "Fixed race condition in Spinner.DialogPopup on null reference." into kk4.4
Merge "[ActivityManager]: Fix the activity visibility state not sync between ActivityManager and WindowManager" into kk4.4
Merge "GpsLocationProvider: look for config file in /etc/gps.<ro.hardware.gps>.conf" into kk4.4
Merge "implement noise suppression for phone calls (1/2)" into kk4.4
Merge "Framework: Super advanced Custom Toggle (1/2)" into kk4.4
Merge "Perform NTP lookup at Mobile data connections" into kk4.4
Merge "fb: handle for our navigation bar recentspreload in the button" into kk4.4
Merge "SystemUI: Fix missing top task in recent panel." into kk4.4
Merge "fb: handle globalmenu in SlimActions not over Powerbutton anymore" into kk4.4
Merge "fb: unbreak recents animations on thumbnail click or dismiss recents screen" into kk4.4
Merge "fb: Handle navbar heights correct on dpi changes + more (1/2)" into kk4.4
Merge "frameworks: translation - RU" into kk4.4
Merge "Base: CS Translation" into kk4.4
Merge "fix search textfield" into kk4.4
Merge "fix number picker blue line and highlight" into kk4.4
Fixed cancel() not working correctly

The method handleMessage(Message msg) from mHandler variable was
not checking if the timer was cancelled, so
sendMessageDelayed(obtainMessage(MSG), delay) was keeping the
timer alive. The patch simply adds a boolean and checks if the
CountDownTimer was cancelled before calling
sendMessageDelayed(obtainMessage(MSG), delay)

bug: https://code.google.com/p/android/issues/detail?id=58668

Change-Id: Ic6bbb9d33a3616f8503db222513cc14ad2270cb8
Signed-off-by: jl1990 <jlcarrasco1990@gmail.com>
Fix the issue that the top of fullscreen dialog is clipped away

The visibility of status bar comes from the top fullscreen window,
not from the focused window.
That has to be taken into account during the calculation of the
decor rect. You can use mTopIsFullscreen for this purpose.

Change-Id: I6159eb2ee389885cf5ab507157f9451841364d2f
fb: fix on tablets notification drawer height on custom image background

The measurment bases always on the height of the complete view. Due that we set
an image as background (does not make a difference if we do it like now with an image
view or set the background resource for the complete view) the image is calculated into
the measured height as well which leads into the problem the the panel completly opens
to the bottom.

To prevent that measure only the real content and decide based of this value how much the
rubberbands should go into action. This will be only done on devices which set a minimum
height for the drawer which indicates that we need to measure the content more exactly.

Change-Id: I9772abc8a48d5e46b5bb6e6239c0b4826115ac6a