| Index: android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
|
| diff --git a/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java b/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
|
| index 528d6a335abf49b1dbdcae90bcb769378cd06d1b..dff2d0e165df7d2aa358d46fddc1fb26c260d281 100644
|
| --- a/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
|
| +++ b/android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java
|
| @@ -4,12 +4,13 @@
|
|
|
| package org.chromium.android_webview;
|
|
|
| -import android.annotation.SuppressLint;
|
| +import android.annotation.TargetApi;
|
| import android.content.ContentResolver;
|
| import android.content.Context;
|
| import android.media.AudioManager;
|
| import android.net.Uri;
|
| import android.os.AsyncTask;
|
| +import android.os.Build;
|
| import android.os.Handler;
|
| import android.os.Message;
|
| import android.provider.MediaStore;
|
| @@ -29,6 +30,7 @@ import org.chromium.content_public.browser.InvalidateTypes;
|
| * This class also serves a secondary function of routing certain callbacks from the content layer
|
| * to specific listener interfaces.
|
| */
|
| +@TargetApi(Build.VERSION_CODES.LOLLIPOP)
|
| class AwWebContentsDelegateAdapter extends AwWebContentsDelegate {
|
| private static final String TAG = "AwWebContentsDelegateAdapter";
|
|
|
| @@ -111,7 +113,6 @@ class AwWebContentsDelegateAdapter extends AwWebContentsDelegate {
|
| }
|
| }
|
|
|
| - @SuppressLint("NewApi") // View#getLayoutDirection requires API level 17.
|
| @Override
|
| public boolean takeFocus(boolean reverse) {
|
| int direction =
|
|
|