Dont show copy dialog when the user is editing a contact. Fix crash.

Fixes bug:5210400 Email address only chips sometimes display "Copy email adress" even on tap
Also fixed crash in the alternates adapter where it was still looking for a dest type.

Change-Id: I97b68c3f3e45f3d654551953ac4356ff76dfba26
Merge "Dont show copy dialog when the user is editing a contact. Fix crash."
merge in ics-release history after reset to master
merge in ics-release history after reset to master
merge in ics-release history after reset to master
Allows selecting the audio stream used for playback.

Adds setAudioStreamType() to the MediaPlayerProxy interface and
implements it in the variable speed player.

Bug: 5240848
Change-Id: I1bb9fdbee7aa6113c5d5d5a8000e9794800fad9f
Import revised translations.

Change-Id: Iaf1b05b79b8628a1453fbb94e04eee3fbb72fe8b
merge in ics-release history after reset to master
Enables detailed logging during variable speed playback.

This commit adds support for dynamically enabling logging in the
variable speed library if log.tag.VariableSpeed is set.

After this change, you can enable logging by running:

adb shell setprop log.tag.VariableSpeed 1

Logging will be disabled after reboot or after running:

adb shell setprop log.tag.VariableSpeed ""

The logging in the library is quite verbose, so we do not want to enable
it by default.

Bug: 5253004
Change-Id: I3addde5552093eb0c4926b67245d578a7da0fb7a
merge in ics-release history after reset to master
Merge "Import revised translations."
merge in ics-release history after reset to master
Create dialog at the beginning so we have a "safe" context.

I believe this fixes bug:5268040 com.google.android.gm: android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.BinderProxy@412b42e8 is not valid; is your activity running? at android.view.ViewRootImpl.setView(ViewRootImpl.java:494)

Change-Id: I94e7be1d18d2df955f49eefe2d57b608e907b3ac
New assets for chips backgrounds.

Change-Id: I4e768a0e6006d42c227053625713f676affea447
Merge "New assets for chips backgrounds."
merge in ics-release history after reset to master
Clear the checked position and reset it always.

I beleive this fixes the issues reported internally this morning, as
previously the checked position ws being incorrectly cached.

fixes bug:5274898 trouble picking the right email addresses for people in gmail

Change-Id: I442a9a3c1b147de41a48bb8b3e72492083bf1f03
Merge "Clear the checked position and reset it always."
Mke sure we commit chips that are being edited

The isse was that text editing of a chip now holds the chip
in the selected chip field. This makes sure that we commit any chip
that has an invalid id before continuing.

Fixes bug:5277118 Chip layout is weird if there are "+x more" text and a recipient not in your contact list

Change-Id: I7480a3677e1fa1d17e365c3057dd74ae46ede858
Fix excess copy dialogs showing up.

Make sure we send through all events so that long press gets cancelled
by a move (that will scroll)

Fixes bug:5277603 Scrolling a long recipient list falsely triggers copy-paste dialog

Change-Id: I65c1bd6bf0d2055cbfc1758be13d21c5bd16f98a