OSDN Git Service

Also Set IME_FLAG_NO_FULLSCREEN to RemoteEditText
authorYohei Yukawa <yukawa@google.com>
Thu, 25 Aug 2016 23:41:34 +0000 (16:41 -0700)
committerYohei Yukawa <yukawa@google.com>
Thu, 25 Aug 2016 23:41:34 +0000 (16:41 -0700)
This is a follow up CL to the previous CL [1], which specified
IME_FLAG_NO_EXTRACT_UI to RemoteEditText.

As discussed in Bug 7412307, specifying IME_FLAG_NO_EXTRACT_UI without
IME_FLAG_NO_FULLSCREEN has been known to cause some unexpected behaviors
across multiple components since at least ICS release.

Until Bug 7412307 is fixed, it would be safer to specify both flags when
we want to disable full-screen extracted UI mode.

 [1]: Ibb759a50ade279ad96598b25f99b169bc27a5b72
      0558bc5d6abf27fcf1a3c9b09770238863479709

Bug: 30424228
Change-Id: I6dc80f8506df66d8f3f3f822c7823f53f7c56d1c

packages/SystemUI/res/layout/remote_input.xml

index f0c4e59..73f26e2 100644 (file)
@@ -42,7 +42,7 @@
             android:singleLine="true"
             android:ellipsize="start"
             android:inputType="textShortMessage|textAutoCorrect|textCapSentences"
-            android:imeOptions="actionNone|flagNoExtractUi" />
+            android:imeOptions="actionNone|flagNoExtractUi|flagNoFullscreen" />
 
     <FrameLayout
             android:layout_width="wrap_content"