Loading libs/computercontrol/src/com/android/extensions/computercontrol/ComputerControlSession.java +6 −1 Original line number Diff line number Diff line Loading @@ -45,6 +45,7 @@ import com.android.extensions.computercontrol.input.KeyEvent; import com.android.extensions.computercontrol.input.TouchEvent; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.concurrent.Executor; Loading Loading @@ -229,10 +230,14 @@ public final class ComputerControlSession implements AutoCloseable { /** * Returns all windows on the display associated with the {@link ComputerControlSession}. * * @deprecated This method is no longer in use and will be removed in a future release. */ // TODO: b/437852886 - Remove this method when moving to v1 of the API. @Deprecated @NonNull public List<AccessibilityWindowInfo> getAccessibilityWindows() { return mAccessibilityProxy.getWindows(); return Collections.emptyList(); } /** Loading Loading
libs/computercontrol/src/com/android/extensions/computercontrol/ComputerControlSession.java +6 −1 Original line number Diff line number Diff line Loading @@ -45,6 +45,7 @@ import com.android.extensions.computercontrol.input.KeyEvent; import com.android.extensions.computercontrol.input.TouchEvent; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.concurrent.Executor; Loading Loading @@ -229,10 +230,14 @@ public final class ComputerControlSession implements AutoCloseable { /** * Returns all windows on the display associated with the {@link ComputerControlSession}. * * @deprecated This method is no longer in use and will be removed in a future release. */ // TODO: b/437852886 - Remove this method when moving to v1 of the API. @Deprecated @NonNull public List<AccessibilityWindowInfo> getAccessibilityWindows() { return mAccessibilityProxy.getWindows(); return Collections.emptyList(); } /** Loading