From 539361f27496019a5b35fffdb051bd3fa331f03b Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Fri, 20 Dec 2024 16:50:35 +0100 Subject: [PATCH] move ScreenReaderStateManager to module where it is used GitOrigin-RevId: a4220c48e310b941ef769cdfbec90a7f65adaf36 --- .../platform/ide/bootstrap}/ScreenReaderStateManager.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename platform/platform-impl/{src/com/intellij/ide => bootstrap/src/com/intellij/platform/ide/bootstrap}/ScreenReaderStateManager.kt (86%) diff --git a/platform/platform-impl/src/com/intellij/ide/ScreenReaderStateManager.kt b/platform/platform-impl/bootstrap/src/com/intellij/platform/ide/bootstrap/ScreenReaderStateManager.kt similarity index 86% rename from platform/platform-impl/src/com/intellij/ide/ScreenReaderStateManager.kt rename to platform/platform-impl/bootstrap/src/com/intellij/platform/ide/bootstrap/ScreenReaderStateManager.kt index 7cc998c91a67..c5b649092121 100644 --- a/platform/platform-impl/src/com/intellij/ide/ScreenReaderStateManager.kt +++ b/platform/platform-impl/bootstrap/src/com/intellij/platform/ide/bootstrap/ScreenReaderStateManager.kt @@ -1,13 +1,14 @@ -// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. -package com.intellij.ide +// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license. +package com.intellij.platform.ide.bootstrap +import com.intellij.ide.GeneralSettings import com.intellij.openapi.application.impl.RawSwingDispatcher -import com.intellij.openapi.components.Service import com.intellij.openapi.components.serviceAsync import com.intellij.util.ui.accessibility.ScreenReader import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.launch import kotlinx.coroutines.withContext +import com.intellij.openapi.components.Service @Service(Service.Level.APP) internal class ScreenReaderStateManager(coroutineScope: CoroutineScope) {