Settings: CS translation - missing strings

Change-Id: I0dc3e4e4eff8096990f9b75ead08de11a66b193f
[2/2] Settings: Lockscreen tweaks

Base: https://gerrit.omnirom.org/#/c/4700/

Change-Id: Ic485195060c071f120022a52cfd85226b0c3a414
Merge "Settings: CS translation - missing strings" into android-4.4
Merge "[2/2] Settings: Lockscreen tweaks" into android-4.4
Add LockClock to Settings menu

Change-Id: Ie9d10e7c8186354f01e29e1aaeb23b580ebd04aa
Add back privacy guard manager.

Change-Id: Ic9fbbae137bb8425fe72a6cdb2f17117351b5709

Conflicts:

	AndroidManifest.xml
	proguard.flags
AppOps: Add advanced menu link from privacyguard

Forward port from cm-10.2

Change-Id: I09b06eca34366526e5b1cd39763f31414e93a0c0
[2/3] Settings: Remove Active display

Change-Id: I0f2960249fbad02fdab437a59fd84a8b6bf3c86b
[2/2] Settings: Lockscreen Notifications

PS6:
    [2/2] Lockscreen Notifications: make offset top user configurable & add privacy mode

Change-Id: Ic66c0ff9d36bc390f5a434559468fe3752faf285

Conflicts:

	res/values/custom_strings.xml
[2/2] Settings: Add an option to change the device hostname

This adds an option to modify the device hostname used
in ip resolution. This is useful when connecting to the
android device in a dynamic dhcp environment.

Change-Id: Ib04d551b7eb31110962709e0d956db4da380175a
[2/4] Settings: TRDS 3.0 and new theme engine preparation

Additional Information:

these packages needs to be tracked by OMNIROM directly (not the case atm) to get
Dialer correctly viewed and other other apps darked out

packages/apps/Contacts
packages/apps/ContactsCommon
abdroid/development
packages/apps/Calculator

the related patches can be found at the repos of SlimRoms:

https://github.com/SlimRoms

PS2:
-rename TRDS to Dark Omni
-move menu entry above "more"

PS3:
- remove slim logo
- bring in omni logo

PS4:
- added Screenshots

http://forum.xda-developers.com/showpost.php?p=49430058&postcount=1446

================= ORIGINAL COMMIT MESSAGE ===============

For the one who do not know this feature see as reference
the first two versions here:

https://github.com/SlimRoms/frameworks_base/commit/b330fde28306286572ba390e451a72539c0c3576

https://github.com/SlimRoms/frameworks_base/commit/3194015737b7944b4185fca007b8d167a0675cd8

we got now over a year now a lot experience how to handle the qualifier fallback
as well how to theme it and how to handle other apps. Based on this knowledge we
redid some parts of TRDS engine with following new features/additions and fixes
to have now a final perfect working TRDS

- compared to the old versions where it was needed on some apps to restart them
  in background this is not needed any more. All is handled about the internal
  AOSP resource handling and on qualifier change the caches are cleared
  and the apps get an onconfigurationchanged to restart the activity
  like it is doing on orientation change eg
- inverted folder is now depreciated and the new folders are holodark
  and hololight which allows on the one hand a dark theme (at least
  how TRDS started) and a light based theme hololight
- This name change is mainly because of the new theme engine which
  will come which uses this as base to add 2 external themes at the same
  time and give the user the ability to switch between them. But this is
  still in early stages and this commit is just the preparation for it
- Two new automodes are now integrated. User can enable the twilight modus
  which enables/disables holodark/hololight depending on the daytime...means
  on the evening it switches to holodark on normal day it is hololight.
  The other automode is based on light conditions....means that if it is
  dark outside it switches to holodark....if we have bright light conditions
  it switches immediatelly to hololight. Due of the resource cache handling now
  this happens immediatelly for the user and feels completly system integrated
  and happens without delay. A bit comparable to some navigation tool for cars
  which can switch automatically from dark to light and back
- currently the auto modes as well the manual mode switches between holodark
  and hololight. Due that we do not have currently anything hololight themed
  in the source hololight = stock theme. We will give the user the ability
  later when done to choose between which modes the user want to switch
  (stock/holodark/hololight). But this does not make sense at the moment.
  As soon as we have done the light theme or theme engine (lets see what
  comes first) we will open the ability to choose it. This is only a small code change
- a lot small tweaks and fixes went as well into the new version

Whatever this commit as usual adds the support for it. The themeing is done in the
other commits by kroz which is as well way more extended then on the older versions

cheers

PatchSet:
- derp
PatchSet3:
- tired me derp again
PatchSet:
- adapt to new qualifier structure

- listen to onconfigurationchange and mode settings value
  and let the switch
  switch if the uiThemeMode has changed. As well permit
  manual switching if automatic light mode is enabled
  and inform the user about

Change-Id: Ie0cbc16dc8b2736e77f194676e99eb7fcfd5ddd2

Conflicts:

	res/xml/settings_headers.xml
[2/2] Settings: Lockscreen tweaks

Base: https://gerrit.omnirom.org/#/c/4700/

Change-Id: Ic485195060c071f120022a52cfd85226b0c3a414

Conflicts:

	res/values/custom_strings.xml
[2/3] Settings: Increasing ringtone volume

Change-Id: Ic3f72c5041859cc19c25a247808ac6479e598da1

Conflicts:

	res/values/custom_strings.xml
AppOps/Privacy Guard: Fix up misaligned switches.

Change-Id: Ic9e1e09ac911e552599f7bca6fb71b2808548f1d
Improve app op details layout.

Change-Id: I38a2c3679633ae85aec61703ab933410775bb336
Make Privacy Guard a first class citizen in the Settings app.

Change-Id: Ie45e21cfa5190307923edf65f8ff5356fa305d70

Conflicts:

	res/xml/settings_headers.xml
Settings: Don't crash if we pause too quickly

Notifier is unregistered in every case in pause.
However, if you close the Settings app too quick, the notifier
might not be registered at all, causing an IllegalArgumentException
during the unregistering.

Change-Id: I54141cbfc91d08c28ef524f4155b673ae8dee90e
Settings: Center the lockscreen target

Before this the lockscreen picker was off center in the vertical and horizontal
layouts.

However I am still unable to get the horizontal one centered correctly (it's a
lot better than before though). If anyone knows how to fix this please let me
know or just update

Change-Id: I7bf9d8fbc5969e03e052049d951ac2a1bc048823