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>
SystemUI: allow hiding notification icons

When long pressing a notification, add another menu
item which allows the user to hide the notification icon
(but keep the actual notification in the dropdown).

This is meant for applications which have services running
in the statusbar which the user is aware of, so right now
we hide the icon by the package.

Change-Id: Id319e1b14d0cf8957cc718fcc27bf0dcb394bc8f
Signed-off-by: Roman Birg <romanbirg@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
[1/2] Indicate charging in battery % indicator

By changing color of % indicator

Change-Id: Ia42c75825bbb5c5cc079b41708baa4bad40c52b7
Signed-off-by: kecinzer <kecinzer@gmail.com>
SystemUI: add signal text (1/2)

PS9:
 - default colors to white
 - use PhoneStateListener instead of deprecated implementation
 - removed unused code

PS11: Fix build error

Change-Id: I96fe28fdf946e1372ec4dd8df3adae4aece4b509
SystemUI: Add option to hide signal bars

Patch set 1: Bring back option from jb
Patch set 2: Update for Settings.AOKP
Patch set 3: Add needed dependency

Change-Id: I93e78d48412e1a82a271d002066fa8a4c0101d16
Signed-off-by: Rohan Mathur <rohanmathur34@gmail.com>
Merge "SystemUI: allow hiding notification icons" into kitkat
[1/2] Clock mode

Center, right, hidden clock.
AM/PM and weekday mods.

PS3: Fix memory leak

Change-Id: I5b62e2e3e0909f15f1a7edb8fa8ad50b0ed7c1f8
Signed-off-by: kecinzer <kecinzer@gmail.com>
SystemUI: allow hiding notification icons czech translation

Change-Id: Ic8d2f2eeba71aee71abc0c4e0516e651d1bc4d9d
Signed-off-by: kecinzer <kecinzer@gmail.com>
[1/2] Add network stats to status bar

Also includes
http://gerrit.aokp.co/#/c/13356/
http://gerrit.aokp.co/#/c/13360/

PS2:
Get the time delta between updates and use that to show
average bytes per second.

Change-Id: Ib06a713e6d93649ae8c8e5be5fd62c4f44a48416

PS3:
Code cleanup, change default text color and size to fit
AOKP and add ability to change text color.

PS4:
Fix up layout for cleaner spacing and add for tablets

PS8: Moved indicator before status icons

Change-Id: Ie3cdb038fecfe8cbb9b7a670c50dc7ebd22690e1
[1/2] Notifictation counter

PS2: Try to fix memory leak
PS12: Catch line 143 for debugging track down which instance of
      StatusBarIcon is causing NPE
PS13: Removing apply() from onAttachedToWindow to test a theory
PS14: Remove logging and check if icon is null before setting vars
PS15: == -> =
Change-Id: I95d06df346c77f0089abb749f2ee16a3d4678041
Signed-off-by: kecinzer <kecinzer@gmail.com>
Merge "SystemUI: allow hiding notification icons czech translation" into kitkat