Dock Battery Fix to show Level

There is an issue with the dock battery where the battery icon
will show immediately on dock, but the battery level can take some
time to show.  This fixes that issue by the BatteryManager listning
for dock events and when one is detected it checks the battery level
and fires a battery intent.  This enables the battery level on the dock
to show immediately when docked.

Change-Id: I5677133c8492e3336f83342e702e638782f3ca6d
Signed-off-by: Chuck Haines <chaines@codemonkeyjava.com>
Display when the weather was last updated in the notification area. (1/2)

Patch-set 1: "Updated" is a string resource; combine the date and last update time
on a single line; change the text and padding a little to make it fit nicely.

data/sounds/AudioPackage5.mk should not have been in this change. Removing.

Patch-set 3: Based on community concencus, this mod defaults to the
forecast date in the first line. Short click toggles last updated
time and forecast time. Long click updates weather.

Patch-set 4: Swap long and short clicks actions. Long click
toggles forecast date and timestamp on the first line.
Short click requests update.

Patch-set 5: Inadvertantly tied long press to the launch
of custom weather app. Re-tied this functionality
to short click.

Patch-set 6: Setting (forecast date/last update time) persists
between reboot. Both TextViews set to "gone" by default. Code
clean up.

Change-Id: I19dcb5708212db39ff46cfa5cfb14007155fd8f2
Signed-off-by: Gary Danko <gdanko@gmail.com>
fix NoSuchElementException error with CPU ProcessStats

Credit to Eugene373

p2: update commit message
p3: cleaned up tabs
p4: also added aosp changes from this commit - https://github.com/android/platform_frameworks_base/commit/ca894b396b93344ac255746e12730cb269d4d856

Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>
Change-Id: I3c71dbd5fb8e42811c47d6431003101943cb388a
Merge "fix NoSuchElementException error with CPU ProcessStats" into ics
fix automatic timezone failing on some GSM networks

in the code that parses the NITZ string, someone made the assumption that if
any data follows the DST flag, it must be be the android emulator appending
an actual timezone string in "Area!Location" format.  However, it seems that
some carriers or perhaps in some locations, the carrier sends an additional
field in the NITZ string.  For example, this is a string from AT&T:

12/07/01,09:37:43-16,01,310

The extra field is "310" above.  This patch will only assume that the field
in question is a textual timezone if and only if it contains an exclamation
point.  Otherwise, the extra field is ignored and the timezone is parsed
as it should be.

Change-Id: I6cc4278027a6de5545d76b803f5359923e60878a
Signed-off-by: Gary Dezern <garyd9@gmail.com>
Revert "libstagefright: Fix MPEG4 timestamp"

A lot of applications (e.g. QuickTime, mkvmerge) apparently does not like the 64-bit timestamp and will fail to open the file.

This reverts commit 893586d4b7a0dbea070404323837ef4f0a7c9b79
Lockscreen: refactor layout for all lockscreen types

- made the date, time and the other information views an extra layout and included it
- made new music layout background transparent
- moved the carier id inside the circle in landscape screens for Wave and Multiwave widgets
- reduced the top margin above the clock a bit to have more space

Change-Id: I013331ca42a34ea13fc45f4e32199928a7d77811
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
Merge "Display when the weather was last updated in the notification area. (1/2)" into ics
GlobalActions: hide power menu before showing it again

This patch stops multiple power menus popping up when
long pressing power more than once.

Change-Id: Icf93a3c8d6d486c29e9b36308d553b30885179cf
Merge "Lockscreen: refactor layout for all lockscreen types" into ics
implement noise suppression for phone calls (1/2)

Change-Id: Ie67f15fd154dd0e64b6f3a007c938bf162e25e77
Merge "GlobalActions: hide power menu before showing it again" into ics
Merge "fix automatic timezone failing on some GSM networks" into ics
Merge "implement noise suppression for phone calls (1/2)" into ics
telephony: Smdk4210RIL: clean up processUnsolicited

Remove full overload of processUnsolicited and have it work with the
requests unknown by the RIL superclass. Pass everything else upwards,
unmodified.

Change-Id: I129120995c17b45c17dd50b77f281de352c20ae2
Smdk4210Ril: fix bad file format

Change-Id: I26a48a1422060a19c76fbc83af95ae7649442bf0
Smdk4210RIL: fix signalstrength

based on http://review.cyanogenmod.com/#/c/18220/

Change-Id: I872221e58e89412fcecf67c7208ab2c89aac7c04
Smdk4210RIL: added support for hd-voice (wideband amr)

Change-Id: I93d3d985d38a2b852023c3803eb2073dea989185
Smdk4210RIL: some cleanup

Change-Id: Ic715d1f7657d2ca99cc44d6b6971daeee176530e
telephony: update stk service functionality for Samsung phones

Change-Id: I16015d29a969dfe6ed6dac118db39230b1b77ea1