We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2cdbe2f commit 1cfe8ddCopy full SHA for 1cfe8dd
1 file changed
core/java/android/webkit/WebView.java
@@ -2392,6 +2392,12 @@ public float getScale() {
2392
return mZoomManager.getScale();
2393
}
2394
2395
+ // Called by JNI. Returns the scale to apply to the text selection handles
2396
+ /* package */ float getTextHandleScale() {
2397
+ float density = mContext.getResources().getDisplayMetrics().density;
2398
+ return density / getScale();
2399
+ }
2400
+
2401
/**
2402
* Return the reading level scale of the WebView
2403
* @return The reading level scale.
0 commit comments