Quick pull down and double tap to sleep gesture: Disable as default
framework: fix 'port IME selector notification toggle'

Change-Id: I7801cc9edc2341c447e2c3eafd9344216eb6c0c6
Systemui: Recents - do not add search widget on recents if widget is lost.

We have reports that sometimes under special circumstances the widget gets lost
and the view is added nevertheless

Ensure that if the widget loading fails that the id is set back to -1 to remove
the view.

Change-Id: I62f8dcea19817a243a001c80b6a4ab7b1e31a990
Recents: Port "Development shortcut" (2/2)

This patch includes the equivalent of our Development Shortcuts in
CM11 recents. Recents is very different now and this is mostly a rewrite.

The semantics changed a bit as well. The current code already has special
developer behavior when long-pressing the app icon and that is also where
the developer shortcuts are hooked. If the app icon is long-pressed and
developer shortcuts are active, a menu will be shown with the several available
options.

Fixes CML-61

Change-Id: I391a360b3dd88e179c2315503d18125f8d0b3792
Merge tag 'android-5.0.1_r1' of https://android.googlesource.com/platform/frameworks/base into L

Android 5.0.1 release 1

Conflicts:
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
Enable Notification Ticker

Signed-off-by: CallMeAldy <aldrin.holmes20@gmail.com>
SystemUI: improve brightness slider behavior

Mimic the brightness slider behavior in the statusbar.
This adds logic to make the statusbar slider also work with automatic
brightness mode enabled and it will instead adjust the temporary automatic
brightness overrride.

Change-Id: I78814a785decc83df94844fcc2f489c8cbec2b65
Signed-off-by: Roman Birg <roman@cyngn.com>
First step
First step
Merge pull request #3 from toyr99/patch-2

First step
Merge pull request #2 from toyr99/patch-1

First step
SystemUI: make clock and time clickable in statusbar

Clicking clock opens alarms, clicking the date will open the calendar.

Change-Id: I622527c1f144a8867aa543348b70a4fefe3f6403
Signed-off-by: Roman Birg <roman@cyngn.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarHeaderView.java
SystemUI: Status bar clock - fixes

This commit fixes:

- no overlapping more from status bar icons on center clock.
  The width depending on what the user has setuped (date and clock) is exactly meassured now
- do not start animations if they are not needed
- reduce settings provider calls
- a bit cleanup

Change-Id: I7a37a6ae8f9bad0f265119af05dc20cf21cd6890
[1/2] Base: Hide power menu on lockscreen

Adds an option to enable/disable power menu on lockscreen.
policy: only disable power menu on secure lock screen
Revert "Enable Notification Ticker"

This reverts commit 715a53c6c490cddfaa80f2bd055a05a536150dfa.
Frameworks: Do not allow to access quick settings on secure lockscreen - option (1/2)

We have a lot security guys as user due of using the phones as business phones...that
said a lot complains go into the direction of google how it is possible to have
access to quick settings on a secure lockscreen which is absolutely understandable
due that you are able to control Wifi BT AirplaneMode data etc.

This patch takes care on this problem and adds an option to control this behaviour.

ATTENTION: Due that this is really an UX derp for an average user this feature is
enabled by default now. User need to disable it explicit in settings to get on secure
locksreen the original android behaviour back.

PS2:
- fix derp

Change-Id: Ib437802ae8687dc8e99122a40e285bdd2df3e04c
Forward Port: Swap volume buttons when the screen is rotated by 90 or 180 degrees

Change to default behaviour not configurable due that it is now
more natural

Change-Id: I323b647066e8c73fac60067141d1add7b2f9962d
AudioManager: make swap volume buttons RTL aware

The layout of the volume panel is already RTL aware...the problem is
if it is in landscape and the buttons are swapped they go into opposite
direction then the volume panel.

So this swap should only happen on LTR languages and RTL should be left
like it is.

So both LTR and RTL have it logical.

Change-Id: Ie5fbe3085b40ad35814f53ed19736d7800dad78e
SystemUI: Status bar clock - fixes

This commit fixes:

- no overlapping more from status bar icons on center clock.
  The width depending on what the user has setuped (date and clock) is exactly meassured now
- do not start animations if they are not needed
- reduce settings provider calls
- a bit cleanup

Change-Id: I7a37a6ae8f9bad0f265119af05dc20cf21cd6890