framework/base: Add EdgeGesture service.

Based on code of PieService.

Change-Id: I053737e36340a5ec6814b21eb87575f9689c7e88
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
BroadcastQueue: fix class typo of next receiver

nextReceiver should be cast to ResolveInfo
instead of ActivityInfo since it's ResolveInfo
that is pushed into List r.receivers.
Otherwise nextReceiver will always be null
as there is no ActivityInfo in r.receivers.

Change-Id: Iea3a720e6d7296fedff318643a1b4f5b9fce900c
Signed-off-by: Leavitt Zhang <leavittz@nvidia.com>
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
Restore ProfileGroup notification override functionality

Also clean up a little.

JIRA: CYAN-3164
Change-Id: I9b71a225996315f517b59d2d6f4074175bbf2d64
Modify alarm tile to show alarms when clicked

Change-Id: I76002b37dfe81c4e8973b3ef3f70fd67c26b1e4e
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
storage: Don't list removed volumes in storage list

 * Don't tell apps that USB storage or empty SD slots are available for
   use. This fixes errors about trying to create dirs in vold as well
   as the relevant CTS cases.

Change-Id: Ic763d40c19b0bb9f7497cc1515baf1661d76e9ee
SystemUI: remove unused translations

Change-Id: I9a20dbbcad652a058049eb5b7f8b9726a38c11a2
Merge "Restore ProfileGroup notification override functionality" into cm-11.0
Better expose 'QS Tiles and layout' function

Reorganizing & customizing the QS tiles is one of our features, but it
is buried 4 clicks deep in Settings menus. This is not ideal.

Create a new icon on the main QS panel view to quickly launch into
the configuration page.

Screenshots: http://imgur.com/a/H3iN7

This respects all the existing flip animations and quick pulldown. Does not
interfere with the clear-all button either.

PS2: Rebase
PS3: Change intent
PS4: Add missing boolean
PS5: Whitespace & Use different icon
PS6: Address comments and add additional drawable densities
PS7: Fix reference to old drawable
PS9: Swap back to + icon
PS10: Typo

Change-Id: Ia715767ba2a7cfdd44b0fafa082877def6867440
Merge "storage: Don't list removed volumes in storage list" into cm-11.0
Merge "SystemUI: remove unused translations" into cm-11.0
keyguard: fix delay lock screen sound

Change-Id: Ia4cd2c856df1573856386e1597dcc0a9600d25a5
JIRA: CYAN-3362
Issue: https://jira.cyanogenmod.org/browse/CYAN-3362
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Addition of automobile profile and group apps

Additions
- An automobile profile to improve the OOB experience
- New apps to the profile groups...Google Calendar, Google Hangouts

Change-Id: I4b728b257ebd68aae3695b9dd30496cb63efee39
Merge "Modify alarm tile to show alarms when clicked" into cm-11.0