LockscreenTargets : Dismiss on target select

Only dismiss prior to activity launch for lockscreen shortcuts,
camera and appwidget picker remain untouched.

Change-Id: I2770c628ce0708570aa6ea0eac9e3cd1d82287fb
Fix pie controls being disabled by launcher gestures.

Some launchers have gestures for expanding/collapsing the status bar
from swipe gestures which call the respective StatusBarService methods
even if the status bar isn't visible due to expanded desktop. Because of
that, the status bar code internally thinks the expansion is carried out
(even if invisible), thus disabling the bottom pie controls in the
process.
Fix that by making PhoneStatusBar aware of it being hidden by expanded
desktop and ignoring the expand call in that case.

Change-Id: If386ca953517d9b5efcb6cb9054f5c5e6a9e0bc4
Merge "Fix pie controls being disabled by launcher gestures." into cm-10.1
Merge "LockscreenTargets : Dismiss on target select" into cm-10.1
Merge branch 'cyanogenmod' into cm-10.1

Signed-off-by: Humberto Borba <humberos@gmail.com>
Allow menu on xlarge devices, set defaults for button presses

Change-Id: Ia6a6ccf4a85366d1c45a45e635ead8a0d412e547
Merge remote-tracking branch 'sgt7/cm-10.1' into cm-10.1
Allow for expanding notification or settings panel with hidden statusbar

Change-Id: I9b2eb8afbc500b429a40b6a99c01465489c3196f
Pie trigger distance options

Change-Id: If6e9d564d1bc001fc7357ea3f9e87cddf2648c22
Afrikaans translations: Added missing items

Change-Id: Idb4c87e375ca0b8e49135245c1f31a1c7e3a2fb6
Remove opaque check in GLRenderer when preparing dirty region.

Since preserved swap is enabled, we need to clear the color buffer
when the scissor rect is prepared for a new process. This prevents
garbage to be present from the previous process in the color buffer.

CRs-Fixed: 391492, 403067, 405916

Change-Id: I1f72a3dee2f5d58a984f4cd367c9f7bf08ab9d6a

Conflicts:

	libs/hwui/OpenGLRenderer.cpp

[PATCH] Remove opaque check in preparing dirty region

Since preserved swap is enabled, we need to clear the color buffer
when the scissor rect is prepared for a new rocess. This prevents
garbage to be present from the previous process in the color buffer.

(cherry picked from commit 2b5e584e2615852b68a69bb529c6926190246b64)

Change-Id: I92a4fa35e0746f12fcd736e21fd30d9c4b644a8a
CRs-Fixed: 391492, 403067, 405916

Conflicts:

	libs/hwui/OpenGLRenderer.cpp

Enable scissor when preparing dirty rect that is opaque

Now enabling scissor before setting it in the opaque case, previously was not doing so.

Change-Id: I1ea904cf01603096e423556090564291ab712d36
CRs-Fixed: 465346
Depends-on: 278453
Tighten enforcement of file modes.

Bug: 8275867
Change-Id: I4da14f2dd0049aca69636999696c1f3c02b3b792
Merge "Afrikaans translations: Added missing items" into cm-10.1
Merge branch 'cyanogenmod' into cm-10.1

Signed-off-by: Humberto Borba <humberos@gmail.com>
Merge branch 'sgt7' into CM10.1