Import translations from crowdin.net

Change-Id: I09ddb55ef89e05e53ff953e27a24740ca3f9b54d
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
SystemUI: fix navigation bar vibration behavior

GlowPadView was vibrating on touch, so there was
an unwanted behavior of the phone vibrating any time
the navigation bar was touched anywhere on an empty
space.

This patch disables the GlowPadView vibration, and
implements its own vibration logic.

Change-Id: Ib78ee94701e889bde9527e3c68f79b8c16623005
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Merge "SystemUI: fix navigation bar vibration behavior" into kitkat
Add date to statusbar [1/2]

Change-Id: I1f21effd80ea49c118345914241b800d0f46fac8
Signed-off-by: kecinzer <kecinzer@gmail.com>
Augment SELinuxMMAC functionality.

* No longer support a package name stanza outside of
  a signature tag. Package names, by themselves, have
  no security associated with them in Android and thus we
  should not be allowing or encouraging this
  type of policy.

* Allow for nested package name stanzas inside
  signature stanzas. There are cases where a finer
  distinction needs to be made among apps signed with
  the same cert. New code allows a different seinfo
  tag to be assigned to the listed package names
  signed by the parent cert. When a determination needs
  to be made concerning seinfo assignments, the inner
  seinfo tag takes precedence over the outer seinfo
  labels which are assigned to just the signature.

* Temp structures are now used to parse new policy files
  until the entire xml file is parsed and deemed correct,
  at which time the temp structures are copied over to the
  permanent class structures. This ensures that any structural
  errors with the policy will not result in partial loads.

* Valid stanzas look like the following with the inner
  package piece being optional.

   <signer signature="">
     <seinfo value=""/>
     <package name="">
       <seinfo value=""/>
     </package>
   <signer>

   <default>
     <seinfo value=""/>
   </default>

Change-Id: Ia204d71211776dcf9b2dcc86ad6d77c4ad39dc25
Allow PMS to restorecon directories under /data.

This change applies a relabel to both /data/data and
/data/user directories on boot. Not every boot will
apply this relabeling however. The appropriate
seapp_contexts is hashed and compared to
/data/system/seapp_hash to decide if the relabel
should occur.

Change-Id: I05e8b438950ddb908e46c9168ea6ee601e6d674f
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
Convert all selinux_android_restorecon and _setfilecon calls to new API.

libselinux selinux_android_restorecon API is changing to the more
general interface with flags and dropping the older variants.

Also get rid of the old, no longer used selinux_android_setfilecon API
and rename selinux_android_setfilecon2 to it as it is the only API in use.

Change-Id: I1e71ec398ccdc24cac4ec76f1b858d0f680f4925
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Improve recents kill all buttons behaviour

Adding programicaly set of margin for devices without HW keys.
Also changed UI behaviour to respect stock look.
Moved RAMBAR based on new UI behaviour.

PS7: Changed ImageView into ImageButton
PS8: Remove ugly background around icon
PS12: Increased RAMBAR padding to fit new layout
PS13: Little cleanup + change tablet detection logic (from RC)

Change-Id: Ifd91e8a14d5f7eaaa05bc4958820b97ac6bf2e9c
Signed-off-by: kecinzer <kecinzer@gmail.com>
Don't register methods when there's nothing to register.

Change-Id: I6d0233f79bb90089426d702b4076ec5750e82475
Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON

This is a small fix to the showWallpaper method, in which a power
consumption problem has been introduced. This showWallpaper method
toggles the window flag FLAG_SHOW_WALLPAPER, when album art is being
shown in Lockscreen. It is important to set pixel format to
PixelFormat.OPAQUE if flag FLAG_SHOW_WALLPAPER is not being set.

If not, an application that uses window flag FLAG_KEEP_SCREEN_ON
will prevent the keyguard from going to sleep and drain battery.

Change-Id: I1808be28047977ae5ac4dd1168ea25cac8a55a78
Get rid of noise during boot.

This log is not an error, it is a warning, don't spam a stack
crawl when it happens.

Change-Id: I6038e3625cc0c16af9e54887b5e7ec451d9f864d
Updated Simplified Chinese translations

Change-Id: Ic594a463b84e51f393c1f169a4f8626900f04120
Import translations from crowdin.net

Change-Id: I608232411e33a80500cf9eaf1965297532fdd403
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Merge "Don't register methods when there's nothing to register." into kitkat
Merge "Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON" into kitkat
Merge "Get rid of noise during boot." into kitkat
Merge "Improve recents kill all buttons behaviour" into kitkat
Keyguard: fix transparent lockscreen

Change-Id: Icdd8bc5605dd352b03772880764b5ca39d74a3e5
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Merge "Add date to statusbar [1/2]" into kitkat
Merge "Keyguard: fix transparent lockscreen" into kitkat