[HWUI] Fix invisible views are still shown in popup window

Symptom: Invisible views are still shown in popup window

Root Cause: glClear isn't called if there is no draw command

Solution: Even if there is no draw command, it still calls glClear
          by startFrame().

Reproduce steps: App set one view in a popup window to invisible,
                 it will be still visible.

Change-Id: I36bc7b752434ad388fbb80ea63341ac778f48d35
[1/3] Subtle vibration when ongoing call is connected

Change-Id: Ie657ab524103810c4a3ff639e129f8d2565d869c
Merge "[1/3] Subtle vibration when ongoing call is connected" into android-4.4
Merge "[HWUI] Fix invisible views are still shown in popup window" into android-4.4
Don't allow MemoryFiles of negative length.

Prevents us from converting a (signed) jint into an
(unsigned) size_t and having horrible things happen.

Change-Id: I0f04e2eb9852ae7fc49b435fd0974f56e86751a4
Signed-off-by: houst0nn <houstonn@gmail.com>
Show package names during dexopt

ps2: Attempt to determine localized package label, and print that.
     If unavailable, print packageName

Change-Id: If9ca78fe312acd674bdcee160f914b4445d5c85f
AndroidRuntime: reduce logcat debug spam

this ought to prevent log messages similar to:
D/AndroidRuntime(12391):
D/AndroidRuntime(12391): >>>>>> AndroidRuntime START com.android.internal.os.RuntimeInit <<<<<<
D/AndroidRuntime(12391): CheckJNI is OFF

Change-Id: Ie6948daf552d138c97ade941bedb8714f03145a3
services: don't clear wallpaper when SystemUI disconnects.

When we restart SystemUI (or the user), sometimes
the wallpaper would get cleared. This patch just
captures its originating component and
if that is our SystemUI component, ignore the event.

Signed-off-by: Roman Birg <romanbirg@gmail.com>

Change-Id: Ieb22e827f02a930edb418c06d16c2733b477f995
PackageManager: Fix concurrent access to shared state

Stop multiple threads from all calling add on the same HashMap.

Cleanup the use of a boolean flag by removing concurrent writes
to it.

Change-Id: I8d61fe7294dcb67ee7d0d7de88d90d2051c310e6
ZygoteInit: increase GC threshold amount when preloading to postpone GC

Patch Set 2: Hardcode it better to 1MB.

Change-Id: I7a6e195b82ebe2f4bd5bbb506e19200d452fa3e5
Revert "Revert "Add Peek [1/2]""

This reverts commit cfc52d2cfa20bdcfead074f09515bfc18e5425b6.

Change-Id: Id748abe643bc5c0eff76435ac878b7bcfee5219a
Revert "Align text labels in all un-align tiles"

This reverts commit b4508b6d52c3f198baf6fb0fbdf431f8486b4b27.

Change-Id: Ia2dc1443121ac809d8f474d3603e130b62384e68
Merge "Revert "Align text labels in all un-align tiles"" into android-4.4
Merge "Revert "Revert "Add Peek [1/2]""" into android-4.4
Revert "Revert "PEEK: Beautify bridging layers code >>> This commit will help merkmod with hover integration""

This reverts commit 96dde6a096f64d0d991968ff8a1a993a6af99e89.

Change-Id: I58ac6694e4b7e0b63cec82d11ad8e44b2b6e4e90
Revert "Revert "PEEK: Sensors improvements""

This reverts commit 588f8351ad3dee3ddd7ac49959e80a768e83a4a6.

Change-Id: I83c62a8bd8bb4a6385faf2b540e20e3994074d76
Revert "Revert "NotificationHelper: We shouldn't use logical here, one case is enough no matter the order""

This reverts commit 7274b09301c5090f14ee2af7d345e97f764c8ae9.

Change-Id: Ibb58f66a7059ca92a44852d0e9d80ace2808cf7a
Revert "Revert "NotificationHelper: Create broadcast receiver for Peek app""

This reverts commit 198b7248d8a73c7761dc0bb1e381cfa06c237d72.

Change-Id: Ib9432fa9daf256cc13a1e752189d0b212bd26ab8
Revert "Revert "NotificationHelper: Define Peek app broadcast intents""

This reverts commit 7eba0e1c0cdf4d3e58d2221f00e6c0effc8ed412.

Change-Id: Ie278a3b9486d4b674d73ccf65f429d0c35d4055d
Revert "Revert "[1/2] Add support for Peek app""

This reverts commit a7da8c741c4eea5527865bbf89b580d851a2647b.

Change-Id: I1a9f295aa8932d62f5d2ff38e16ccd918fcccd74