summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authoryfriedman@chromium.org <yfriedman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-18 06:56:14 +0000
committeryfriedman@chromium.org <yfriedman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-18 06:56:14 +0000
commit3056ea7c14c98e7ef5b587153443a2d183b866b3 (patch)
tree45b9132770baaf3e48199aabf7e3c436d3886a32 /media
parentcec2dd0b2d786a93d185a606e899fadae188d0ae (diff)
downloadchromium_src-3056ea7c14c98e7ef5b587153443a2d183b866b3.zip
chromium_src-3056ea7c14c98e7ef5b587153443a2d183b866b3.tar.gz
chromium_src-3056ea7c14c98e7ef5b587153443a2d183b866b3.tar.bz2
[Android] Output unchecked warnings and fix existing instances.
BUG=164395 Review URL: https://chromiumcodereview.appspot.com/11580006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173658 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
-rw-r--r--media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java b/media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java
index cd3a2b5..1bf80058 100644
--- a/media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java
+++ b/media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java
@@ -9,18 +9,18 @@ import android.media.MediaPlayer;
import android.net.Uri;
import android.text.TextUtils;
-import java.util.HashMap;
-
import org.chromium.base.CalledByNative;
import org.chromium.base.JNINamespace;
+import java.util.HashMap;
+
@JNINamespace("media")
class MediaPlayerBridge {
@CalledByNative
private static boolean setDataSource(MediaPlayer player, Context context, String url,
String cookies, boolean hideUrlLog) {
Uri uri = Uri.parse(url);
- HashMap headersMap = new HashMap<String, String>();
+ HashMap<String, String> headersMap = new HashMap<String, String>();
if (hideUrlLog)
headersMap.put("x-hide-urls-from-log", "true");
if (!TextUtils.isEmpty(cookies))