Navbar Custom Glow Time (2/2)
Remove Lockscreen blur

This reverts commit 300bf6eb47a4f28a55e317e9be215df1822fe7b8.

Conflicts:
	res/values-it/purity_strings.xml
	res/values/purity_strings.xml
Re-add auto brightness configuration UI (2/2).

Change-Id: I6c56a48fa2145c58a5f203ed56051451ef3f977d

Conflicts:
	res/values/purity_strings.xml
resolve cherry pick conflict
Ita: Translations update

Better strings
Strings clean up
Settings: recover last location state during on/off switch

based on the behaviour change on QS here:

https://gerrit.slimroms.net/#/c/1421

we go now same way in settings. Tbh not sure what the goal is to
force the user after switching off to enable always high accuracy
location. Whatever we use here same attempt like in QS tile....if the
user switches on again it recovers the last enabled state.

Change-Id: I887e2a94af379770dac7dbedb5d3d8002a554163
Fix resource IDs being added to the android namespace

Using @+android:id/some_id will create a new resource ID
with package ID 0x01 rather than 0x7f, for non framework
packages, if "some_id" does not already exist.

Change-Id: I86d57ae6ac88e7dae8420a92e4d55b6c935fd188
Settings: Lockscreen custom wallpaper (2/2)

 - created a listpreference which changes the lockscreen background style
   (eg. Color Fill, Custom Image and default)
 - using the switch the preference for alpha seekbar (custom image only)
   or ColorPreferencePicker switches.

 *** added all necessary colorpicker java files and custom seekbar java

PatchSet 2: fix commit message

PatchSet 3: rebase

PatchSet 4: remove all duplicate files based on what Danesh suggested

PatchSet 5: missed removing the colorpickerpreference I created from
            lockscreen settings

PatchSet 6: fix wrong key for Lockscreen Category

PatchSet 7: Rebase

change-Id: I1ac1351e9a31a5827847e30113e933f2b7da219f

- Update
Settings: init correctly LockPatternUtils on configuration changes

Steps to reproduce:
- go to security pattern choice
- turn the screen to landscape
- result: crash

LockPatternUtils instance was not passed trough to LockPatternView.
Hence the crash and NullPointerExcpetion.

Fix it with correct initiliaze LockPatternUtils.

Change-Id: I38b495030b2c454effc901854bdcabfcbc10219a
Prohibit uninstall of the default (or only) home app

We suppress the ability to uninstall (including uninstall of updates to
system-bundled apps) when the package in question is either the only
installed home app, or has been explicitly tagged by the user as the
"every time" home app among all those installed.

Bug 14162565

Change-Id: I582bb0d2abf0911ac68813f4c7e6fd7d17bfc2ca
settings: Add in progress state to AccountPreference accessibility

The AccountPreference#getSyncContentDescription(int) method missed
the SYNC_IN_PROGRESS case.

Change-Id: I70cd62c6ecff97fc80eafcadd4381237886ab2a9
Signed-off-by: Jorge Ruesga <j.ruesga.criado@gmail.com>
Removed clock color settings
It's useless since i'm not going to add other color settings

- Removed custom java format
Show Lte tile
Settings: Mirroring layout on RTL languages [2/2]

changed the strings for RTL languages (Hebrew and Arabic).
Now the meaning is that the layout is forced for LTR layout instead of not changing.

Change-Id: Ibfc7e8411370049b412e64284022c6b5fda7cc55
SoundSettings: Assigning a null to an unnecessary variable

Change-Id: Ic8c3e6ff66cc888f6069e3bbef666ede3c56dc13
Dont show "Erase SD Card" when there is none

On devices with physcal, external SD Cards, the "Erase SD card"
option in in Settings/Storage is available even when there is
no SD card present, this dont make much sense since you cannot
erase a card that is absent. With this change the erase option
is bound to the mount toggle which leads to the following
consequences:

 Card present and mounted -> Erase enabled
 Card present but unmounted -> Erase enabled
 No card present -> Erase disabled
 Card present and MTP attached -> Erase disabled

Change-Id: I756ae8af3e0565febaf940df5f4991dd89105bd9
Show memory full text only for internal storage

When the internal memory is full, a warning text is shown
in Settings/Storage. This warning was displayed for all
types of memory (internal/primary, sd card and usb storage)
even though it was only referring to the primary memory.
With this fix, it is only shown for the primary memory.

Change-Id: I35ad4b0b45c6752ddc9d7166495435b27fd4a170
Custom lockscreen wallpaper (2/2)

This reverts commit e377ad090770812290408c418573bcdca35b5f9c.

Update from cm

All credits to cyanogenmod

update

Remove tab & add italian translation
Settings: lockscreen wallpaper crash fix

If a user backs out fast enough after setting a
custom wallpaper, the fragment becomes detached
from the activity, so any calls to getActivity()
were throwing exceptions.

The solution is to use the application Context
for toassts to still inform the user of the
status, and not update any UI elements
after the fragment is no longer attached.

Change-Id: Ia9f61184fb484d3af25565bc3c56e8b7b63ff4eb
Signed-off-by: Roman Birg <roman@cyngn.com>