derp
Am: acquire lock only when needed in removeContentProvider

Fix to make sure lock is acquired only after the validations
are done in removeContentProvider.

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

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
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
WeatherPanel: Add toast and sim lock fix.

Ok I can not test this since I don't own any devices with a sim card
but, it looks like I placed the listener in a very odd place that
only gets called if the sim state is unlocked, this i'm guessing here
since I have no real data or report besides reboot, was causing a
crash since the listener could be found when it came to initialize.

note this is a review site, not a bug tracker, I HIGHLY recommend
you sim card peeps try this and give feed back because this will get merged
quickly since its just a toast message that work as intended and this fix
is just a bonus..

added collapse after click weather refresh.

Change-Id: I487c63a341fb1f121187ef3224b88afabdffba3d
Notification: add option to show connected wifi network (1/2)

This will add an option to RC to show the current network name
beside the carrier.

PS2: fix layout
PS3: add TextChangedListener to correctly show/hide the wifi label
PS4: use custom carrier for wifi only if we don't show the wifi label

Change-Id: Ic77104a04b9db882a12177d42ed72b707ef2fd91
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
LockScreen: allow long-press actions from hardware keys (1/2) - Port from CM

Allow following actions with button long-presses on lockscreen:
* toggle flashlight (if available)
* play/pause/next/previous track selection
* toggle silent mode

Allow customizing of back, menu, and home buttons. Search
button events are completely ignored on the lockscreen.

Auto-detect hardware keys, only show appropriate menu
options based on the actual hardware keys available on the
device (or completely hide if there are no hardware keys).

Based largely on Danny Baumann's work from gingerbread.

Change-Id: I4c4aad62677b610934a0b621b5518f7c57e44a53

Conflicts:

	core/java/android/provider/Settings.java
	policy/src/com/android/internal/policy/impl/LockScreen.java
Add group mms threading (2/3)

Change-Id: Ia6cd4a395328c56791f10e153aca91976cd36155
Merge branch 'tmpbranch' into jb-aokp-ice