GlobalActions: Set the initial status of airplane mode toggle

Actually, the initial status of airplane mode toggle is set to false
when the power menu dialog is initialized.
This causes an issue if you set airplane mode and then reboot.
After the reboot, the dialog displays the wrong airplane mode status,
eg. "Airplane mode is not active", and if you toggle that option, a wrong
intent is sent again to put ON the airplane mode, instead of OFF, the
toggle (that is in transition state) will be set disabled.

This commit fixes this issue.

Change-Id: Id30355c1e090355645c437086c79ab59093c27a8
Vpn: Setup routes.

Change-Id: Ia00467fbc4324ca5f6dab6e0ff2609cd5de9a423
Settings: Add CM PlatLogo & CMCaseView (1/2)

* Based on Danesh M commit from 10.1
* Always use "K" letter for android version easter egg since
  some devices override BUILD_ID and the letter "J" appears instead of "K"
* Add some padding (left & right) to the PlatLogo if the width of the
  PlatLogo is bigger tham the actual device width
* Added CM mascot drawables

Screenshot:
http://goo.gl/Q9q0kR

Change-Id: I04f7728248854623b364cf54d2e48f461e84b3de
Merge "Vpn: Setup routes." into cm-11.0
Merge "Settings: Add CM PlatLogo & CMCaseView (1/2)" into cm-11.0
Revert "Fix error checking in MemoryFile."

This reverts commit 2142c2cf6ffc0979fff7d0312fd6f90ca6c08a19.
Fix android.os.cts.MemoryFileTest#testLength
ActivityManager: Fix monkey tests

Change I30e38c6c27d339d55a8f9a0f4106185356a9b9a0 (adding ordered
broadcast prioritization) adds the assumption that every broadcast
generator has a full-fledged caller app, which isn't true for
monkey-created tests. Make sure the caller is a full app before
checking if it is AID_SYSTEM to avoid an NPE

Fixes com.android.cts.monkey.*

Change-Id: Ide0dd046c6c5eb10ab4acb504237b58cbbbd8cfa
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_frameworks_base into CyanogenMod-cm-11.0

Conflicts:
	core/java/com/android/internal/app/PlatLogoActivity.java
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/values/cm_strings.xml
	packages/SystemUI/res/xml/dream_info.xml
	packages/SystemUI/res/xml/dream_settings.xml
	packages/SystemUI/src/com/android/systemui/DessertCase.java
	packages/SystemUI/src/com/android/systemui/DessertCaseDream.java
	packages/SystemUI/src/com/android/systemui/DessertCaseDreamSettings.java
	packages/SystemUI/src/com/android/systemui/DessertCaseView.java
	packages/SystemUI/src/com/android/systemui/cm/CMCaseView.java

	modified:   core/java/com/android/internal/app/PlatLogoActivity.java
	modified:   core/jni/android_os_MemoryFile.cpp
	modified:   packages/SystemUI/AndroidManifest.xml
	modified:   packages/SystemUI/res/values/cm_strings.xml
	modified:   packages/SystemUI/res/xml/dream_info.xml
	modified:   packages/SystemUI/res/xml/dream_settings.xml
	modified:   packages/SystemUI/src/com/android/systemui/DessertCase.java
	modified:   packages/SystemUI/src/com/android/systemui/DessertCaseDream.java
	modified:   packages/SystemUI/src/com/android/systemui/DessertCaseDreamSettings.java
	modified:   packages/SystemUI/src/com/android/systemui/DessertCaseView.java
	modified:   packages/SystemUI/src/com/android/systemui/cm/CMCaseView.java
	modified:   policy/src/com/android/internal/policy/impl/GlobalActions.java
	modified:   services/java/com/android/server/am/ActivityManagerService.java
	modified:   services/java/com/android/server/connectivity/Vpn.java