Overhaul CMDProcessor to fix deadlock and allow redirection

* Make CMDProcessor a utility class.  Methods start*() start an async child
  process and return immediately.  Methods run*() are convenience methods
  that wait for the child and return the results.

* All sh and su commands are run with the -c option.  This frees up child
  stdin for piping data.

Note CMDProcessor.canSU() no longer caches results.  This is consistent
with super user implementations, whose behavior can change dynamically at
runtime based on the user's input and responses to prompts.

PS2: Amend (get|set)SystemProp methods, use internal class instead of
CMDProcessor

Change-Id: I070bcad8a1fbe7326abe2154d45796ee6d2beb67
Signed-off-by: Tom Marshall <tdm.code@gmail.com>
Lockscreen: adjust layout of GlowPad

Change-Id: Ia50025f08e5e6a78d929a963639d03956a738caf
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Clock Options: UX improvements

  Add a Preference Group for options specific to the notification
  clock. Move color options above notification specific options.

Change-Id: I35ecf6e3160448efe6fa39b25f8b1dbb448e80a7
Signed-off-by: KhasMek <Boushh@gmail.com>
Updated simplified Chinese translations

Change-Id: Id337239d71a4eb3c54f8f6673c35acdf9e61289b
Updated Japanese translations

- Add missing entries
- Modify some translations

Change-Id: Ic0b71f244fb2c9a6ec54f11237a89fff80354570
Signed-off-by: rdgate <rdgate@gmail.com>
Updated simplified Chinese translations

Change-Id: I4e5edd939feeacfab64574e97e64459a0eb2989a
Merge "Updated Japanese translations" into jb-mr1
Merge "Clock Options: UX improvements" into jb-mr1
add more devs! (2013 edition)

Change-Id: I7dc48dfdcb193f6568c399086f0e29c826bd237e
Merge "Lockscreen: adjust layout of GlowPad" into jb-mr1
Merge "Overhaul CMDProcessor to fix deadlock and allow redirection" into jb-mr1
RC: Vibration Patterns should have an odd number of intervals

Change-Id: I89785742dbbe66fcb106e98b236d282ca25f73c8
Signed-off-by: sethyx <sethyx@gmail.com>
ROMControl: Remove Prefs Per Option State

Also clarified some strings.

PS2: Remove Notification Alpha if wallpaper isn't set
PS3: Formatting.
PS4: Reoganize GeneralUI; remove prefs based on DPI;
     hide clock options if clock is hidden
PS5: Fix whitespace
PS6: More Prefs
PS7: Dynamic prefs for Custom/Fav/Screenshot toggles
     Optimized rotation methods & set 270 enabled by default
PS8: Fix 2 preference removals in General UI

Change-Id: I21f77eaf123a8b7f1cb07c00bba71239cfe420e0
Restart SystemUI to change Signal/WiFi clusters when text selected

Change-Id: Ifaa080803b914445a70c2947bb7232c7faad75fa
Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
Lockscreen: Remove Minimize lockscreen challenge from tabs/phabs

Change-Id: Ifde197ca5a32f3e2bd05717e44c05a1fd6d4f625
Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
ROMControl: NavBar Optimizations

Anytime refreshSettings() is polled it's reenabling
NavBar hide transparancy/width if navhide is enabled
This shouldn't happen in TabletUI

Also, TabletUI DOES allow  NavBar height change.
Re-enable these prefs and set summary correctly

PS2: Fix and Clean "Match State" showing incorrectly.
PS3: FINAL, sorry, found more prefs.

Change-Id: I17359edda4da4367b9b7cadd29644f0a67a628b4
Merge "ROMControl: NavBar Optimizations" into jb-mr1
Merge "Lockscreen: Remove Minimize lockscreen challenge from tabs/phabs" into jb-mr1
RC: Updated czech translation

Change-Id: Ia69c5e2d2eb7702789a32b14a2bc3d1e7bba57c9
Signed-off-by: kecinzer <kecinzer@gmail.com>
Update Japanese translation

- Add missing translations
- Revise some translations

Change-Id: If68089ee23280477b3719a3d742ef66a0e6ce90f
Signed-off-by: rdgate <rdgate@gmail.com>