services: don't clear wallpaper when SystemUI


disconnects.

When we restart SystemUI (or the user), sometimes
the wallpaper would get cleared. This patch just
captures its originating component and
if that is our SystemUI component, ignore the event.

Change-Id: I3e159dc2c013e7d7e552e3c0cef55e3ab970ca87
Signed-off-by: Roman Birg <romanbirg@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/HybridTile.java
services: don't clear wallpaper when SystemUI

disconnects.

When we restart SystemUI (or the user), sometimes
the wallpaper would get cleared. This patch just
captures its originating component and
if that is our SystemUI component, ignore the event.

Change-Id: I3e159dc2c013e7d7e552e3c0cef55e3ab970ca87
Signed-off-by: Roman Birg <romanbirg@gmail.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/HybridTile.java
Revert "services: don't clear wallpaper when SystemUI"

This reverts commit a97488540bad573b6149480d3e0b3757ef9d523c.
BATTERY ICONS:Add the missing battery icons to MDPI

Change-Id: I9dc60331b3210209c7ac4f65dc3c02ddea40958e
Merge pull request #32 from singhdd93/cm-10.1

BATTERY ICONS:Add the missing battery icons to MDPI
Merge branch 'cm-10.1' of github.com:PAC-man/android_frameworks_base into cm-10.1
Fix: Lockscreen SOD.
Locking device while in lanscape would result in SOD,
this commit fixes it. [credits to szlkiev for pointing me in the
right direction']

This commit also updates the lockscreen inline with aokp.
keygard targets can be set and reset in RC now aswell.

And finally it also fixes the notification ribbons.
Fix Build Error: Slight correction for Lockscreen SOD Fix

Slight correction made to commit 361f04fa - Fix: Lockscreen SOD
One include was missed that generated the error as the class TargetDrawable could not be resolved.

Build completes successfully.

Change-Id: I644d9fc52a9ae71d27667b83f777a5bb231cd384
Translation - Separating AOSP and CM strings

Change-Id: I18b8456d2fe74181402c9fa9f6cab8e996434cfc
PT-BR: Update translation

Change-Id: Iedfdfea4bf2485823ccf6867492ce831e5b4de62
Remove unnecessary updateSurfaceScreenOn call.

This change stops updateSurfaceScreenOn() from being called one time
right after another. It's called at the end of stayAwake(boolean awake),
which is called right before updateSurfaceScreenOn() in release().
keyboard: adding functional alt/shift lights

This is useful for devices that has QWERTY keyboard
and leds for the Alt/Shift (Fn/Caps) keys, like
htc doubleshot.

Depends on libhardware patch for the light ids:
http://review.cyanogenmod.org/34902

Change-Id: I66ebc2d881438f5b51db77eaa885421e65a7da0d
Frameworks : fr translation

Patch set 1 : add translation

Change-Id: Ied8ab769bdb429237c9e02d5934360206a86107a
Correct executable bit for source files

Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
Signed-off-by: Chirayu Desai <cdesai@cyanogenmod.org>
Don't let apps disable the SIM PIN entry screen.

As the user (who controls the app behaviour after all) likely doesn't
see the PIN screen as a lock screen (he likely wants telephony) and the
PIN screen is not shown on a timer-driven basis, it should be treated
specially.

Change-Id: I3572a80d4a515d72e3aa4a6e933e980fa4516c2b
Don't start keyguard in an attempt to exit it.

exitKeyguardSecurely() will open the keyguard if it's currently disabled
by an app. As this is unwanted here (the user has either already
bypassed the keyguard or the keyguard isn't secure; otherwise he
couldn't click on a notification entry) and as the lockscreen already is
dismissed a few lines above, don't call exitKeyguardSecurely here.

Change-Id: I5582da350d8826e42f9edcd56845a59965865c8b
JIRA:CYAN-99
QS/PW: Check for mobile data instead of telephony permissions (1/2)

For QuickSettings and Power Widget check if there is
ConnectivityManager.TYPE_MOBILE network avaialbe directly instead of relying
on a checking for the PackageManager.FEATURE_TELEPHONY permission.  Some
devices like tilapia (Nexus 7 GSM) has mobile data but does not set the
telephony permission.

Patchset 2:
   	- Use ConnectivityManager.isNetworkSupported() instead of checking for a null
	  value returned from ConnectivityManager.getNetworkInfo(). Thanks
	- Have MobileNetworkTile use the QSUtil deviceSupportsMobileData method

Change-Id: I71bd6217cbe08622f805de4ae30a87df11340f5f
Fixes: CYAN-803

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
[1/2] Power connect/disconnect notification support

part 1/2: frameworks/base PowerUI and Settings
http://review.cyanogenmod.org/#/c/35241/

part 2/2: packages/apps/Settings Sound settings
http://review.cyanogenmod.org/#/c/35242/

patchset 3:
    shrink a couple of long lines
    remove power_notifications_use_default option (folded into ringtone option)
    load default settings in global instead of system

patchset 5:
    support vibrate toggle
    ignore first power state change (on boot) if it's a DISCONNECT

patchset 6:
    fix ignore first power state change

patchset 7:
    change vibrate to default to off
    simplify first power state change ignore logic

Change-Id: I36a6b9f924d2cd52191a8e83a744745b37c5b068

Conflicts:

	core/java/android/provider/Settings.java
frameworks: ES translations

- Add new translation
- Move CM additions to new files
- Restore AOSP code

Change-Id: I6c691beb54f0a95853575d0bdd5130f61888a9e0

Conflicts:

	packages/SystemUI/res/values-es/strings.xml
Frameworks: Reorganize Hungarian translations

Change-Id: I5c5ceba908cc872b52314c31dd3571b2f40adc67

Conflicts:

	packages/SystemUI/res/values-hu/strings.xml