Cleanup and improve ringer tile code.

Handle absence of vibrator properly by excluding the respective modes
from the selection in that case.

Change-Id: I63d1fc06cbbcadadff51866b929dde453f4eb4bd
MediaRecorder: add pause interface

--add pause in java level
--add pause in jni level

Change-Id: I7f2d5d5ebb97716458b55a5780fd6cc3d09e9f11
Frameworks : Fix face detection

I337a7a2e8b124aac76f52abcc0edd8af9b0b0e29 introduced
the ifdef's at the wrong location. This patchset addresses it.

Change-Id: I6b19fb96076bdc62b2ca57d1ccaf97f0cb901d67
Active display: Make GlowPadView center the current notification icon for us

sudo makemeasandwich

ps2: make scaling both smarter and stupider SIMULTANEOUSLY

Change-Id: I582f387fd3c1c83f2bbd0d31a4b43e22d1b82d63
Signed-off-by: nuclearmistake <nuclearmistake@gmail.com>
ActiveDisplay: Force FULLSCREEN flag

* ActiveDisplay (AD) isn't as appealing when transparent navbar shows.
  Force FULLSCREEN and hide all decorations

Change-Id: Ib8e2bfffcf7cdb9f1dffe084cad7ee70e7722a50
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
DeviceKeyHandler : Allow handling keyevents while screen off

Some devices require the keyevents to be processed while the screen
is off, this patchset addresses that by moving the filter up in the call
hierarchy.

Change-Id: If71beecc81aa5e453dcd08aba72b7bea5c210590
Fix removal of dock battery views in PhoneStatusBar

removeView is not recursive. Find and remove the dock views from their
direct parent. Fixes inconsistent paddings/margins with the wi-fi
indicator on tablets.

Change-Id: I56745059aaf84b1e52b6a4fd8806481beae0daff
Fix misspelled comment

Change-Id: Id13737b3a40eeee70ec0816aebe551d34ce89691
Merge "Correcting NULL pointer when callerApp is not set" into cm-10.2
Active Display: Force portrait orientation

Change-Id: I5047444b9b0ef4278375cb07d28fbf476f2e386e
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Active Display: Force fullscreen

* ActiveDisplay (AD) isn't as appealing when transparent navbar shows.
  Force FULLSCREEN and hide all decorations

Change-Id: Iddce1a6143044d73492c32501295cbf1fc8b6500
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Active Display: Catch possible NPE during handleDismissNotification()

* AD doesn't register if notification has been cleared on different device
  (computer) so catch the NPE that would ensue

Change-Id: Ibdb7f526d2c709ebf7a888de717247b7a6114e3e
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
Active Display: send unlock broadcast

This will unregister the receiver and fix the memory leak.

Change-Id: Ib99c27c6ad57eaf14d7e9f1adf2a651133ed2503
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Correct padding for status bar icons

4dp is used in AOSP.

Change-Id: I7f97cb9feabe267c67722d600d0891ab2ce1a907
qs: Add torch and GPS tiles by default if supported

 * New configuration variable config_enableTorch has been moved from
   the settings app that devices should overlay onto.

Change-Id: I2e4cb81390548cf055eae2836280fe9bdc65f0b0

Conflicts:
	core/java/com/android/internal/util/cm/QSUtils.java
	core/res/res/values/config.xml
	core/res/res/values/symbols.xml
QCFace: Fix package path

Change-Id: I8282331003d0494bd5620cfb6e91f2dcfa708d30
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Support GESTURE_SENSOR input device type with GestureService

* The GESTURE_SENSOR input device type is meant to support touch sensors
  which are meant for gesture input only, very similar to a touchpad,
  but without the pointer capability.
* Define separate service to handle gestures from GESTURE_SENSOR device
  type.

Change-Id: I9b273df2a3cc141774d7f7cd81e43a90ea5b230b

Conflicts:
	Android.mk
	services/java/com/android/server/SystemServer.java
Merge remote-tracking branch 'upstream/cr-main-10.2' into cm-10.2