Currently you need to use the Refresh button in the remote page
after you change the HTTP/s setting and many users think
instead they need to close/restart the SDK manager.
Change-Id: Ic291d53459624558910bbc417295df5ddc7b037d
import com.android.sdklib.ISdkLog;\r
\r
import org.eclipse.jface.dialogs.MessageDialog;\r
-import org.eclipse.swt.widgets.Display;\r
-import org.eclipse.swt.widgets.Shell;\r
\r
import java.io.File;\r
import java.io.FileInputStream;\r
mSettingsPage.retrieveSettings(mProperties);\r
applySettings();\r
saveSettings();\r
+\r
+ // In case the HTTP/HTTPS setting change, force sources to be reloaded\r
+ // (this only refreshes sources that the user has already tried to open.)\r
+ mUpdaterData.refreshSources(false /*forceFetching*/);\r
}\r
\r
/**\r