forked from qt-creator/qt-creator
Android: describe the warning of am start args more
Change-Id: I12312bfe2aaf7f56be31a9513833a65cba2b036f Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -120,8 +120,10 @@ AndroidRunConfiguration::AndroidRunConfiguration(Target *target, Core::Id id)
|
|||||||
amStartArgsAspect->setHistoryCompleter("Android.AmStartArgs.History");
|
amStartArgsAspect->setHistoryCompleter("Android.AmStartArgs.History");
|
||||||
|
|
||||||
auto warning = addAspect<BaseStringAspect>();
|
auto warning = addAspect<BaseStringAspect>();
|
||||||
|
warning->setDisplayStyle(BaseStringAspect::LabelDisplay);
|
||||||
warning->setLabelPixmap(Icons::WARNING.pixmap());
|
warning->setLabelPixmap(Icons::WARNING.pixmap());
|
||||||
warning->setValue(tr("If the \"am start\" options conflict, the application might not start."));
|
warning->setValue(tr("If the \"am start\" options conflict, the application might not start.\n"
|
||||||
|
"Qt Creator uses: am start -n <package_name>/<Activity_name> [-D]."));
|
||||||
|
|
||||||
auto preStartShellCmdAspect = addAspect<BaseStringListAspect>();
|
auto preStartShellCmdAspect = addAspect<BaseStringListAspect>();
|
||||||
preStartShellCmdAspect->setId(Constants::ANDROID_PRESTARTSHELLCMDLIST);
|
preStartShellCmdAspect->setId(Constants::ANDROID_PRESTARTSHELLCMDLIST);
|
||||||
|
Reference in New Issue
Block a user