forked from qt-creator/qt-creator
		
	Android: Replace AVD partition-size spinbox with emulator args input
The android emulator supports many more command-line startup options than "-partition-size". Let's allow the user to take advantage of the full functionalty, by providing a free-text input field for the options. A link to the online documentation is also provided. As a side-effect, the issue that an overridden parition size can cause the "Cold Boot: different AVD configuration" warning is solved by not having -partition-size by default. Task-number: QTCREATORBUG-24735 Change-Id: I41d7b826133708c7ff447c1e257f62368745dea1 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
		| @@ -278,7 +278,7 @@ bool AndroidAvdManager::startAvdAsync(const QString &avdName) const | ||||
|     if (AndroidConfigurations::force32bitEmulator()) | ||||
|         arguments << "-force-32bit"; | ||||
|  | ||||
|     arguments << "-partition-size" << QString::number(m_config.partitionSize()) | ||||
|     arguments << m_config.emulatorArgs() | ||||
|               << "-avd" << avdName; | ||||
|     qCDebug(avdManagerLog) << "Running command (startAvdAsync):" | ||||
|                            << CommandLine(m_config.emulatorToolPath(), arguments).toUserOutput(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user