[1/2] Base: Hide power menu on lockscreen

Adds an option to enable/disable power menu on lockscreen.

Conflicts:
	core/java/android/provider/Settings.java

(cherry picked from commit 2a9227f4a356feb67a3e66c51785e40e1a759c41)

(cherry picked from commit b4050466647787541f5dc2f9c07ed813a419ffd3)

(cherry picked from commit be9f39ba2a192d9fd45df5c62c958424b2e723ac)
policy: only disable power menu on secure lock screen

(cherry picked from commit 00309fe04647da7b178f1616f5faff47cde08465)

(cherry picked from commit cf90faeddee1fcadc271e56a3eb9700008ca8669)

(cherry picked from commit ebd34d227eb04389b496719f6bf307c12cbca2d2)
Hang off call by power button while screen is on

Enable power button end call and screen is off.  User use power button
to turn on screen will end call.  Should turn on screen and not end call

Change-Id: Idf34f7724dbf1796205332c5c7ef663102f8a30c
Signed-off-by: shower <shower929@gmail.com>

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java

(cherry picked from commit 57f689809f85dc1646cf95d09d04dad044ade4dd)

(cherry picked from commit 4583575544bbbe9835577e3a668fd90c7ceb5527)

(cherry picked from commit acd3a28bc4d191f7712817cc2a92e557b750d121)
SystemUI: Ensure that the Clock is actually enabled in IconMerger

to device if we need to calculate

Change-Id: If12b0e26b32f044f1a82cf8b539283194d1d0b4c

(cherry picked from commit 39ca2c030c79d0c14740eb1ec496934a68b99983)

(cherry picked from commit 480e3f012e2e6f71c061a8798083ea7565a68c5c)

(cherry picked from commit 06d9183a0c20c0644c0f2036967398d1a732f894)
Update the ADB status bar icon

Change-Id: I35a52f9a438013d37e1f6739dc8fcc2527203ecf

(cherry picked from commit 6f4a2df11fe2d3ce98944141fffb59437cbb1ab2)

(cherry picked from commit e0272180c400a73a5e15b95eaca381a33379bdac)

(cherry picked from commit aff08e4ffa8bd6e8230dae2e5c0f42d261c2d2fc)
Framework: StatusBar Ticker (1/2)

Change-Id: I6135297792c7b42172e08e14acd37b252cb00102
(cherry picked from commit aca015cf0e0941d4c7ed54ab89fd072d4811fd8f)

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

(cherry picked from commit 7e03f535354ea27597cb0b9ba0f983aaedec4827)
Fix lockscreen selection view in landscape mode.

Added a dimen-value for selector in landscape-layout to fit screen. Issue is described here:
https://github.com/LegacyXperia/local_manifests/issues/677

Change-Id: I9501c91fed2660e947f1eae617f9a31d95766ed8

(cherry picked from commit 6aa902789b46b9f1437f71416c94b9de6a0bbc2e)

(cherry picked from commit 87831e60207b118abcdf0c1d9375708ab002a5ac)
Forward Port: Volume button seek on screen off [1/2]

PS : Fix the short press event type

Change-Id: Id55a1240a133b5144502fced862bae040b390662
(cherry picked from commit bac94d0dd1e6bb537f865ede19debc20ebcb8b09)

Conflicts:
	core/java/android/provider/Settings.java

(cherry picked from commit aa3a1bf7366f7881b5667a55f10385c30de93a9b)