Frameworks: Specify notification types for QS quick pulldown check (1/2)

Allows users to choose between "non-permanent only", and "all notifications" in "Quick pulldown without notifications" check.

Change-Id: I910a901bb2de6f9f829f169c573a3038c40d7f40
Fix requery behaviour of MemoryCursor.

As we can't restore the contents of the cursor window, we need to keep
it on deactivation so we can restore it on requery().

Change-Id: I06f688bbe9120c307bdc3ddbc3833416becdec82
Add permission that allows cancelling notifications from other apps.

Change-Id: I055b17873e174f71174898a7649b1e221fd8c436
Merge "Frameworks: Specify notification types for QS quick pulldown check (1/2)" into jb4.2
New Event: ACTION_NEW_OUTGOING_SMS

Change-Id: I8be01ad6251ca25e4d00ebffd876bb6ce7f3c283
Merge "Fix requery behaviour of MemoryCursor." into jb4.2
Merge "Add permission that allows cancelling notifications from other apps." into jb4.2
Merge "New Event: ACTION_NEW_OUTGOING_SMS" into jb4.2
Frameworks: Specify notification types for Auto Hide statusbar (1/2)

Allows users to choose between "non-permanent only" and "all notifications" in the autohide
the statusbar when there are no notifications check.

- cleanup a bit
- reduce method and provider settings call

Change-Id: I3729c11366e55e5ef4c2ff0ea9931e7e2f5cf5bf
Frameworks: take notification size into account + cleanup

take notification size as well into account for qs swipe down
feature due it can take effect if the user dismiss a non permanent
one during a permanent one is present. CM bug

as well cleanup redundant code

Change-Id: I56a88161b93f966e49190d73a3a77a1dbd373e56
Merge remote-tracking branch 'upstream/jb4.2' into jb4.2