Customisable location tile(1/2)

Change-Id: I2287dc4566d2f7b5b6b92f834d80d6efa559f278
Open app when clicking on icon in App Info screen

Based on Xposed module Shortcut in App Info:
http://repo.xposed.info/module/com.mohammadag.shortcutinappinfo

There is no vibration as in the module as I didn't find it necessary

Change-Id: I07b3f947aaaa13702adba3b4e78bb780fe861baf
cmhw: Use hardware's default value for display features

Change-Id: I1ad4d43ec08fb3a65f2f5d13e48e3becc341d34f
setting: Always remove Left-handed mode setting for non-phones

Right now, this option is only removed if you have a navigation bar
enabled and you aren't a phone.  This leads to UI wonkiness on
devices that allow the navigation bar to be toggled on/off:

* Enable the navigation bar.
* Navigate elsewhere and back to Buttons (force it to reload)
* Settings >> Buttons now contains a (grayed out) Left-handed mode.
* Enable the navigation bar.

Now Left-handed mode is available as an option even though it
shouldn't be.

Change-Id: Ifb3cdd18a014edffaf8bc53c46fc3c2f7a681370
settings: Avoid NPE in NfcTrigger when device doesn't support NFC

Change-Id: I7775540a752b6f31f8c5bb51eaf20e566b4858a5
Settings: Reduce volume to safe level when headset is connected (1/2)

This is a safety feature for users who opt to raise volume above the designated
safe level while using a headset.

Currently when a user does this they are provided with no protection against
dangerously high volume levels until the next time the headset volume warning
is displayed.

This patch adds an optional feature to ensure volume is no higher than the safe
level every time a headset is connected.

Change-Id: I8ec35284a91a26511b0bc83fcc1578f38b8b4f40
Settings: Improve AOSP JA translation

Change-Id: I56cf10bc1deb4818cbd2781a32c512c3dd51764b
Development: Root for apps is unavailable if the su daemon isn't running

The superuser options are tied to the Superuser app variant we use,
which in turn is tied to the su daemon. No daemon, no menu options.

Change-Id: I41d58e62986759336ab38e67f26a558c2eed5aa3
Settings: TRDS 3.0 and new theme engine preparation (4/4)

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

PS4: New light bulb icon

Change-Id: I5b857c542d92b9fd253b3556f14c790226594c4f

settings: TRDS some tweaks and fixes (2/2)

some smaller issues fixed and optimizations:

- fix twilightmode was wrong assigned to wrong value
- ligtsensor mode after first immediattely switch it does
  not allow for 5sec to switch again....after the 5sec it switches
  to current state if the sensor changed its state in this time.
  This prevends on the one hand on bad light conditions a permanent
  switch between dark/light as well it does not bring the system into
  troubles due of to much configuration changes at the same time
- get rid completly of the observe for the UI_THEME_MODE value and
  handle all over the UIModeManager
- adapt slimActions and settings to this new behaviour/method
- some cleanup and minor fixes

Change-Id: I099eb70f179149bcc519a209b93063529349f1e2

Change-Id: I5b857c542d92b9fd253b3556f14c790226594c4f

Conflicts:
	AndroidManifest.xml
	res/values/cr_arrays.xml
	res/values/cr_strings.xml
	res/xml/settings_headers.xml
	res/xml/theme_settings.xml
	src/com/android/settings/Settings.java
disable camera sounds (1/3)

Change-Id: I9c61ac497cac1af1cc8771317ada059a417b4c03

Conflicts:
	res/values/cm_strings.xml
AOKP custom system animations (2/2)

ported fom here: http://gerrit.aokp.co/#/c/12305/

Thanks to Steve Spear

Change-Id: Ic692025b0db02dd01684b4e9f91d63a04f80181f
App sidebar (2/2)

Change-Id: I9aae5e80960e5037e7aa69019004d4dda91f282a
[2/2] Add battery level around unlock ring

Credits to Omnirom

Change-Id: I0115f0a6f52b02f3f3da0412ae4fa0dd77c02ae0
Custom carrier text [2/2]

Change-Id: I328b8eb9781fd0f4424bf53f8e5d0b7e82f0ad0a
Add Color Picker Preference

Change-Id: I397d6a8ab1b7232ab7e62625565e32100cb2a75e
Port OnClick Fliptile animation. (2/2)

credits to: TeamBAMF for the original work.

Change-Id: Ie24f6917fab27b5215660f0b0aaa5427aa5b6d1e
Forward port AM/PM Style Settings

Change-Id: I1de2f7a1ec0deeecc9c9dfff3a6840f6523c12b0
ListView Animations (2/2)

Credits to Team ThinkingBridge

Change-Id: I9be8e321d4a47b6718cd461893365591793c15d5

Conflicts:
	res/values-ko/cm_strings.xml
[1/2] Settings: HALO

Forward port from jb43.

PS1: Initial port
PS2: Fix conflicts with notification LED
PS3: FIx derp in strings
PS4: Fix derp in pa_arrays (tag not closed)
PS5: HALO Mods

Change-Id: I7de6a9157415fe05b0a59d8260e33cc1527a342d
Quick Settings: Option to use floating window (2/2)

Allows the option of launching preferences from the quicksettings menu in a
floating window

Change-Id: I00237f6b667d35f0e8d2cf8201f4efee6adf762c