SystemUI: Fix NavRing inflate

NavRing is set to inflate on Home/Back/recents buttons by
default, since this is stock layout.
With custom Navbar, different button layouts can present conditions
where the NavRing either only inflates in limited areas (swipes) or not
at all (if no home/recents/back button was used.  This little
patch sets the entire NavBar as the delegate area so that  regardless
of the the buttons assigned, NavRing will still respond

Change-Id: I67e22bf6c02264d87a1b95cf3b51a8eee4c72453
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
SystemUI - fix Kill App

In rare circumstances, the kill App code of extensible key button
could kill the last app on the stack (the launcher) and cause a hot
reboot.  This keeps the default launcher from being killed and thus
preventing the reboot.

I used some of the code found in our commit here:
http://gerrit.sudoservers.com:8080/#/c/3090/6

Change-Id: I78adebe3147324333191790b91c703ff20c6f05d
Signed-off-by: Zaphod <mwilson@acesappraisal.com>
Revert "Scroller: Adds options to control scroll friction and velocity (1/2) - abandoned AOKP patch"

This reverts commit 15a7c47ccace34ca30ed34588c854c75f5e1d96a.

Conflicts:

	core/java/android/provider/Settings.java
Possible NPE in ChooseAccountTypeActivity

Change-Id: I8d36717cc9b74f62ac90eae22225424f57fb9d05
return value of String.replace() is ignored.

Change-Id: Id7330e1ffc9f429b22f153d8e644fa7c64354173
Signed-off-by: You Kim <you.kim72@gmail.com>
Merge branch 'tmpbranch' into Zips
removing ineffective code in WifiService.java

no need to use wrapper class Long.
I think this looks like typo.
However, this fix will give us more space.

WifiService.class 33646 -> 33541.

Change-Id: Ia3a57285170315a9563c6ccf687424fe95ccc2df
Weather panel actions and clock/date derp - AOKP

Clock and date short actions were depended on longclick nothing
fixed that...

Current set up is lockscreen weather can only update weather

Moved actions to phonestatusbar so we can apply new actions to the whole
panel and not just the conditions view.

3 options for both long click and short click
1) nothing
2) update weather
3) Custom app

Still need to clean up the old weather panel

Would like to maybe add vibrate or a toast to let user know the
panel is updating.

Change-Id: Ic33df820a74ee2cec54b67ba407f6b5d62020fd0

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
WeatherPanel: Add options to hide weather panel - AOKP

3 options
1) always on
2) Hide with toggles
3) always opposite toggles

animations are fun. :-)

PS2: weathergoneonboot should be 2.

PS3: put panel check back in update settings in case user turns panel off.

PS4: rebased off the new weather panel actions.

PS5: missing bracket

Change-Id: I9c1a88a7ebc5a05a5baa927576d3b74f8e1d23c1

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
GsmDataConnectionTracker: Allow automatic data connection to APN_TYPE_MMS

Currently, in the framework, mobile data connections using APN's can only be
made when the user has explicitly switched on mobile data connections.
This patch allows to automatically open connections to APN_TYPE_MMS mobile
networks. It only opens connections in roaming if the user has selected the
option in Settings.

This allows for the automatically download of mms.

Patchset 1: Initial patch
Patchset 2: Moved logic to a canSetupData(ApnContext) method

Change-Id: I824c7b48d8d534f372e9eccb05fd7e4db226be92
Removed host

Change-Id: Ie2009fb922a3b2f27c3ff2b61b56b586ed6a9027
Merge branch 'tmpbranch' into Zips
removed acp

Change-Id: I854d7039061d7dcd12ad72f8278272f5ae0e0618
BUch of crap

Change-Id: I180334241fc5723b38c64d643e30b896257cb6af