disable camera sounds (2/3)

Change-Id: Iaa37bc6790fe32664f8b52178c14fe926ca7d4ce
Signed-off-by: sethyx <sethyx@gmail.com>
FW: New unlock logic for lockscreen

This lets you move the unlock button and still keep
the magnetic targets...

Change-Id: I4f70036836f44362bfc19ad7a3ab3fb7863ea664
SystemUI: Screenshot Toggle

onClick: Screenshot now(collpase status bar)
onLongClick: Starts 'timer' and screenshot after timer expires

PS2: Remove rebootmenu calls from PWM and add 500ms delay to allow statusbar to
         fully collapse

PS3,4: Redependcize commits
PS5: Secure Screenshot
PS6: Resolved conflicts
PS8: Respect RC delay setting & fix drawable padding
PS9: Removed to-do
PS10: collapseStatusBar() for longclick and added toast
PS11: reduce toast length to avoid capturing it. also make it translatable

Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
Change-Id: I2cebb23e530a92901319b7171c3934125568c3ab
SystemUI: Reboot Toggle

onClick: 3-way Reboot Menu
onLongClick: Reboot now

PS7:  Removed dependency on Screenshot toggle
PS9:  Removed light drawables
PS10: Add ProgressDialog to onLongClick for reboot

Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
Change-Id: Ibc601112ede88490c1dd6e5d01122e5037244150
Update Screenshot and Power toggle icons
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
Reboot dialog fixes

Reboot dialog could not show up if the PowerMenu has not been called yet.
Also respect "show reboot on Lockscreen" setting of PowerMenu.

PS2: Formatting fix

Change-Id: If544575f0716be70b6a48d32ee273de0188c47a5
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Merge branch 'jb-mr1' of git://github.com/Root-Box/frameworks_base into RootBox
Enable Pie without expanded desktop
Merge branch 'jb-mr1' of git://github.com/Root-Box/frameworks_base into
RootBox