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

Commit c2b0bb35 authored by lumark's avatar lumark Committed by android-build-merger
Browse files

Merge "Don't update process-level configutaion for MSIME process" into qt-dev

am: 0cb41240

Change-Id: Idd81abe1378b9406bf38563da2431e8ea88e69b4
parents dedf9192 0cb41240
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -224,6 +224,7 @@ import android.view.IRecentsAnimationRunner;
import android.view.RemoteAnimationAdapter;
import android.view.RemoteAnimationDefinition;
import android.view.WindowManager;
import android.view.inputmethod.InputMethodSystemProperty;

import com.android.internal.R;
import com.android.internal.annotations.VisibleForTesting;
@@ -6436,6 +6437,10 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
         */
        @Override
        public void onImeWindowSetOnDisplay(final int pid, final int displayId) {
            // Update display configuration for IME process only when Single-client IME window
            // moving to another display.
            if (!InputMethodSystemProperty.MULTI_CLIENT_IME_ENABLED) return;

            if (pid == MY_PID || pid < 0) {
                if (DEBUG_CONFIGURATION) {
                    Slog.w(TAG,