This adds the following:
- unzip archives
- if dest dir already exists (typicaly update case),
unzips in a temp dir then swap dirs then delete
the old install. In case of error, the old archive
has not been lost.
- computes stats for download: percentage, speed, time left.
- compute percent for install, on top of progress bar.
The install code will need to move somewhere
out of the window. I think I'll put in the Archive
itself with the window just looping on all archives
and doing some progress bar bookeeping.
This splits the former ProgressTask in 2 parts:
ProgressDialog is just the SWT dialog and ProgressTask
is the task handling.
This helps avoiding confusing SWT Designer each time
I do a change in the logic. Plus it seems cleaner anyway.
The other thing this CL does is implement the pause/close
I originally wanted: the pause button is greyed once used
by the user whilst the task completes. After, it becomes
a "Close" button if there's a result text displayed.
Closing the window using the close box is now the same as
using the pause/close button (to avoid closing the dialog
with a running thread.)
Merge commit 'c7ee895b443a77c5922fdf15436b98ab30730c36'
* commit 'c7ee895b443a77c5922fdf15436b98ab30730c36':
Add an API demo that shows the effets of setting Bitmaps as being purgeable.
Merge commit 'c20f3b5670aa5df697b6ee6881b1c54486055a32'
* commit 'c20f3b5670aa5df697b6ee6881b1c54486055a32':
AI 149491: Add 'android update adb' to generate 3rd party USB vendor list for adb to use.
This includes the following fixes:
- remove potential qemud crash at system boot
- fix GPS fix emulation
- fix inter-emulator networking (DNS resolution helper now behaves correctly on all IPv6-capable systems)
- add -prop <name>=<value> option to add system properties on boot
- allow F5 keybinding for SEARCH on keyboard-less hardware configurations
- allow skins to provide a "search" button
- fixed bad QADD/QSUB/QDADD/QDSUB ARM CPU instructions emulation
Automated import of CL 149496
Merge commit '6eaf0e1afe39436f0335584dbb7f43501fedeb81'
* commit '6eaf0e1afe39436f0335584dbb7f43501fedeb81':
SDK Updater: Placeholder pages for about and settings.
Merge commit '3c502eb060b578c73df13e63aa748ef00bfe3f76'
* commit '3c502eb060b578c73df13e63aa748ef00bfe3f76':
Misc updates on the Sdklib.
Export all ADT packages.
Adds cts test definitions to the testrunner/test_defs.xml.
Adds support for runtest --cts arg, which will run all cts tests.
This temporarily relies on the addition of a 'cts' attribute to the test
definition - a new xml format may be defined later that changes how cts tests
are identified.
This change is based on previous unsubmitted CL
https://android-git.corp.google.com/g/Gerrit#change,1702. The only delta wrt
to that change is the use of InstrumentationCtsTestRunner.
Update: rebased to latest donut.
Merge commit '213bd6deff91eb629dc90d02437deab5eb494fb7'
* commit '213bd6deff91eb629dc90d02437deab5eb494fb7':
Added the mediaapitest, mediarecordertest and stress test in the testrunner.So
Merge commit '55b47f8d7523ec0686dabb466cbe0620f5946cfa'
* commit '55b47f8d7523ec0686dabb466cbe0620f5946cfa':
SDK Updater: Minor change to make composite constructor compliant with
Merge commit '6d73a98d6df871fbd7f19af61d84a2eb1d993b4b' into donut
* commit '6d73a98d6df871fbd7f19af61d84a2eb1d993b4b':
AI 149478: Reorganized the PDK TOC.
Merge commit '66620a8d4263dbb87746c54a0da36037878b70bc'
* commit '66620a8d4263dbb87746c54a0da36037878b70bc':
Fix ChangeLog, since we're rebuilding 1.5_r1, no need to list previous changes.
Merge commit '3e035afa638c710bbf4f4a31c657d2b6ac65838a'
* commit '3e035afa638c710bbf4f4a31c657d2b6ac65838a':
Add docs/SYSTEM-ISSUES.TXT to list important system issues that NDK developers should be aware of