Merge "Set SOFT_INPUT_STATE_ALWAYS_HIDDEN for ImeEditorPopupDialogActivity"
This commit is contained in:
committed by
Android (Google) Code Review
commit
8db173d6c4
@@ -16,6 +16,8 @@
|
||||
|
||||
package com.android.server.wm.flicker.testapp;
|
||||
|
||||
import static android.view.WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.AlertDialog;
|
||||
import android.os.Bundle;
|
||||
@@ -30,6 +32,7 @@ public class ImeEditorPopupDialogActivity extends Activity {
|
||||
WindowManager.LayoutParams p = getWindow().getAttributes();
|
||||
p.layoutInDisplayCutoutMode = WindowManager.LayoutParams
|
||||
.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES;
|
||||
p.softInputMode = SOFT_INPUT_STATE_ALWAYS_HIDDEN;
|
||||
getWindow().setAttributes(p);
|
||||
LinearLayout layout = new LinearLayout(this);
|
||||
layout.setOrientation(LinearLayout.VERTICAL);
|
||||
|
||||
Reference in New Issue
Block a user