From: Soren Stoutner Date: Tue, 13 Jun 2017 19:05:57 +0000 (-0700) Subject: Revert the hiding of the keyboard when displaying the options menu. https://redmine... X-Git-Tag: v2.4~10 X-Git-Url: https://gitweb.stoutner.com/?a=commitdiff_plain;h=881c9f34b4eceb0ab41446328bc6e8e8dc1c00f0;p=PrivacyBrowserAndroid.git Revert the hiding of the keyboard when displaying the options menu. https://redmine.stoutner.com/issues/142 --- diff --git a/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java b/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java index d708132d..b8266726 100644 --- a/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java +++ b/app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java @@ -1105,9 +1105,6 @@ public class MainWebViewActivity extends AppCompatActivity implements Navigation @Override public boolean onPrepareOptionsMenu(Menu menu) { - // Hide the keyboard (if displayed) so we can see the options menu. `0` indicates no additional flags. - inputMethodManager.hideSoftInputFromWindow(mainWebView.getWindowToken(), 0); - // Get handles for the menu items. MenuItem toggleFirstPartyCookiesMenuItem = menu.findItem(R.id.toggle_first_party_cookies); MenuItem toggleThirdPartyCookiesMenuItem = menu.findItem(R.id.toggle_third_party_cookies);