Suppress String resources build warnings

warnings suppressed are:
aapt: warning: **** string '%s' has no default or required localization for
aapt: warning: string '%s' has no default translation in

Patch Set 2: move ifdef and only suppress warnings for packages that
             define NO_DEFAULT_TRANSLATION_WARNINGS and/or
             NO_LOCALIZATION_WARNING

Patch Set 3: by default do not show warnings unless
             SHOW_DEFAULT_TRANSLATION_WARNINGS and/or
             SHOW_LOCALIZATION_WARNINGS

Change-Id: I50ef2a623959a1cc53053b446328df8e34cc99e8
BatteryService: fix FC on boot until battery stat is present

updateLightsLocked() can be called from CM's added SettingsObserver
when battery stat is not present, causing an FC and a loop until
battery stat is present.

I/SystemServer(  502): Battery Service
E/System  (  502): ******************************************
E/System  (  502): ************ Failure starting core service
E/System  (  502): java.lang.NullPointerException
E/System  (  502): 	at com.android.server.BatteryService$Led.updateLightsLocked(BatteryService.java:735)
E/System  (  502): 	at com.android.server.BatteryService.updateLedPulse(BatteryService.java:709)
E/System  (  502): 	at com.android.server.BatteryService.access$1600(BatteryService.java:86)
E/System  (  502): 	at com.android.server.BatteryService$SettingsObserver.update(BatteryService.java:860)
E/System  (  502): 	at com.android.server.BatteryService$SettingsObserver.observe(BatteryService.java:822)
E/System  (  502): 	at com.android.server.BatteryService.<init>(BatteryService.java:187)
E/System  (  502): 	at com.android.server.ServerThread.initAndLoop(SystemServer.java:328)
E/System  (  502): 	at com.android.server.SystemServer.main(SystemServer.java:1309)
E/System  (  502): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/System  (  502): 	at java.lang.reflect.Method.invoke(Method.java:515)
E/System  (  502): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
E/System  (  502): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/System  (  502): 	at dalvik.system.NativeStart.main(Native Method)

Change-Id: Ic4438fe50e98f1aa05ae1d0d26240bf9410fd92f
Base: Cleanup translations to get rid of compiler warnings

Squashed of 4 commits by kufikugel:

commit 1612533cffda5b3c3d76c4daa1c3d9938391da2a
Author: Lars Greiss <kufikugel@googlemail.com>
Date:   Wed Dec 11 18:57:28 2013 +0100

    DocumentsUI: google please cleanup your translations....DocumentsUI cleanup

    it is really at the moment a nightmare to see compile errors when
    getting 100000 of warnings. Whatever we removed already on some
    packages the warnings....but still a lot are there

    Change-Id: I51682d5b74f76cb5e14d0a51d7694ee7235236be

commit 36b4bf5727947b3b1a93298e32c85d95c36b8080
Author: Lars Greiss <kufikugel@googlemail.com>
Date:   Wed Dec 11 18:48:34 2013 +0100

    Keyguard: google please cleanup your translations....Keyguard cleanup

    it is really at the moment a nightmare to see compile errors when
    getting 100000 of warnings. Whatever we removed already on some
    packages the warnings....

    this package is the best.......nearly every language has left
    overs where not one string is used at all and one string
    which is used does not exist in system language

    whatever remove and add it like it should

    we are now warning free

    Change-Id: I06a3a3d15560aa04abd8c6c4981ac12c6dbc0c90

commit 3cd5da20b444731251c84ad4bd8422d03d76f28c
Author: Lars Greiss <kufikugel@googlemail.com>
Date:   Wed Dec 11 17:54:47 2013 +0100

    fb: google please cleanup your translations....fb cleanup

    it is really at the moment a nightmare to see compile errors when
    getting 100000 of warnings. Whatever we removed already on some
    packages the warnings....but still a lot are there

    Change-Id: I1cc3abee5b4820d9c56b89056f1ea7e4d798947b

