[1/3] Base: QuietHours: allow disable system sound

taken from slimroms

https://gerrit.slimroms.net/#/c/12180/

Allow to disable :
1. DialPad tone
2. touch sounds
3. screen lock sound
4. volume adjust sound
5. dock sound

in quiethour time

Change-Id: I2a1a7949ac6bdc48376980fac8ad2ae2c90fdfc9
base: fix NPE in percent battery onDraw on boot

Change-Id: Ia1e16681730538ebb56a0fe8a0b49dc3174be2e7
Merge "[1/3] Base: QuietHours: allow disable system sound" into android-4.4
base: add support for using the flip switch to turn off the screen

Allow the flip cover to turn off screen when closed, turn on screen when opened.

See also https://gerrit.omnirom.org/#/c/8871/ for device implementation.

Change-Id: I3457af831bf5e9cd2d49efda52fb5961fee5d68f
Merge "base: add support for using the flip switch to turn off the screen" into android-4.4
base: wake screen for torch gesture and start torch app

requires https://gerrit.omnirom.org/9004

Change-Id: I194f00c7f7d9c9e881761971e7b2b535172e6164
base: add support for timelapse qualities for 4k sizes

Fix check in MediaRecorder to include all timelapse profiles

Change-Id: I32b00c5d05da0b1e440e9b0f50d0981e6afaf648
Merge "base: add support for timelapse qualities for 4k sizes" into android-4.4
Merge "base: wake screen for torch gesture and start torch app" into android-4.4
base: add roaming for Lycamobile USA

LycaMobile USA (MCC-311 MNC-96) can roam on T-Mobile USA (MCC-310 MNC-26)

http://jira.omnirom.org/browse/OMNI-1086

Change-Id: Ie9201cb7bb9efc4e455f1009a7c9a84336f3a8ad
Merge remote-tracking branch 'omni/android-4.4' into android-4.4