From 881c9f34b4eceb0ab41446328bc6e8e8dc1c00f0 Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Tue, 13 Jun 2017 12:05:57 -0700 Subject: [PATCH] Revert the hiding of the keyboard when displaying the options menu. https://redmine.stoutner.com/issues/142 --- .../privacybrowser/activities/MainWebViewActivity.java | 3 --- 1 file changed, 3 deletions(-) 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); -- 2.45.2