forked from qt-creator/qt-creator
Andriod: Check Android SDK pending licenses
Pending licenses are checked before installing any package and the user is provided with an option to agree to license terms and conditions Task-number: QTCREATORBUG-19000 Change-Id: I4e149b4a6ac84c1f336bb7c50b0d62a2019c7868 Reviewed-by: BogDan Vatra <bogdan@kdab.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -48,7 +48,9 @@ public:
|
||||
{
|
||||
None,
|
||||
UpdateAll,
|
||||
UpdatePackage
|
||||
UpdatePackage,
|
||||
LicenseCheck,
|
||||
LicenseWorkflow
|
||||
};
|
||||
|
||||
struct OperationOutput
|
||||
@@ -78,8 +80,11 @@ public:
|
||||
QFuture<QString> availableArguments() const;
|
||||
QFuture<OperationOutput> updateAll();
|
||||
QFuture<OperationOutput> update(const QStringList &install, const QStringList &uninstall);
|
||||
QFuture<OperationOutput> checkPendingLicenses();
|
||||
QFuture<OperationOutput> runLicenseCommand();
|
||||
|
||||
void cancelOperatons();
|
||||
void acceptSdkLicense(bool accept);
|
||||
|
||||
signals:
|
||||
void packageReloadBegin();
|
||||
|
||||
Reference in New Issue
Block a user