framework/base: Add EdgeGesture service.

Based on code of PieService.

Change-Id: I053737e36340a5ec6814b21eb87575f9689c7e88
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 remote-tracking branch 'cm/cm-11.0' into cm-11.0
Merge "Settings: Add CM PlatLogo & CMCaseView (1/2)" into cm-11.0
Merge remote-tracking branch 'cm/cm-11.0' 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
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0
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 remote-tracking branch 'cm/cm-11.0' into cm-11.0
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 remote-tracking branch 'cm/cm-11.0' into cm-11.0
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 remote-tracking branch 'cm/cm-11.0' into cm-11.0