Changes needed to build the new directory
frameworks/base/docs/html/work. Support for
resource cards and navigation.
bug: 27744376
Change-Id: I8556eb0e2cf86eb83be395a97306d220394827cd
am: 18840d1ecb
* commit '18840d1ecbeeb4691e61a5745757c56af95d87fc':
Updated default.css and docs.js for DoD transition fallback.
Change-Id: I2b1a4174aee4c85df917431135529798790fd8cf
am: 613cf217cf
* commit '613cf217cf3f60cadd6235e0336df2e076588e3c':
Updated default.css and docs.js for DoD transition fallback.
Change-Id: I4025f00dd7958af44c2aa3475f3ac397246e55e6
am: 4d5bcbf62a
* commit '4d5bcbf62a0cc6ec1db0c860a818b6166dceed74':
Updated default.css and docs.js for DoD transition fallback.
Change-Id: I22a7466baee5d752542000565afb826eef06c96d
am: 9594b9991f
* commit '9594b9991f78e9891b530eccdb5c72c0e7343c75':
remove silly css hack that's no longer needed in the new site design, but which now actually causes layout problems.
Change-Id: I91789079b83a42ab562bf1be84c6313c47185d3a
am: 1db6c2f315
* commit '1db6c2f315c5bb4068325eb2f431a36c8d3c14ba':
remove silly css hack that's no longer needed in the new site design, but which now actually causes layout problems.
Change-Id: I050f42c42fd200ce4b6613945ffdc3a92f9fd0a9
We used to erase all the unused blocks at the end of an update. In order
to work around the eMMC issue in b/28347095, we move part of the erase
commands, which won't be used during the update, to the beginning. The
reset would be erased at the end. This is in hopes of avoiding eMMC
getting starved for clean blocks which would otherwise fail an OTA.
Bug: 28347095
Change-Id: Ia96b06216b35d6700858687a66734af36d0ec213
am: 68d68d9f0f
* commit '68d68d9f0f4434abb861a90bf5ff6ba5b1c98321':
remove left nav from any remaining sdk/ and tools/ pages. There are still some sdk/ pages but all tools/ pages are gone, so although we could just ignore such pages, better safe than sorry, so going to catch those too.
Change-Id: If633ef35502fb79d0735d7bf39862e2d7a715938
am: a4da48a31f
* commit 'a4da48a31f52c9ea98855a2af4f5a7f9f405d13c':
remove left nav from any remaining sdk/ and tools/ pages. There are still some sdk/ pages but all tools/ pages are gone, so although we could just ignore such pages, better safe than sorry, so going to catch those too.
Change-Id: I055deb6bfb3761b0e6486cfe6b9c4c311f20e0c8
There are still some sdk/ pages but all tools/ pages are gone,
so although we could just ignore such pages, better safe than sorry,
so going to catch those too.
Change-Id: Iaa16fcbf88db39f38b8d5f0dee5f8ab068664f3c
Per instructions from DD and JF, changing the top-level go/
directory to topic/ ; as a result, I'm going into AK's recent CLs
(in which she added infrastructure for the new go/ directory)
and changing those too.
See first comment for doc stage location.
bug: 28558659
Change-Id: Iaa10f1a9f7477b00f6bfaa748039d146dfb292fe
am: cb380fcbe3
* commit 'cb380fcbe35399226b51055bdffc38b2952a557d':
Update path to be absolute instead of relative
Change-Id: I911f81de6c66d0827ab9b0571599d1a13582025e
am: bd5a129e00
* commit 'bd5a129e0092cbecfa29c970d9055302b9596961':
Update path to be absolute instead of relative
Change-Id: Ieab3056e0f5531a6556a8d49e6b50dd1f2a88c82
am: cece14c2bc
* commit 'cece14c2bc393bfe2deb99c3593e7c6424fd05d3':
Moving preview as a top level category so changing top category from develop to preview
Change-Id: Ie68a233c418e93db7be4a9fc02cc0a1346aefcaf
am: e11fd46903
* commit 'e11fd46903a2e450f15e469cf3ec4a17da22825f':
Moving preview as a top level category so changing top category from develop to preview
Change-Id: I4f0b2af875bdc6eb93bfa568a735e7f63470a12b
commit f54216f292 packed the base_fs files
into target_files.zip and added assertion to ensure the existence of the
files. We don't want to fail the OTA generation for the target_files.zip
without the base_fs files. Change the assertion into warnings instead.
Bug: 28547368
Change-Id: I6fd758a0a4fdfff02d1640fa46cf43d971627e26
am: 56c09c5e6e
* commit '56c09c5e6e9095c9a7b3e4387a81ce1fd2ea1145':
remove the sdk download tables. No longer used now that downloads are in the /studio docs.
Change-Id: I362d830a6ecbe48e99cd0cf77d6d52136fa15a94
Pack the base_fs files ({system,vendor}.map) into target_files.zip,
which would be needed when rebuilding the images at signing.
Reset the base_fs paths to point to the files in META/.
Also add blk_alloc_to_base_fs into otatools.zip.
Bug: 27698960
Change-Id: If4eb274b3f3d839c4365624f46f0dc89bd2fa440
am: f1929d419b
* commit 'f1929d419b5ac003d50e4a2efc18bbeadf81245b':
Generate reference nav to _book.yaml for devsite builds.
Change-Id: Ifda2c3062588bfb8205e59dfcc3d909a62334ddc
am: 16c30a64a6
* commit '16c30a64a66aa141822df3d77277050cf4271524':
Generate reference nav to _book.yaml for devsite builds.
Change-Id: I905d220aef6137863a16556ed24fbf6d14788f7d
am: 532e0accaa
* commit '532e0accaa91468550ce0ddc375629618e8873c2':
Adding top category, subcategory and book path detection for go/libraries
Change-Id: I1264c52ce1a3329ee54565ba14a412144d229647
am: e0b5cb8f29
* commit 'e0b5cb8f297c24a58382baa41d006783c61afd35':
Adding top category, subcategory and book path detection for go/libraries
Change-Id: I2132c0e0e52a0659874e495ac852e037ada17036
Fix for sdk download form b/28425669
Fix for missing 'Develop' text in left nav on preview pages b/28450858
Change-Id: I0b7a5dc26dc3cb4be58aecbbad41cdf62e0331ba
adds JS to save in local storage whether the user already clicked the
survey. The button appears only if they have not clicked it yet.
Change-Id: Ifc5a100a8bb8505c47d95c7cfb5aaa8cdbfdc8bd
(cherry picked from commit f887aec708)
adds JS to save in local storage whether the user already clicked the
survey. The button appears only if they have not clicked it yet.
Change-Id: Ifc5a100a8bb8505c47d95c7cfb5aaa8cdbfdc8bd
am: ce735df
* commit 'ce735dfad2de7598a5f9b76eb50bf0a1d11a94e5':
remove version number from download button at bottom of page.
Change-Id: I55268cba0d6b96018518f36781ffb32ab9b8aa67
am: f11a849
* commit 'f11a8493fd6fd8233312bf51daa94b1929a483a4':
Remove nav toggle and up-nav for desktop size screens and remove breadcrumbs for the Studio docs, because these are not needed when there's only one level of "tabs"
Change-Id: Idd3454b13d41434a4ea0127b33c184af41637be0
am: 25afc40
* commit '25afc407a46d213fb69c4ac33a99c6323c1b8218':
clarify what's in each windows package and rename the other packages to command line tools
Change-Id: Ie9e44bc2146303cc3c0c8ce7cba58d25bf360dae
am: fbbd3fa
* commit 'fbbd3faebd383f86a0befbb4d9a9e0b0d1fd5d02':
remove version number from download button at bottom of page.
Change-Id: I9553335b7e9cb4c3eed12302af300eff55f56a60
am: 7013662
* commit '70136620b6db6b6e6ad69a3eb9b3ad65e3a2edc2':
Remove nav toggle and up-nav for desktop size screens and remove breadcrumbs for the Studio docs, because these are not needed when there's only one level of "tabs"
Change-Id: I4753951b152e35703c01c8cb06373b63ac55b3dd
am: 77ed554
* commit '77ed554f6f0e2e99dbb6f206b9c1eade0fe7f0bf':
change order of windows downloads
Change-Id: I7fcbbeb9ab45aaaa7a7e7e76c6f557b4f3f358ef
am: 6e56ea1
* commit '6e56ea19aa90fbc6e385e33e60271985a8c422bc':
clarify what's in each windows package and rename the other packages to command line tools
Change-Id: Ie9434b0567d5f6b06fe2b9fad9d486c0e58e3c76
When a file is switched from a regular file to a symlink, we should skip
the comparasion.
Bug: 28373409
Change-Id: I8fef00ab9f2d6f811fde1cadf595e8bd46af2dfd
For incremental BBOTAs, commit [1] changed to verify only the touched
blocks to reduce the update time. This CL fixes the bug when there's no
changed block between the two builds.
[1]: commit d522bdc9ed
Bug: 27813356
Bug: 28195498
Change-Id: Ia752d3cf034c544517458ed15df509d4596e21fa
and remove breadcrumbs for the Studio docs, because these are
not needed when there's only one level of "tabs"
Also deleted a strangely redundant screen-size declaration for the header-tabs visiblity.
For now this applies only to Studio docs (body.studio selector).
Later, we should update the Android templates to use a new class
in the body such as "no-global-nav" to trigger these styles
Change-Id: If398814871980b56e3e0484244dee364198d687c
After applying update_target_files_incr_ext4.sh, some files may end up
occupying unsorted block fragments. In one example, an apk file has the
block range [258768-259211,196604]. The monotonic flag in rangelib sets
incorrectly for this example and leads to a bad input file for imgdiff.
After fixing the flag, bsdiff is called instead of imgdiff and the
incremental OTA package generates successfully.
Bug:28053885
(cherry picked from commit cd1e16a761)
Change-Id: If286eb382e59b3084a8313ae853b807e4648e5a2
For incremental BBOTAs, we used to verify the integrity of all the
blocks in the source partition. In order to reduce the time cost under
recovery, this CL changes to only verify the blocks that will be touched
in the given OTA package (BBOTA >= 3 only). This is a trade-off between
performance and reliability.
Bug: 27813356
Change-Id: I3975ae6f461f0f7e58d24f1df7df46a449d2988b
post-install verification calls range_sha1() and checks if the given
partition has expected contents. It takes roughly 20 seconds on
angler with 2.8G system image. Remove it to speed up OTA update. Also
abort the update if block_image_update() fails, as we were relying on
post-install verification to capture block_image_update() failures.
Bug: 27729678
Change-Id: I8123cd8929295ec26df247acf6bb51df813771d9
We were using zipfile.write() to write system/etc/security/otacerts.zip
when signing for release. It led to unexpected timestamp change in the
generated otacerts.zip and non-idempotent signed images when signing the
same target_files.zip.
Replace with common.ZipWrite() to always use a fixed timestamp.
Bug: 28122968
Change-Id: Ia6cf4b7d380cbf72ed7050ebb60c932dc8826d87
Use 'chmod +x' to make sure that they're executable, even if the source
file is not.
Bug: 28097475
Change-Id: Id155f6b4ff188f5c909fd6237fd64183af264f79
(cherry picked from commit 08420cbc8a)
Large merge to reconnect automerger for docs branch to mainline.
Conflicts:
tools/droiddoc/templates-sdk/assets/css/default.css
tools/droiddoc/templates-sdk/sdkpage.cs
Issue: 28000173
Change-Id: If04c741090d99d384981b8b3554edc58eb82dd0e
Revise the redirect behavior once download completes.
Add more appropriate title and download message when installing SDK tools only.
Force refresh when the Studio download dialog is dismissed, to avoid leaving the dialog in stale state.
Add styles for the Studio download page.
Change-Id: Ibc4ddb4a6130ab8bd8d6044472022465829f2000
APK entry alignment logic assumes that input entries have zero-length
comment and extra fields. When the assumption is broken, the logic
silently breaks alignment of output entries. This happens, for
example, when the APK to be signed is already aligned and thus may
contain entries with non-empty extra fields.
Given that APKs are not supposed to use comment and extra fields for
anything useful and given that this signer already discards comment
and extra fields of compressed entries, this change makes the signer
discard comment and extra fields of STORED input entries as well.
This unbreaks the existing alignment logic.
Bug: 27814973
(cherry picked from commit 37a0ecd329)
Change-Id: If2e0df6d3298e9736ef175bb0d9a05d450164c9f
no longer needed, as the standard templates now have conditions to handle the reference only design.
bug: 27667787
Change-Id: I7c627ad4cace0bb1c77c494b3052eca3c9609a5c
fixes bug 27695580, which was caused because I previously
submitted an update to the code doclava templates to do this but
did not update the current site templates in kind.
Change-Id: I33a4ef90359838c02def90beb486e5a2dc21cbf7
* Zip EoCD record comment length was referred to as 32-bit whereas it
is a 16-bit field. The implementation was fine, but the comment and
the naming of a constant were wrong.
* System.out.println was left over from early prototyping days.
Removed.
Bug: 25794543
(cherry picked from commit 82bf99bb4e)
Change-Id: I9845b5fa096859d67b306f4b9b6c205cad622c0c
and put the version number in the secondary nav bar (it was there anyway).
Change-Id: I4b49581eca6afa445a434cd6ae31572d01f276ef
(cherry picked from commit 06bdd78284)
We use a bitset for blocks in the target image to assert a block hasn't
been touched before reading. Skip checking the blocks that are in the
source image only.
Bug: 27556903
Change-Id: I3a77292da673c813bd20d8dc177ff36419d8ecae
(cherry picked from commit dca2200c8a)
We used to use the update-binary from the target build when creating
incremental OTAs. But for downgrade OTAs, we should use the one in the
source build instead, which is actually newer.
Bug: 27556903
Change-Id: Ib6415729b979dbffdebdda24902f7f560942801a
(cherry picked from commit 4996cf03d2)
The only difference is that this changes the masthead.cs file to show a different header.
Change-Id: Id58eb7e8c42a8ab0886f2f5da794fcd108f299ff
(cherry picked from commit 5fea5df99c)