Fix behaviour of the close keyboard button

Starting from Android 11, the close keyboard button does not
dismiss the keyboard anymore.

Replace hideWindow() calls with requestHideSelf().

Change-Id: I7257ff577c4f57b534894df3a2d308c48787284c
diff --git a/src/com/android/inputmethod/latin/CarLatinIME.java b/src/com/android/inputmethod/latin/CarLatinIME.java
index a8d24c4..b3f8135 100644
--- a/src/com/android/inputmethod/latin/CarLatinIME.java
+++ b/src/com/android/inputmethod/latin/CarLatinIME.java
@@ -296,7 +296,7 @@
                             //loadKeyboard(ALPHA_LAYOUT_XML);
                             break;
                         case KEYCODE_CLOSE_KEYBOARD:
-                            hideWindow();
+                            requestHideSelf(0);
                             break;
                         case KEYCODE_CYCLE_CHAR:
                             CharSequence text = inputConnection.getTextBeforeCursor(1, 0);
@@ -387,7 +387,7 @@
 
                 @Override
                 public void stopInput() {
-                    hideWindow();
+                    requestHideSelf(0);
                 }
             };
 
@@ -437,7 +437,7 @@
 
                 @Override
                 public void stopInput() {
-                    hideWindow();
+                    requestHideSelf(0);
                 }
             };