Fix listview animations (again :p)

(cherry picked from commit adb748f9ac5b750d4e3a45c9b5becae3b36594b8)
base: remove extra checks

p and p.applicationInfo are always != null (they are checked previously), so below checks
are unnecessaries

Change-Id: I155506512fe8b307f12408bbf3066c07a3504506
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>

Patchset: 1
http://review.cyanogenmod.org/#/c/65453/
(cherry picked from commit edc702973392f85cc1894949d52d705fe0766561)
MtpDatabase JNI: Fixed a memory-leak in getObjectPropertyValue().

The jstring "stringValue" was not never freed.
In the case where "str" was NULL the whole cleanup part (see "goto out")
was even skipped.
This patch makes getObjectPropertyValue() behave like
getObjectPropertyList().

Change-Id: I5a7ec3611036f5253a054b00064999bcd1d1c29e

Patchset: 1
http://review.cyanogenmod.org/#/c/65442/
(cherry picked from commit f4d2ff31e640cf2f0eb1c0f2216e71348f10fa36)
[1/2] Keyguard: Add unlock icons for Gmail and Snapchat

Change-Id: I3e3df643eec4d02a20855a53b6fd4f8b59fb0ede
(cherry picked from commit 663d0ddfb0ae50bb8dd9745f94eeb3b3098260de)
Correct stride for drawing to cached glyph bitmap

fixes the glyph cachebuffer index to account for pixelbuffer
format size.

issue: in launcher home screen create icon group and rename the
group to some text string with emo-icons (smilies). without this
change the drop shadows for emo-icons will look bad.

Change-Id: I525a9219d35f4541363fd64e7fc5fd1053269725
Signed-off-by: Digish Pandya <digishp@codeaurora.org>
(cherry picked from commit d29f3898cf0b8a4ab6b49af425d68f6c9b805014)
Use alpha channel instead of red in drawCachedGlyphBitmap

the correct value to copy in bitmap is alpha component from
the cachebuffer. currently it is offset to red channel if format is
RGBA which is wrong.

this is followup fix for https://android-review.googlesource.com/#/c/93943/

Change-Id: I96b5ba35df5ccaef44caf2542d35d6585ba1df80
Signed-off-by: Digish Pandya <digishp@codeaurora.org>
(cherry picked from commit 9e50ce2f161083eb9223f0f4d21330370d7dbc4d)
reduce cookie tracking (3/4): add a way to count cookies

Change-Id: Ibc1c8d3160a89de51531a89c5103b47ba2c2c649
(cherry picked from commit 03e87e083a9607de2a9c78815f370d5f6f4a8700)
Merge branch 'qcril' of git://github.com/CyanogenMod/android_frameworks_base into cm-11.0

(cherry picked from commit f620ef1e1281957b045b07ce14c5cb83b5a216e9)
appops: do not prune apps that are not present

Do not prune apps that are not currently present in the device (like sdcards ones). During
booting sdcards are not available but must not be purge from appops, because they are still
present in the android app database.
JIRA: CYAN-2811
Issue: https://jira.cyanogenmod.org/browse/CYAN-2811

Change-Id: I6680cbdf0022812b45d966dffee754399e92accb
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
(cherry picked from commit ac92144cf0f17d0ff10fc51b6fe21fbe02770e16)