SystemUI: Use Settings.Global.getInt to read global settings

Settings.Global.getInt should be used instead of Settings.Secure.getInt
to read global settings.

Change-Id: Icf8b9b2c9f04d4a111e5cc165e090aeb996f91b1
SystemUI: Request CHANGE_NETWORK_MODE permission

com.android.phone.CHANGE_NETWORK_MODE permission is required for the
network toggle to function properly

Change-Id: I88a6f6705553fcb08bee5e8308e89395a4749e4f

Conflicts:
	packages/SystemUI/AndroidManifest.xml
Quick Settings Pulldown: Left or Right side option (1/2)

Patch set 2 : Fix defaults from upgrading
Patch set 3 : Change percentages

Change-Id: I1f74043865e2670430da7c90ddc8aacc8e5267be
Quick Settings: Add Network mode tile (part 1 of 2)

Tile drawables credit to Bjorn Lunden

Patchset 1-4 : Initial commits
Patchset 5   : Fix state not showing properly
               Remove old comment
Patchset 6   : Fix comments per Jesús David

This commit also inlcudes a bit of code cleanup and sets the
default tiles to AOSP defaults

Change-Id: I15371989bb2ce977d1b715e52d9c92c27ea108ca

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
QuickSettings : Cleanup receivers/observers

This patchset borrows the idea of a central observer/receiver
from powerwidgets. This way cleanup is a lot easier.

Change-Id: I09ff3118cbc1137e2569dcd3e07acb2a3b083eca

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/ProfileTile.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Quick Settings: Add 'OFF' text to GPS tile when off

Change-Id: I8a81e3cf8419a6c2e4305c844b5f6162ed14055d
Framework: Add Quick Settings Sync tile (2 of 2)

- Adds the QS Sync tile (drawables thanks to Björn Lundén)
- Removes deprecated, pre ICS code in Power widget

Change-Id: I9f94a1f818ca823c02bb27416bfb047ff4678220

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Quick Settings:  Make Lock screen drawables consistent

Credit to Björn Lundén for drawables

Change-Id: I77d1b5072484eb1c0ea0c28a2eb88ef0f75e327d
Quick Settings: Cleanup Torch tile (2 of 2)

Change-Id: Iacd9e58a4e45ed2526bde406c23647e6da9b76ec
Remove ProfileTile.java
Framework: Forward port Fix Profiles Insecure lock screen not working

This fixes Issue 6226: The insecure lockscreen setting is not being activated with
the use of profiles if the default is secure (PIN or Password)

Change-Id: Iaba6d39df0000da073c3ea0c35de1c78f63ad08d
Port wimax support changes from CM9.

- Register WiMax service in ContextImpl (fixes 4G toggle).
- Fix misdocumented EXTRA_4G_STATE in WimaxManagerConstants.
- Share wimaxClassLoader between WimaxHelper and ConnectivityService.
- Add ACCESS_4G_RADIO_DISABLE, ACCESS_4G_STATE, and CHANGE_4G_STATE
  permissions to SystemUI.

Note that WimaxManagerConstants was previously misdocumented, confabulating
the lookup key EXTRA_4G_STATE ("4g_state") with EXTRA_WIMAX_STATUS
("wimax_status"), which no longer exists.  This is also fixed.

Change-Id: I4f5973e7bd2ff4c860036df0f38589b34ad72b49

Conflicts:
	packages/SystemUI/AndroidManifest.xml
pt-rPT: Fix too long on/off text for setting toggle. In Portugal the international ON/OFF is prefered, and the previous values made the toggle way to large.

Change-Id: I3f10c3ec12c861461178a5ecbf35debf8785bd55
Framework: Add NFC Tile to Quick Settings (2 of 2)

Need to figure out how to instantiate a new NFC adapter after the
Tile is created.

Change-Id: I5ad99f1ac8f4730653c9697c2c0d0e86b7d4facd

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
NfcTile: rename setState/updateTileState to setTileState. Submitting on behalf of dvtonder.

Change-Id: I9628e260acf10fb06523c7cb9362ae4eb34a057b
Framework: Cleanup Quick Settings Sound tiles

Change-Id: I45ba7098ef8c58a6e8e232abaa16780cab2df186

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Framework: Add Screen timeout Quick Settings Tile (2 of 2)

Change-Id: I02a7866c83bc9a914ed8bfad12872d5ed1a854f5

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsController.java
Port Russian Translation from CM10 to CM10.1-SystemUI [WIP]
Update Russian Translation-CM10.1
PT-BR: Added missing translations + Merge from CM10

Change-Id: I13d3b079276d1bc81450d7c06de3072738041f8e