Cursor leakage due to cancellation signal

If a query call was cancelled, the cursor adaptor might leak. The
adaptor is now closed if any exception is thrown during query.

Change-Id: Ic4c2edeaf2fcef56b4ef59484a36d3233aa12dbc
Fix fatal exception due to missing looper for current thread.

While creating handler for the thread, there was fatal exception getting
thrown because the present thread does not have a looper. So passing the
applications looper to be used , while creating the handler to avoid this
exception.

Change-Id: Id2e3ed61f5691c8319eb7bc20ad970eb6758e765
(cherry picked from commit f5d1769b4357fb8d86fc31f7115b55b567a20ed1)
(cherry picked from commit d0a7c5833b90fe4d8fe8f968b53a7028720ffd8c)
FW: move some aokp items to _custom.xml files

*These were added before we started implementing the
 _custom.xml standard. Fix it.

*Add missing AOKP copyright

Change-Id: If0c8349cb487a82436c554d35b2542ceab396c2e
Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>
Framework: Fix typos in Immersive Mode

Change-Id: I6a47e1cb42e0844697593b576237e473edf4d444
Merge "FW: move some aokp items to _custom.xml files" into kitkat
Merge "Framework: Fix typos in Immersive Mode" into kitkat
FW: Revert all recent white UI changes

Revert "fb: change alert dialog to new 4.4 UI guidelines and add"

This reverts commit 2f5a700aa21715195e53cd224de53733b4a06b9d.

Revert "fb: changed all open forgoten UI from google into new UI"

This reverts commit c2bc8c8263cf46076ca33fbc9c7e40a19c9e70e7.

Revert "Update missing google UI changes for 4.4"

This reverts commit b04e6e319628a1e231076640f518e70e4d67a16b.

Revert "fb: global menu follow new 4.4 UI"

This reverts commit e74fc1642caacc3aa5d4d233465888528c2bd6d8.

Revert "fb: correct seeker fb style for 4.4"

This reverts commit 39fdfea12e23c199f4aac1822b05bb3cb9969133.

Revert "Follow on seekbars new UI guideline for 4.4"

This reverts commit a8b562afa2acd501765fb720816eb41bf274fae4.

Change-Id: I638fac9f0e62deecdc9162020776ce63534b2e28
Merge "FW: Revert all recent white UI changes" into kitkat
Merge "Cursor leakage due to cancellation signal" into kitkat
Merge "Fix fatal exception due to missing looper for current thread." into kitkat
Merge branch 'kitkat' of github.com:AOKP/frameworks_base into kitkat