Loading libs/WindowManager/Shell/src/com/android/wm/shell/freeform/FreeformTaskListener.java +0 −9 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ package com.android.wm.shell.freeform; import static android.app.WindowConfiguration.WINDOWING_MODE_UNDEFINED; import static android.content.pm.PackageManager.FEATURE_FREEFORM_WINDOW_MANAGEMENT; import static android.provider.Settings.Global.DEVELOPMENT_ENABLE_FREEFORM_WINDOWS_SUPPORT; Loading @@ -28,7 +27,6 @@ import android.provider.Settings; import android.util.Slog; import android.util.SparseArray; import android.view.SurfaceControl; import android.window.WindowContainerTransaction; import com.android.internal.protolog.common.ProtoLog; import com.android.wm.shell.ShellTaskOrganizer; Loading Loading @@ -85,13 +83,6 @@ public class FreeformTaskListener implements ShellTaskOrganizer.TaskListener { Slog.e(TAG, "Task already vanished: #" + taskInfo.taskId); return; } // Clears windowing mode and window bounds to let the task inherits from its new parent. final WindowContainerTransaction wct = new WindowContainerTransaction(); wct.setBounds(taskInfo.token, null) .setWindowingMode(taskInfo.token, WINDOWING_MODE_UNDEFINED); mSyncQueue.queue(wct); ProtoLog.v(ShellProtoLogGroup.WM_SHELL_TASK_ORG, "Freeform Task Vanished: #%d", taskInfo.taskId); mTasks.remove(taskInfo.taskId); Loading Loading
libs/WindowManager/Shell/src/com/android/wm/shell/freeform/FreeformTaskListener.java +0 −9 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ package com.android.wm.shell.freeform; import static android.app.WindowConfiguration.WINDOWING_MODE_UNDEFINED; import static android.content.pm.PackageManager.FEATURE_FREEFORM_WINDOW_MANAGEMENT; import static android.provider.Settings.Global.DEVELOPMENT_ENABLE_FREEFORM_WINDOWS_SUPPORT; Loading @@ -28,7 +27,6 @@ import android.provider.Settings; import android.util.Slog; import android.util.SparseArray; import android.view.SurfaceControl; import android.window.WindowContainerTransaction; import com.android.internal.protolog.common.ProtoLog; import com.android.wm.shell.ShellTaskOrganizer; Loading Loading @@ -85,13 +83,6 @@ public class FreeformTaskListener implements ShellTaskOrganizer.TaskListener { Slog.e(TAG, "Task already vanished: #" + taskInfo.taskId); return; } // Clears windowing mode and window bounds to let the task inherits from its new parent. final WindowContainerTransaction wct = new WindowContainerTransaction(); wct.setBounds(taskInfo.token, null) .setWindowingMode(taskInfo.token, WINDOWING_MODE_UNDEFINED); mSyncQueue.queue(wct); ProtoLog.v(ShellProtoLogGroup.WM_SHELL_TASK_ORG, "Freeform Task Vanished: #%d", taskInfo.taskId); mTasks.remove(taskInfo.taskId); Loading