Skip to content

Commit aa35d09

Browse files
hborisoffe7mac
andauthored
QAQ-1684 - fix not scrollable rich interstitial (#394)
Co-authored-by: Mayank Sanganeria <[email protected]>
1 parent ebf6342 commit aa35d09

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

AndroidSDKCore/src/main/java/com/leanplum/messagetemplates/BaseMessageDialog.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -491,14 +491,6 @@ private WebView createHtml(Context context) {
491491
dialogView.setVisibility(View.GONE);
492492
final WebView webView = new WebView(context);
493493
webView.setBackgroundColor(Color.TRANSPARENT);
494-
webView.setVerticalScrollBarEnabled(false);
495-
webView.setHorizontalScrollBarEnabled(false);
496-
webView.setOnTouchListener(new View.OnTouchListener() {
497-
public boolean onTouch(View v, MotionEvent event) {
498-
return (event.getAction() == MotionEvent.ACTION_MOVE);
499-
}
500-
});
501-
webView.canGoBack();
502494
// Disable long click.
503495
webView.setLongClickable(false);
504496
webView.setHapticFeedbackEnabled(false);

0 commit comments

Comments
 (0)