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>
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>
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
Smdk4210RIL: fix derpage

Change-Id: Iffd318ed3762ba4ec7f04837f55df6059421caf2
Signed-off-by: Jonathan Steadman <xxwhitehawk@gmail.com>
SamsungQualcommUiccRIL: use signalstrength value instead of # of bars

  * Math error in GSM level calculation gave high probability that 4
    Samsung bars would be shown as 3 AOSP bars.
  * Samsung sends # of bars in the signalstrength field of GSM and LTE,
    indexes 0 and 7. But this is on a 0-5 scale where AOSP uses 0-4 scale.
    The cutoff points for the bins are also different. Because of this
    confusion, just pass the measured signalstrength to the framework
    instead of computing signalstrength based on # of Samsung bars.
  * For debug and experimentation, Samsung's bar method can be enabled
    by setting telephony.sends_barcount=true

Change-Id: I8238af83f3a597b32eb99f42c71cbc263ad5bc82
framework: Add a version of Environment.getExternalStorageState which accepts a path parameter

Required for improved media scanner on devices with emmc

Change-Id: Id215238f3503221b06459dfa241c2c52ea6a0baa
wifi: Never reload the wifi firmware in frameworks

if overlay config is set to false (config_wifi_ap_firmware_reload)

ps2: remove tabs, add default framework value

Change-Id: If84cbdfbcfc81b620961887352b44f158fe9be4f
Signed-off-by: Roy Kartadinata <drhonk@gmail.com>
avoid possible SysUI NPE if NFC service hasn't been started yet

PS2-4: check NFC service in get/set, SysUI starts much faster and sometimes mNfcAdapter remained null
PS5: it works only if mContext is initialized in onReceive (when the NFC service starts)
PS6: add permission

Signed-off-by: sethyx <sethyx@gmail.com>
Change-Id: I225335b89bd61865db4872d989d195dd8c7f849e
Merge "framework: Add a version of Environment.getExternalStorageState which accepts a path parameter" into ics