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:
@@ -146,8 +146,8 @@ public:
|
||||
QString toolchainHost(const QtSupport::BaseQtVersion *qtVersion) const;
|
||||
QString toolchainHostFromNdk(const Utils::FilePath &ndkPath) const;
|
||||
|
||||
unsigned partitionSize() const;
|
||||
void setPartitionSize(unsigned partitionSize);
|
||||
QStringList emulatorArgs() const;
|
||||
void setEmulatorArgs(const QStringList &args);
|
||||
|
||||
bool automaticKitCreation() const;
|
||||
void setAutomaticKitCreation(bool b);
|
||||
@@ -215,7 +215,7 @@ private:
|
||||
Utils::FilePath m_openJDKLocation;
|
||||
Utils::FilePath m_keystoreLocation;
|
||||
Utils::FilePath m_openSslLocation;
|
||||
unsigned m_partitionSize = 1024;
|
||||
QStringList m_emulatorArgs;
|
||||
bool m_automaticKitCreation = true;
|
||||
QUrl m_sdkToolsUrl;
|
||||
QByteArray m_sdkToolsSha256;
|
||||
|
||||
Reference in New Issue
Block a user