Merge "Extract the platform signals handling into settingslib"