diff options
author | Rob Samblanet <rob.samblanet@garmin.com> | 2018-10-23 12:52:06 -0500 |
---|---|---|
committer | Corey Pendleton <corey.pendleton@garmin.com> | 2019-04-15 17:08:54 +0000 |
commit | 327c8a805e508303c245020123ec3ecbfd2c898b (patch) | |
tree | 119e80472de1a8029342754b4cc23bb05d8dedae /tests/auto/tools/uic | |
parent | 093a1a6232083e5b9c18a9e85e5759ba3ce280fb (diff) |
android: Properly indicate successful Qt install
This patch ensures that installed files are written to physical disk
before the 'cache.version' file is written.
QtLoader.java uses the 'cache.version' file written during
self-installation to indicate whether re-installation is necessary.
The 'cache.version' file, however, was being written at the start of
installation, so its existence merely indicated that the installation
was attempted. In the case of power loss during installation, the
existence of 'cache.version' would prevent retrying installation on the
next launch, so the bad installation was irrecoverable.
[ChangeLog][Android] Fixed an issue where an application installation
would be irrecoverably broken if power loss or a crash occurred during
its first initialization run.
Fixes: QTBUG-71523
Change-Id: If771b223a0a709a994c766eea5a4ba14ae95201e
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'tests/auto/tools/uic')
0 files changed, 0 insertions, 0 deletions