telephony: CDMA: fix ERI display when device is in airplane mode

currently when a CDMA device is in airplane mode, the ERI display
shows "Searching for Service"
the radio is OFF, and not searching for anything, so fix it to
actually display the radio status correctly

Change-Id: I3acfb509291867e1a8e35163a89d86719aa40479
GCC 4.7 now correctly implements the two-phase name lookup rules

See: http://gcc.gnu.org/gcc-4.7/changes.html

Change-Id: Iaf285e2ebf4456a063817858ffa358e9380e9012
Allow theming of framework UI elements.

As the theme engine works by replacing resources while loading the APK,
framework UI couldn't be themed so far. Workaround that by manually
creating a com.android.systemui package context and using that for
showing the UI. This attempt is a bit hacky, but should be safe as
a) systemui should always be present
b) if it isn't, we fall back to no theming

Change-Id: I644e2e8d7d4abf07bae639b606197d691f16adac

Applying theming to more framework items.

All dialogs and notifications should be covered now.

Change-Id: If93f81991361165a00b5b1b03ffc323e3ab42c0b

Conflicts:

	policy/src/com/android/internal/policy/impl/GlobalActions.java
	services/java/com/android/server/NotificationManagerService.java
GlobalActions: Fix themeing of the ShutdownThread

Apply the correct UI context so the reboot dialog is properly
themed

Change-Id: I115c81538ab9c27223b2090279f877d5b68d6dd3

Conflicts:

	policy/src/com/android/internal/policy/impl/GlobalActions.java
NavigationBar : RecentButton fix after theme change

Recent button stops working after theme change since the listeners
are not set in time for them to be invoked. This patchset addresses that.

Change-Id: If69328c859a86bd3068a48994918c5d9f990d154

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Profiles - Part 2 of 2

Frameworks support for Profiles.  Ported from CM7 with some ICS related
updates.

Patch set 3 - Adds Phone Rintone and Vibrate intercepts
Patch set 4 - Minor cleanup

Change-Id: I580aed32b714af8497ede39e0905fb327531bf1c

Conflicts:

	core/java/android/app/ContextImpl.java
	core/res/res/values/strings.xml
	media/java/android/media/RingtoneManager.java
	policy/src/com/android/internal/policy/impl/GlobalActions.java
Profiles: Addition of Wimax (1/2) + Logic Cleanup

Change-Id: I4277e1982fb46637291ccba7e0d959c770cc623f
Fix profile text in global action menu

Change-Id: I655c0cfdfa6d84bc2039f62bcf4470750ae9ffa4

Conflicts:

	core/res/res/values/strings.xml
Profiles: Sort profiles alphabetically

Change-Id: I23a460d5dcbfc8b20bc2a406586b39686b83a427

Conflicts:

	core/java/android/app/Profile.java
Profiles: Case insensitive duplicate name checking

 - Prevents duplicate names such as Default/default

Change-Id: I479a34192295677653985a66b05becb2d1b6cdf3
profiles: Add support for disabling screen lock

 * We can now have the option of disabling lockscreen security as part
   of the profile. A good use case for this is to create "Car" profile.
   You certainly don't want to input a pattern, or worse, face-unlock if
   you should happen to break the law and use your phone whilst driving.
 * Profile system now permits insecure mode or entirely disabling
   lockscreen as an override.
 * Fix issue where changes aren't applied if the active profile is
   modified.
 * Also fix a couple of string-comparison derps.

Change-Id: I07a09b7011bad4f32cdd7bfa576e3befa71193ea
profiles: Fix "disabled" lock screen mode

Without this fix, it's impossible to select the "Disabled" lock screen
mode.

Change-Id: I214f52093d78631f799a604394e838a4b329494a
Profiles: UI/UX consistency and cleanup (Part 2 of 2)

This commit contains the frameworks support for the modified Profiles
and Application Groups settings functionality, ensuring consistency between
the two.

1) Add ability to rename Application groups
2) Add duplicate name checking for app groups

Change-Id: Ifcf2eb5f6aa26e0d4778b32c1a35bfb88fac318b
Profiles: add sync and mobile data override (1/2)

Change-Id: I93fe2af38b3fe49c1aa555cf5f27c366fd38ab91
Update profile drawables

Change-Id: Ie139f113fe63008c88e39a7e15353472130d4dc9
Vibrator/airplane overrides (1/2 Frameworks)

Add vibrator overrides for ringer and notification:
* enable
* disable
* only when silent

Add airplane mode overrides:
* enable
* disable

Patch Set 1:
initial patch

Patch Set 2:
remove airplane mode 'enable, leave nfc enabled'

Change-Id: I2efa3e5ef95574b04f872ed970090e507189be2b
Fixes so that Profiles works