commit 2454e3718c7cb32fa700d1ac2b6afc2383dec1f4
Author: Lars Greiss <kufikugel@googlemail.com>
Date:   Wed Dec 11 00:30:54 2013 +0100

    fb: google please cleanup your translations.....systemUI cleanup

    it is really at the moment a nightmare to see compile errors when
    getting 100000 of warnings. Whatever we removed already on some
    packages the warnings....but still a lot are there

    This commit cleans up SystemUI

    Change-Id: I4e246e1cfc13bb18eb75624510e53731821ff553

Change-Id: I5f2bcd7f4a1acb7a28643c1c1203a886db10cc92
keyguard: fix layout for sw320dp devices

800x480px dpi devices have less screen space than the xhdpi devices
Google designed the layout for and the layout needs adjustment.

- Reduce the lockscreen security container size such that the clock
  widget has enough space to display its content.
- In the SIM PIN/PUK view, Google put an empty widget on top, but
  we don't have space for that, increase its size such that the
  widget practically disappears.

This should not have any effect on devices with larger screens.

Ported from cm-10.2.
* Removed invalid mdpi layout leftover from framework-res
* Fix keyguard for mdpi devices too

Change-Id: I9e811cfd312abae24a9cad189d19e73848f6c4c1
Improve AOSP Download/Upload animation

This increases the number of png required for a full download/upload animation cycle.
These new png makes the animations much smoother.

Change-Id: I7120d757782e797809bc97747127c6a0cc36f2fe
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>
[1/2] Base: Navigation bar height/width

All credits to SlimRoms / kufikugel

Change-Id: I97af1fbd5a2e7df2337abc6c825b4905f576a48b
[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/

Change-Id: I5bcdd53e8344e8ce137088544a4a3964655c53af

Conflicts:

	packages/SystemUI/res/values/custom_strings.xml
[1/3]Base: QuickSettings (SlimBean)

Builds fine.
Settings part coming soon.

Change-Id: Ibab1c953515a3e956cdf3b6f8913e84ece7bc549
PhoneWindowManager: fix navbar behavior in expanded mode after 4.4.2 merge.

Change-Id: I00f814db6c3800b8eb1cf20004ecdfb8d1ee7036
fw/base: update volume control to white to match 4.4 icons

PS3:updated drawables.  Screenshot: http://bit.ly/19vZLCO

Change-Id: Ib30b796d1aeccaa32d5223d36aed6e18a2dc1062
Signed-off-by: Aaron Klein <aaklein@gmail.com>
[1/2] SystemUI: Pull down QS if x > 70% width

Added Settings

Change-Id: Ic41d331e8f0166484b124e91a8ed8e904ff38edb

Conflicts:

	core/java/android/provider/Settings.java
Change Quick Pulldown from 70-85%

Change-Id: I9d6c291a5d16460fe5353fe60c5c78045bb26e96
[1/3] base: added offscreen gesture support

Currently only oppo devices support this
To enable use overlay
    <bool name="config_offscreenGestureSupport">true</bool>

Offscreen gestures are gestures drawn on the screen
when off. Oppo supports the following gestures
V, circle, II, <, >, double tap

The default mapping form oppo are
V - toggle torch
circle - start camera
II - play/pause musiv
> - next track
< - previous track

This gestures are reported as keys F3,F4,F5,F6,F7,F8

This change also switches to the oppo dt2w implementation
in kernel.

This also adds the base support for volume key music track
control since this is sharing the same code

PS2
fixed broken volume wake

PS3
use sendBroadcastAsUser

PS4
also log key scan code

Change-Id: I89914d7ecc25dd1e13e60793233ee0db8dd1feed
Framework: Forward port Long press back to kill app (2/2)

Change-Id: I31bea866efe31511b1c7648ea1896a6c89454648

Conflicts:

	core/java/android/provider/Settings.java
	core/res/res/values/symbols.xml