From b49b07b0cbcecf4d205e3d635b7ac393ccb8d094 Mon Sep 17 00:00:00 2001 From: Kasper Markus Date: Tue, 5 May 2020 12:21:05 +0200 Subject: [PATCH] GPII-4461: Offboarded the screen mirror solution due to instability issues --- .../acceptanceTests/win7_builtIn.json | 4 -- .../deviceReporter/installedSolutions.json | 4 -- testData/preferences/intra_application.json5 | 3 -- testData/solutions/win32.json5 | 51 ------------------- tests/JournalIntegrationTests.js | 12 ----- tests/data/preferences/os_win.json5 | 5 -- .../windows/windows-builtIn-testSpec.js | 12 ----- 7 files changed, 91 deletions(-) diff --git a/testData/deviceReporter/acceptanceTests/win7_builtIn.json b/testData/deviceReporter/acceptanceTests/win7_builtIn.json index 55ceeed80..7468d1866 100644 --- a/testData/deviceReporter/acceptanceTests/win7_builtIn.json +++ b/testData/deviceReporter/acceptanceTests/win7_builtIn.json @@ -91,10 +91,6 @@ "id": "com.microsoft.windows.desktopBackgroundColor" }, - { - "id": "com.microsoft.windows.mirrorScreen" - }, - { "id": "com.microsoft.windows.soundSentry" } diff --git a/testData/deviceReporter/installedSolutions.json b/testData/deviceReporter/installedSolutions.json index ff3f394df..f915e9bc8 100644 --- a/testData/deviceReporter/installedSolutions.json +++ b/testData/deviceReporter/installedSolutions.json @@ -144,10 +144,6 @@ "id": "com.microsoft.windows.desktopBackgroundColor" }, - { - "id": "com.microsoft.windows.mirrorScreen" - }, - { "id": "com.microsoft.windows.brightness" }, diff --git a/testData/preferences/intra_application.json5 b/testData/preferences/intra_application.json5 index 0f0800557..bcf3dc314 100644 --- a/testData/preferences/intra_application.json5 +++ b/testData/preferences/intra_application.json5 @@ -10,9 +10,6 @@ "SolidColor": { r: 128, g: 128, b: 128 }, // Transformed to "SolidColorConfig" setting "WallpaperStyle": "6" // Transformed to "Scaling" setting }, - "http://registry.gpii.net/applications/com.microsoft.windows.mirrorScreen": { - "ScreenMirror": true // Transformed to "ScreenMirrorConfig" setting - }, "http://registry.gpii.net/applications/com.microsoft.windows.mouseSettings": { "DoubleClickTime": 500, // Transformed to "DoubleClickTimeConfig" setting "ScrollChars": 5, // Transformed to "ScrollCharsConfig" setting diff --git a/testData/solutions/win32.json5 b/testData/solutions/win32.json5 index be7f1d561..0a6ee9b90 100644 --- a/testData/solutions/win32.json5 +++ b/testData/solutions/win32.json5 @@ -5131,57 +5131,6 @@ } ] }, - "com.microsoft.windows.mirrorScreen": { - "name": "Windows Screen Mirroring", - "contexts": { - "OS": [ - { - "id": "win32", - "version": ">=5.0" - } - ] - }, - "settingsHandlers": { - "configure": { - "type": "gpii.windows.nativeSettingsHandler", - "liveness": "live", - "options": { - "functionName": "ScreenMirror" - }, - "supportedSettings": { - "ScreenMirrorConfig": { - "schema": { - "title": "Screen mirroring", - "description": "Mirrors the primary screen into a secondary screen.", - "type": "object", - "properties": { - "value": { - "type": "boolean", - "default": false - } - } - } - } - }, - "capabilitiesTransformations": { - "ScreenMirrorConfig": { - "value": "http://registry\\.gpii\\.net/applications/com\\.microsoft\\.windows\\.mirrorScreen.ScreenMirror" - } - }, - "inverseCapabilitiesTransformations": { - "http://registry\\.gpii\\.net/applications/com\\.microsoft\\.windows\\.mirrorScreen.ScreenMirror": "ScreenMirrorConfig.value" - } - } - }, - "configure": [ - "settings.configure" - ], - "isInstalled": [ - { - "type": "gpii.deviceReporter.alwaysInstalled" - } - ] - }, "com.microsoft.windows.cursors": { "name": "Windows Cursors", "contexts": { diff --git a/tests/JournalIntegrationTests.js b/tests/JournalIntegrationTests.js index 753a6884e..2f3966f90 100644 --- a/tests/JournalIntegrationTests.js +++ b/tests/JournalIntegrationTests.js @@ -189,18 +189,6 @@ gpii.tests.journal.initialSettings = { "functionName": "Volume" } } - ], - "com.microsoft.windows.mirrorScreen": [ - { - "settings": { - "ScreenMirrorConfig": { - "value": false - } - }, - "options": { - "functionName": "ScreenMirror" - } - } ] } }; diff --git a/tests/data/preferences/os_win.json5 b/tests/data/preferences/os_win.json5 index affae8872..0cd9da61f 100644 --- a/tests/data/preferences/os_win.json5 +++ b/tests/data/preferences/os_win.json5 @@ -262,11 +262,6 @@ "InsertSpace": 0, "Dock": 0 }, - "http://registry.gpii.net/applications/com.microsoft.windows.mirrorScreen": { - "ScreenMirrorConfig": { - "value": false - } - }, "http://registry.gpii.net/applications/com.microsoft.windows.soundSentry": { "WindowsEffect": 2 }, diff --git a/tests/platform/windows/windows-builtIn-testSpec.js b/tests/platform/windows/windows-builtIn-testSpec.js index 66c64360a..770862986 100644 --- a/tests/platform/windows/windows-builtIn-testSpec.js +++ b/tests/platform/windows/windows-builtIn-testSpec.js @@ -109,18 +109,6 @@ gpii.tests.windows.builtIn = [ "functionName": "Volume" } } - ], - "com.microsoft.windows.mirrorScreen": [ - { - "settings": { - "ScreenMirrorConfig": { - "value": false - } - }, - "options": { - "functionName": "ScreenMirror" - } - } ] }, "gpii.windows.spiSettingsHandler": {