Frameworks/base: FR translation

Change-Id: I3f08f85d275da71e944fd2b44715832db032c9e3
Fix the screen-off animation ignoring value set in ro.sf.hwrotation

Change-Id: Ib0729440cc76a604ff400cb9c4e8da3350b7d214
Base: CS Translation

Change-Id: I3fe100cc3d215e425c41dea7ba7f14c6f40677d5
base: fixed default values for QS_QUICK_PULLDOWN and QS_SMART_PULLDOWN

guys: please take more care about this in the future!
The default value used in settings must be the same as
where it is used. Else its can be totally confusing
why the settings dont show what is really used
until first changed

Change-Id: I4ad986dd86357c69555c4efda03e5f759ee6f482
Added sahlnaskh arabic font and give it higher precedence than DroidNaskh

sahlnaskh font is a fork of DroidNaskh font with some issues fixed.
Details of fixes are in https://github.com/khaledhosny/sahl-naskh

This should fix Jira issue: http://jira.omnirom.org/browse/OMNI-307

Change-Id: I95d118b889fb5e32e66e3a634c147274205f6631
Merge "base: fixed default values for QS_QUICK_PULLDOWN and QS_SMART_PULLDOWN" into android-4.4
Merge "Fix the screen-off animation ignoring value set in ro.sf.hwrotation" into android-4.4
Merge "Base: CS Translation" into android-4.4
Merge "Frameworks/base: FR translation" into android-4.4
SystemUI: Add RECORD_AUDIO permission

Change-Id: I5af3cbe31f182c8b5cf1633aaf8a16db2856a425
Merge "SystemUI: Add RECORD_AUDIO permission" into android-4.4
[1/3] Base: Add MobileNetwork Flip Tile

base from

https://gerrit.paranoidandroid.co/457

with moarr changes to OmniRom

toggle Network Flip Tile

for device support 4G (GSM)
toggle will change into 2G only => 3G only => 2G/3G auto => 2G/3G pref => 4G lte => back to 2G only

for device support 4G (CDMA)
toggle will change into cdma/evdo => cdma only => 4G lte => back to cdma/evdo

for device unsupport 4G (GSM)
toggle will change into 2G only => 3G only => 2G/3G auto => 2G/3G pref => back to 2G only

for device unsupport 4G (CDMA)
toogle will change into cdma/evdo => cdma only => back to cdma/evdo

4G toggle requires that at least one (1) of the following configs
must be present in the device's build.prop in order to use it:
telephony.lteOnCdmaDevice=1
telephony.lteOnGsmDevice=1

Change-Id: I7183dddeab7b4bdd4562015dd3958f3b069039e4
base: added NPE check for lockscreen see through and mPowerRequest

java.lang.NullPointerException
at com.android.server.power.DisplayPowerController.updateButtonLight(DisplayPowerController.java:1727)
at com.android.server.power.DisplayPowerController.setButtonTimout(DisplayPowerController.java:1796)
at com.android.server.power.PowerManagerService.updateUserActivitySummaryLocked(PowerManagerService.java:1404)

F/SystemServer(  711): BOOT FAILURE making Power Manager Service ready
F/SystemServer(  711): java.lang.NullPointerException
F/SystemServer(  711): 	at com.android.server.power.DisplayPowerController.requestPowerState(DisplayPowerController.java:786)
F/SystemServer(  711): 	at com.android.server.power.PowerManagerService.updateDisplayPowerStateLocked(PowerManagerService.java:1750)
F/SystemServer(  711): 	at com.android.server.power.PowerManagerService.updatePowerStateLocked(PowerManagerService.java:1193)

Change-Id: I4fba4a30ede28627e01e0ce4656a4d0d37f5bfd1
[1/2] Base: NavigationBar customization

Includes:

- Allows user to customize navigation bar.
  Features :
   - Choose from 1-6 # of buttons
   - Re-arrange / assign buttons
  Id: Idc9f5f401f15d207504e49de47666bb5510a06ca

- Navbar : Rework logic for determining orientation
  This patch introduces better checks for hybrid ui's.
  This should fix issues of small buttons due to incorrect ui determination
  Thanks Rolf Arne Schulze for testing :)
  Id: If5b61dc4764a98deedb5b801d11451fed2488cba

- Make navigation bar ready for per-user configuration.
  Also clean it up a bit.
  Id: Ic10bd161fce53bf30048a0cb927dcf1e2bfa7774

- Fix layout on N10
- Remove uncessary padding and logic
- Phone fixes
- Phone padding fixes

PS6: Added RTL support (http://review.cyanogenmod.org/#/c/55059/)
PS7: Navbar: Fix MDPI & HDPI landscape layout (http://review.cyanogenmod.org/#/c/56098/)

OmniGears part: https://gerrit.omnirom.org/#/c/3156/

Conflicts:
	core/java/android/provider/Settings.java
	packages/SystemUI/res/values/custom_strings.xml

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java

Change-Id: I5bcdd53e8344e8ce137088544a4a3964655c53af
SystemUI: Add missing sound permissions for screen recording

Change-Id: If948aabfd5c2e09f192f12aa02830d39346d2c6c
Merge "SystemUI: Add missing sound permissions for screen recording" into android-4.4
services: don't clear wallpaper when SystemUI
disconnects.

When we restart SystemUI (or the user), sometimes
the wallpaper would get cleared. This patch just
captures its originating component and
if that is our SystemUI component, ignore the event.

Change-Id: I3e159dc2c013e7d7e552e3c0cef55e3ab970ca87
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Change Quick Pulldown from 70-85%

Change-Id: I9d6c291a5d16460fe5353fe60c5c78045bb26e96
avoid crash if hardware accel fail

Change-Id: If259bdb16d6fc248cb2152d42e6dfc60948df7dc
[1/2] Base: Navigation bar height/width

All credits to SlimRoms / kufikugel

Change-Id: I97af1fbd5a2e7df2337abc6c825b4905f576a48b