Revert "Remove the navigation camera icon in keyguard if disabled by DPM"

This reverts commit 76f6d9d15bc45ff70d3feb90c72512daa1679030.
CompoundButton: Let text can be changed by config

Because CompoundButton freezes text inside onSaveInstanceState, the text
can't be changed automatically after locale of device changed.
Bug from such a case reported via url below:
https://code.google.com/p/android/issues/detail?id=24013

It would be better to don't freeze text for default case and let users
to freeze text if they need manually.

Change-Id: I2d6a192b6ff05a95b21487c2362cbc14691c68cf
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Fix QS power tile icons

- Fixed hdpi, mdpi, xhdpi icons
- Added xxhdpi icon
Update for battery text style
Update for ita translations
Fix visibility of camera widget on insecure lock screens with DPM

The camera widget should be visible on an insecure lockscreen even
with the KEYGUARD_DISABLE_SECURE_CAMERA policy flag set.

Change-Id: I37ff905c6325be9120b16984d3401f334ad00e4c
Update for ita and pl translations
base: added national roaming for ONO in spain

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

Users of ONO in Spain (MCC 214 MNC 18) will roam on Movistar (MNC 07)

Change-Id: Ia8b7873dc647fb1a857523b9c621bccc7a66e516
base: added national roaming for Orange in Austria

http://jira.omnirom.org/browse/OMNI-376

Users of Orange in Autria (MCC 232 MNC 05) which is now a subcompany
of 3AT can roam on 3AT (MNC10) and also on t-mobile (MNC03) for 2G

Change-Id: I593c1bdeea3ef712541b4962369a02b2d7c86c5b
Port Lockscreen See through feature (1/2)

Credits to aospa

Add the ability to see through lockscreen.
Adapted to kitkat from jellybean by @BigBrother1984

Signed-off-by: D4rKn3sSyS <jesdga95@gmail.com>
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS2:

* Adding missing sem-colon.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: I9057a6e302a5a824799844f27e8f64ff677a520a

PS3:

* Replace and remove undefined mContext.
* Define the boolean enableScreenRotation inside new method.
* Whitespaces clean up.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS4:

* Restore mContext in setKeyguardParams().

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS5:

* Fixes for setKeyguardParams() and maybeCreateKeyguardLocked() methods, kitkat changed some things.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS6:

* Missing sem-colon.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS7: Fix all the things.

* Effects doesn't vanish after first unlock.
* Created condition in updateShowWallpaper() method that just return if see through is activated, he was restoring the wallpaper at second lock.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS8: Cosmetic changes.

* Correct java style name to seeThrough() and place it above updateShowWallpaper().

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS9: Other cosmetic changes.

* Better name to the see through boolean.
* Removed a space nitpick.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS10:

* We had two booleans for the same thing, ditch the one defined in one class only and take the global.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: I06d952f85baf284961a24c8c9f90b29f4aef719a

Conflicts:

	core/java/android/provider/Settings.java
	services/java/com/android/server/wm/WindowAnimator.java

Lockscreen Blur

- If user selects "See through" under screen security,
  the locksceen background will now appear transparent
  with the content behind it blurred.

PS2-6 : remove whitespaces
PS10  : Link blur to see through lockscreen option
PA12  : Lets actually push some changes this time :)

Change-Id: Iac581536057ef6b8eb4637b1172291f47463a065

Conflicts:

	services/java/com/android/server/power/DisplayPowerController.java

Fix code style

Change-Id: I0aedc35e0ecaeb13d33a81030a52fe25b4a23f33

Revert "Lockscreen Blur"

This reverts commit 19d74a97359235f0087e4cf4d9d03932b6cec485.

Signed-off-by: Evan Anderson <evan1124@gmail.com>

Conflicts:
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java

Change-Id: I4ae3b7f47fe75b37ffb6f68ee46a42252b640c8e

Conflicts:

	services/java/com/android/server/power/DisplayPowerController.java

Fix: Ensure lockscreen see through setting persists after reboot

If see through was enabled and the device was rebooted,
the user had to toggle the setting off and on again to activate.

Change-Id: I726220a39ac61cf135e5c63a9dbb8def7ed6fa2e

Fix: Correct possible null pointer when enabling see through lockscreen

PS2: Remove unused variable

Change-Id: I28884cb18964b273539261b8c0f72cedf2e60666

Frameworks: Lockscreen Blur

  If user selects "See through" under screen security,
  the locksceen background will now appear transparent
  with the content behind it blurred.

Modificaitons made to the orginal commit to support Hammerhead and Flo.
It seems full HD images causes rendering artifacts. To prevent this,
we scale the image size to something more manageable.

PS2: Reduce calls to System.Settngs
     Move bitmap scaling to DisplayPowerController
PS3: Fix styling
PS4: Fixes: 1. Black wallpaper after turning off see through
            2. Wallpaper flicker on unlock when blur is enabled
PS5: Ignore status bar and nav bar when capturing screenshots
PS6: 1. Remove content observer and unnecessary calls from viewManager
     2. Restructure the flow of setting the custom image
         * now closely follows setting album art as lockscreen image

Change-Id: Ie72bab697726af5e145bd0192980885ea7222ecd

Conflicts:

	services/java/com/android/server/power/DisplayPowerController.java

Fix: Lockscreen Blur Rotation

Credits to David L.-W (David96)
https://github.com/AOSPAL/android_frameworks_base/commit/f80b748

Modifications made to address the issues noted in original commit

Change-Id: I721e7f8554433b903209da5587ac1dfcd83420cd

Removed unneeded string
Optimized png for xhdpi & xxhdpi

optipng -nc -nb -o7
Show owner info creation if no owner is set for UserTile

Forward port from cm-10.2.
Squash of the following commits:

Show owner info creation if no owner is set for UserTile

Change-Id: I43575946023676a1b75b67e1ae1996a0a3a35b88

Fix showing owner info creation from UserTile if no owner is set

* Turns out the default user will always be present, meaning a check of
  user count == 0 fails.

Change-Id: Id8e8e75c5f51c73a60d7b9039298ecb90e572bc9

Show default profile name if no profile exists

Change-Id: I6b651d6b552ab3caf30102d289469eaf68f58a0e

UserTile : Check if profile has a photo

In the event that the profile doesn't have a photo, don't default to the
user's photo, instead show a default avatar.

Change-Id: I80de324ae1e151693cf3716bf87d39a16096ca12
Base: The Netherlands national Roaming

:: 06-01-2014
- Added for networks
	KPN
	Hi
	Telfort
	Vodafone

:: 07-01-2014
- Changed the config.xml
	Thanks to Andrew Dodd

- Added mcc204-mnc02.
	Network Tele2
	Thanks Silas Arentsen

:: 10-01-2014
- Added mcc204-mnc03, mcc204-mnc10, mcc204-mnc20
	Networks Voiceworks (PrivateGSM), KPN (2?), T-Mobile
	These networks have a GHM band others in this list don't..
	(http://en.wikipedia.org/wiki/Mobile_country_code)
	Thanks Max Weninger!

Change-Id: I4f6d3c7b1feb04cc7f342bdca1f29afc8cbe8e53