Update getBoolean functions with multi-user support
frameworks/base: add SmartCover support

config part:

https://gerrit.nameless-rom.org/#/c/7597/

Change-Id: I1e196eeffd0b83d7445c2394648649939b67c6f4

Conflicts:
	packages/Keyguard/res/values-af/cm_strings.xml
	packages/Keyguard/res/values-ar/cm_strings.xml
	packages/Keyguard/res/values-ca/cm_strings.xml
	packages/Keyguard/res/values-cs/cm_strings.xml
	packages/Keyguard/res/values-da/cm_strings.xml
	packages/Keyguard/res/values-de/cm_strings.xml
	packages/Keyguard/res/values-el/cm_strings.xml
	packages/Keyguard/res/values-es-rXA/cm_strings.xml
	packages/Keyguard/res/values-es/cm_strings.xml
	packages/Keyguard/res/values-et/cm_strings.xml
	packages/Keyguard/res/values-fi/cm_strings.xml
	packages/Keyguard/res/values-fr/cm_strings.xml
	packages/Keyguard/res/values-hu/cm_strings.xml
	packages/Keyguard/res/values-in/cm_strings.xml
	packages/Keyguard/res/values-it/cm_strings.xml
	packages/Keyguard/res/values-iw/cm_strings.xml
	packages/Keyguard/res/values-ja/cm_strings.xml
	packages/Keyguard/res/values-ku/cm_strings.xml
	packages/Keyguard/res/values-lt/cm_strings.xml
	packages/Keyguard/res/values-nb/cm_strings.xml
	packages/Keyguard/res/values-nl/cm_strings.xml
	packages/Keyguard/res/values-pl/cm_strings.xml
	packages/Keyguard/res/values-pt-rBR/cm_strings.xml
	packages/Keyguard/res/values-pt-rPT/cm_strings.xml
	packages/Keyguard/res/values-ro/cm_strings.xml
	packages/Keyguard/res/values-ru/cm_strings.xml
	packages/Keyguard/res/values-si/cm_strings.xml
	packages/Keyguard/res/values-sk/cm_strings.xml
	packages/Keyguard/res/values-sr/cm_strings.xml
	packages/Keyguard/res/values-sv/cm_strings.xml
	packages/Keyguard/res/values-th/cm_strings.xml
	packages/Keyguard/res/values-tr/cm_strings.xml
	packages/Keyguard/res/values-uk/cm_strings.xml
	packages/Keyguard/res/values-zh-rCN/cm_strings.xml
	packages/Keyguard/res/values-zh-rHK/cm_strings.xml
	packages/Keyguard/res/values-zh-rTW/cm_strings.xml
	packages/Keyguard/res/values/cm_strings.xml
	packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitorCallback.java
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
	packages/Keyguard/src/com/android/keyguard/KeyguardViewMediator.java
Smart Cover: make the weather awesome

1) change the imageview to a textview
2) load our custom typeface and apply it to the textview
3) query our provider for the condition, which is a XML code
4) apply the xml code to the textview, which transforms into a beautiful
   reflection of the current weather condition
5) call it magic

Change-Id: I9079606cbfae3f26ab9722427ea855be0e605fcc

Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardSmartCoverView.java
Smart Cover: update appearance

move battery and weather icons to the top right
this frees some space on the bottom and matches smaller smart covers better

Change-Id: Ic77e08b1ef0d8b1e4a8b91f73742d6548cad88a5
smart cover: reduce space on top

Change-Id: Id0461c07714d9e50a8be8dbefcfe06393fb0317a
smart cover: change left and right padding of the content

Change-Id: Ib76a3fa62bf020448faed722c17efe5939045643
smart cover: reduce textsize of the clock and status lines to fit better

Change-Id: Ifca8364e1b76c88484c4197ee590f5923061ab77
(1/2) Base: allow to disable smartcover

Change-Id: I830928794fdfc1c42acc381458603b3554b94155

Conflicts:
	core/java/android/provider/Settings.java
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
policy: respect FLAG_TURN_SCREEN_ON flag with device flip covers

If an application uses WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON
and the device supports covers and the cover is closed, then after the
screen would turn on due to this flag, it would immediately be turned off
because PhoneWindowManager thinks the cover is closed, so it puts the device to
sleep.

Respect this flag and do nothing if it is detected.

Change-Id: I7eb36ce676730e47c551518e214b08561c401ea5
Signed-off-by: Roman Birg <roman@cyngn.com>
(1/2) Frameworks: allow to enable / disable smart covers

Change-Id: I83d96696fefedc19fc3bce7265a4fcf2d4c894bc

Conflicts:
	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
update smart cover for RTL

Change-Id: Ic25b86446880b74c4f3da58b245c8d53cfa582d4