fix gps bug
credits to Steve Kondik
SystemUI: Clock - right/center/off (Part 1 of 2)

Port of https://github.com/AOKP/frameworks_base/commit/77e913c1d371d2f6dece1250164f9597310117d1
SystemUI: Battery Bar

Port of https://github.com/AOKP/frameworks_base/commit/e5d25fd7d7c2c9342d1088f4a96831b2aac89751
NFC: Make polling mode switchable (1/3)

Change-Id: I6cc947e0aa3a2e20e8449bb0e10efcbbcb9624af
Merge branch 'cm-10.1' of github.com:finnqBuilds/android_frameworks_base into working
Merge git://github.com/finnqBuilds/android_frameworks_base
NavigationBar: Custom height (1/2)

Ported from http://review.cyanogenmod.org/#/c/23609/

Change-Id: I61aef192ac658f54f86b87d18cce9d7b073004e2

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
Workaround until gps can be fixed, force gps to stay in standalone mode when
ro.agps.allow=false

tested and working on t0ltecdma devices

Change-Id: I917de8cf3c59865a423dafa605ee4f10a5838bb6
revert 30913: Re-implement magnetic targets

Change-Id: Iab9802cb50024a7175208237d744b5e1bcd5160b
solve fb

Change-Id: Ib920f27cc5fa8a068831b21e6912a3f4317c3a13
merge changes from remotes/github/cm-10.1 into master
fix NavBar Height while leaving  #31942 working

Change-Id: I9e3fc3db2011673a418657668c8ccd4ae34c13e4
Swap volume buttons when the screen is rotated by 90 degrees (1/2)

See: http://review.cyanogenmod.org/#/c/14530/

Change-Id: I201febc2827e6fbd347cb0e3f8d3347ad1bc487b
SystemUI: Avoid "phantom" status bar collapsing

There is one specific case where the status bar may collapse
for no aparent reason: When the last notification is removed.

If Quick Settings panel is showing while such a notification
is removed, the status bar WILL collapse -- and the user may
be left wondering why, because the notification that was just
removed isn't visible in that case.

A way to reproduce this behaviour follows:
  1) Settings -> System -> Quick Settings Panel -> uncheck
     "Auto close panel"
  2) Dismiss all notifications, even the sticky ones.
  3) Open the Quick Settings Panel and tap the apropriate
     tile to light the Torch
  4) Tap the tile again, to extinguish the Torch.

As you can see, the Quick Settings Panel collapses. This
happens because Torch puts up a notification, when lit and
removes it, just after it's turned off.

This will happen to whatever notification that hides itself,
e.g. a GMail notification, which vanishes when you read the
e-mail on another device. This too will trigger this issue.

-----

This patch prevents the bar from collapsing, as consequence
of removing the last notification, when Quick Settings is
showing.

Change-Id: I8c7c015c836810a465268b25b90c9166c4485a9f
merge changes from remotes/github/cm-10.1 into master
forgot a variable for NavBar-Height Fix

Change-Id: Ifb09eccdb7cf9551f8170f538ccfe834b26bb920
merge changes from remotes/github/cm-10.1 into master
solve merge

Change-Id: I62234e65e5b66b7ea66f5d2e9ec8ed4ff7a6737e
merge changes from remotes/github/cm-10.1 into master
merge changes from remotes/github/cm-10.1 into master