Loading core/java/android/webkit/WebView.java +11 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ import android.content.Intent; import android.content.IntentFilter; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.res.Configuration; import android.content.res.Resources; import android.database.DataSetObserver; import android.graphics.Bitmap; Loading Loading @@ -3733,6 +3734,16 @@ public class WebView extends AbsoluteLayout return false; } private int mOrientation = Configuration.ORIENTATION_UNDEFINED; @Override protected void onConfigurationChanged(Configuration newConfig) { if (mSelectingText && mOrientation != newConfig.orientation) { selectionDone(); } mOrientation = newConfig.orientation; } /** * Keep track of the Callback so we can end its ActionMode or remove its * titlebar. Loading Loading
core/java/android/webkit/WebView.java +11 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ import android.content.Intent; import android.content.IntentFilter; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.content.res.Configuration; import android.content.res.Resources; import android.database.DataSetObserver; import android.graphics.Bitmap; Loading Loading @@ -3733,6 +3734,16 @@ public class WebView extends AbsoluteLayout return false; } private int mOrientation = Configuration.ORIENTATION_UNDEFINED; @Override protected void onConfigurationChanged(Configuration newConfig) { if (mSelectingText && mOrientation != newConfig.orientation) { selectionDone(); } mOrientation = newConfig.orientation; } /** * Keep track of the Callback so we can end its ActionMode or remove its * titlebar. Loading