Fix NullpointerException in MediaMetadataRetriever

According to the API documentation and the ICS implementation
the setDataSource(String) method throws an
IllegalArgumentException if path is null. In JB a
NullpointerException is thrown instead. This fix restores
the earlier behaviour.

Change-Id: Ic47baadf91076acc227d92d84f6b8d1d6ecd0c03
Return the actual interpolator of the ViewPropertyAnimator

The implementation of getInterpolator() was always returning null
(probably a quick copy-paste from the default Animator implementation).
This patch fixes the problem by returning the interpolator set by
setInterpolator(TimeInterpolator) or the default one if none has been
set yet.

This patch also avoid creating multiple instances of ValueAnimator in
order to retrieve some default values.

Change-Id: I8880f419f021a8b980fb32bebe927915fde19bf7
Fixed a leaked partial wakelock in AbstractThreadedSyncAdapter.

This fix ensures that onFinished() is always called in a syncClient
even if the application lacks the READ_SYNC_SETTINGS permission.

Change-Id: I944717e71ceae06a665f8a3b1199b41d73e12da4
Remove possible leak when exception occurred.

nameUtf8 is not released after exception.
In addtion, Fix code going down after ThrowException.

Change-Id: Id46e8ed55acd98e982ae532f7da2c0c48847f010
Remove obsolete installd

installd is now in frameworks/native

Change-Id: I308b2dbfcc3103262b16d1680630ca744c1a0877
Frameworks: do not remove the view twice in removeViewInternal

otherwise this cause crashes when trying to remove the certain
views from the viewgroup

possible merge error on 4.3. Not sure though

Change-Id: I9dbf3f6893453b17831e2ef077f5049057969755
Memory leak in IInputMethodSessionWrapper executeMessage

In some cases the executeMessage is called with
mInputMethodSession == null. For the messages

DO_UPDATE_SELECTION, DO_APP_PRIVATE_COMMAND

memory is leaked. This commit recycles the args freeing
the allocated memory.
Fix for rare INSTALL_FAILED_INSUFFICIENT_STORAGE bug

This fixes a bug that occurs when one application
update fails to remove the old application package
causing any following update attempt to fail falsely
reporting insufficient storage.

Change-Id: Ib94110bcc82ff092ac630e929fde81136425159e
PreferenceFragment : Set title if specified

Set the title of the preference activity if specified by the
preference screen.

Example of where it is broken :

Settings -> Accessibility
Title says "Accessibility", but preferencescreen's android:title attribute
specified "Accessibility settings"

Change-Id: Icc89cf6bc37e3f6fc98c6bc05a0ef47185daa52c
SettingsProvider: Add a default for the dialer's autocomplete

... and flip it on

Change-Id: I9ff8d3fdb682292a89606856c8851b5eed197f06
several @hide derps and don't be lazy

please all we need to take care on such things

fixed all related derps

as well move out TRDS from currents to be clean AOSP.

Change-Id: I914d7b3bb607e70c39559340fab4d97b8c5efe31
Merge "several @hide derps and don't be lazy" into jb4.3
Merge "SettingsProvider: Add a default for the dialer's autocomplete" into jb4.3
Frameworks: Fix navring keyguard + ehancementes for SlimAction in preperation

to allow SlimPie on lockscreen and the complete rewrite of custom
hardware key rebinding.

- fix for not launching applications from keyguard (was broken on 4.3)
- allow app execute only direct from unsecure lockscreen or if the
user put in the credentials from secure (on 4.2 already the apps/actions always
opened in background)
- do not allow actions which does not make sense on locscreen to execute
  differenciate secure and non secure
- close notification drawer on any action so that the action really shows in forground
- code cleanup
- keyguard integration in SlimActions is now the base to open SlimPie
for lockscreen as well the rewrite of hw key rebinding. So two things
on the TODO list now

cheers

Change-Id: I870d19a06bc1935f4356a1cf45b76b1511a11694
Fix default QS quantitiy behaviour

- fixes the wrong calc of tile per row if the user is on a fresh
intall (happens when flip to landcape and back)
- ignore duplicate tiles per row feature on tablets and all devices
which do not have flipsettings

Change-Id: Ic6aa8e51f50b9abf978a72580ea8c648e43614d4
Frameworks: TRDS new 4.3 png's

Change-Id: I1aab6a5d0e1c5e5f015a48060ead36a656c50941
Remove redundant click action from date & time container layout

Unlike AOSP, we  provide separate actions for both the clock
and date & time views in the expanded notification area. AOSP has a
single action for both views.

This commit removes the redundant AOSP click action completely. In
addition, the clock and date views are modified to occupy the entire
height of the layout to increase the clickable area.

Change-Id: I78f4353c9ae4646f14124a38ef94e44ab920a067
Merge branch 'slim-4.3' into jb43