Settings: ES translations

PS2: remove tab

Change-Id: I811b8edef496111418524bd3cebe60f480940bdc
Settings: Home & menu unlock

credits CM

Change-Id: If89f4234f0262269c2b099c91371f3ba52d83e15
[1/2] packages/apps/Settings: enable quickunlock

Automatically unlock the lockscreen when correct PIN/Password is keyed
Taken from omni.

Change-Id: I4d37a1651689f88a878b58530c77fa562eca42db

Conflicts:

	res/values/cr_strings.xml
	res/xml/security_settings_chooser.xml
	src/com/android/settings/SecuritySettings.java

Change-Id: I06dd7f90add46b7791f15ba6c2efad471b6b3b26
Merge "Settings: ES translations" into kk
Merge "Settings: Home & menu unlock" into kk
Settings: ES translations

Change-Id: I5c461ab33b31f21c8af97b3da86fd125708c0f36
PrivacyGuard: confirm permissions reset

The button to reset all application permissions to enabled looks
suspiciously like a refresh button. Prompt the user with a confirmation
dialog to make sure they know what they've pressed.

Change-Id: I0444c5bf8e9533feccf890055d34d3200609c6f6
Settings: Don't hide home category if user has a settings capable launcher

By default the settings app hides the home category if it notices the user
has 1 launcher. Due to the ability to have settings per launcher, if the
user only has one launcher which happens to support settings, hiding this
category renders that feature useless.

So now we check if the user has < 2 launchers AND whether they support
a settings panel.

Change-Id: Id5dd94091a31fd9ee3637e0975816481903255bf
Settings LightSettingsDialog: update led on text change

Change-Id: I135f37829b9b4fb2166afac9d9531b76a62f3ef7
add option to force high-end graphics on low memory devices

Change-Id: I34e0d7381615485b58385abed743e01f7272772d
Fix memory leak in ManageApplication

ApplicationsAdapter new a Session member and make it has a reference to
it self. If we don't release it explicitly, the cross reference will
cause memory leak.

Change-Id: Iecce35ae1d56d98cee6347e84d3a3ff57f3b15a5
Merge "Settings: ES translations" into kk
Fix lockscreen rotation

CM made it so that the option was removed if a device sets
config_enableLockScreenRotation to false.
However that bool is defined false on fw_base, which leads to it being
always removed.

So we remove this unnecessary check.

Change-Id: I28b66fc70a9d32275a467349f1301d7d136708a8
Move home & menu unlock to CF

Revert "Settings: Home & menu unlock"

This reverts commit 38f3ff1b997fd5edde8ab92d1738141584a58b9e.

Change-Id: I52eb28543aeb3b23365da5cff12c09f83b6feb58
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
Set expanded desktop through profiles (2/2)

Change-Id: I4d79ed61f793fd6a58ad11343be7d5b3d03d9a7e
Enable Back-key when go to Emergency call

When go to "Emergency call" from lock screen, back key is disappeared.
It is difficult for user to find the way to go back to previous screen.
This might be bad user experience. So we are going to make it enable.

Change-Id: Iefcca9b8943472c24ddbca6e3ec3441e93e5be91
AppOps: Modify Chinese string for Camera as MIIT's suggestion.

MIIT gave their suggestion for Camera's summary strings.

Change-Id: I9378a160fa394e8cd6587dd484987ff43b7c979e
BT: Multi HF support in Settings App.

1. The connected sinks are not disconnected from
HeadsetProfile when new sink is connecting.
2. Also return correct connection status for
specific HS.
3. Sets priority for specific HS while disconnecting.

Change-Id: I876f9810be82482cb360451343e4eb2a9f3ed668
Set expanded desktop through profiles (2/2a)

Change-Id: Idfc8569d56a55a6568a6ae63689a137b882ccdad
Signed-off-by: STELIX <ssspinni@gmail.com>