Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8db173d6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Set SOFT_INPUT_STATE_ALWAYS_HIDDEN for ImeEditorPopupDialogActivity"

parents 48900f82 9b758e6d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);