]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/commitdiff
Revert the hiding of the keyboard when displaying the options menu. https://redmine...
authorSoren Stoutner <soren@stoutner.com>
Tue, 13 Jun 2017 19:05:57 +0000 (12:05 -0700)
committerSoren Stoutner <soren@stoutner.com>
Tue, 13 Jun 2017 19:05:57 +0000 (12:05 -0700)
app/src/main/java/com/stoutner/privacybrowser/activities/MainWebViewActivity.java

index d708132d390a075610393ac3bc5c5b7d23d73ad6..b82667260b9d8c1f8e0f7622e1a445cadf2aa3b6 100644 (file)
@@ -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);