AVRCP: add try catch to avoid softreset

It seems that some music players send custom classes as extra in their intent.
As these classes are not known in the framework an Exception is thrown when
we try to access the extras. This leads to a softreset, so adding try catch
to avoid that.

Change-Id: I81ba1dd0968b06b7ea63397d8c2cac8159e3e909
Remove deprecation on android:enabled attribute.

The android:enabled was never deprecated and replaced by
android:state_enabled as it was mentioned in the documentation.

The attribute android:enabled when applied to a TextView (or its
descendants) still works until now. In fact that's the way to
disable widgets from layout XMLs.

The deprecation made ADT and lint suggest users not to use this
attribute.

Change-Id: I5e7d7060d9e79a04342ebc723d7937b9bc12a018
Signed-off-by: Yuku on yuku4 <yukuku@gmail.com>
policy: Fix slide lid open state

by commit 4aed78b5056560f499e5953f659fa90a06ecc38a lidOpen was reverted.
fix to make lidOpen true when sw == 0.
and fix getStateLocked()/getState() to get UP/DOWN state correctly.

Change-Id: I22a185478be860f1c88cf56d7ef3d0b3a8617459
Update Traditional Chinese translations

Signed-off-by: Chia-Wei Li <dreamcwli@gmail.com>
fix long press home defaulting to recent apps

Change-Id: Ia2643edfdd018c0da814763a40b350bbc572b795
Signed-off-by: Roman Birg <romanbirg@gmail.com>
update clock outside updateSettings method

testing -- may or may not have effect on the infamous freezing clock

Change-Id: If3ec3a447d2c96443e63100500d9d9fa4c5a0645
Signed-off-by: Roman Birg <romanbirg@gmail.com>
add padding to stop wifi icon cut-off

http://rootzwiki.com/topic/24185-toro-34-wifi-icon-cut-off/

It would be more appropriate to setup new layoutparams
	and change the actual margin instead of just offsetting
	it with padding, but I think this OK for now, much shorter

Change-Id: I115672105b032a698a16bf40b1c47611546afe83
Signed-off-by: Roman Birg <romanbirg@gmail.com>
fix brightness slider inconsistency

http://rootzwiki.com/topic/23663-maguro-all-b34-problem-with-brightness-toggle-in-statusbar/

Change-Id: Ic828c684175338f3ea21d8950fb08b82b3dd72d1
Signed-off-by: Roman Birg <romanbirg@gmail.com>
Merge "AVRCP: add try catch to avoid softreset" into ics
Merge "fix long press home defaulting to recent apps" into ics
Merge "fix brightness slider inconsistency" into ics
Merge "update clock outside updateSettings method" into ics
Merge "add padding to stop wifi icon cut-off" into ics
libmedia: don't require USES_AUDIO_LEGACY for USE_KINETO_COMPATIBILITY

Change-Id: I74ff9c0c4dd0cafa20917e1e923f1d0d2d6b1df4
LGEQualcommRIL: Fix PIN status for e73x

The QUERY_FACILITY_LOCK call is completely broken on the e730/739
when the SIM card status (SC) is requested.
Instead of letting it go through (and fail), use the pin1 status
from the IccCard application to figure out what the lock state is,
and return it as a message to the calling handler.

Change-Id: Iaed16bcb1a3ee71d9e833e4a4ccee423de0593a4
LGEQualcommRIL: Fix dataCallState objects

Change-Id: I5f36370981737200de808922bd6772a08dc85608
LGEQualcommRIL: Fix radio version on victor

Use that device's specific GET_MODEM_VERSION request to fill in
the usual BASEBAND_VERSION data

Also, merge QualcommNoSimReadyRIL into LGEQualcommRIL, since no
other device subclasses it anymore

Change-Id: I191f7229b59fcc8ace920c9b66ee0cff0113934b
Merge "Update Traditional Chinese translations" into ics
Merge remote-tracking branch 'upstream/ics' into ics