Commit Graph

2948 Commits

Author SHA1 Message Date
Tao Bao
726b7f338f Fix the broken signing script
check_target_files_signatures.py was accidentally broken due to the
renaming of a variable in last commit. It escaped the checking from
pylint because it was a keyword ('all').

Bug: 21611858
Change-Id: I58c983e59c4a3e0018481d3c9ba328ed76f5c08a
2015-06-03 17:36:12 -07:00
Tao Bao
5fcaaeffc3 Add post-install verification for BBOTAs
Similar to the assertations in file-based OTA, we perform verification
for block-based OTAs (BBOTAs) after updating a partition, for both of
the incremental and full OTAs. It increases the update time (~20s on
Nexus 6), but will capture unnoticed errors right away.

Bug: 21500869
Change-Id: I0f8b27734caaa0f41f9c1b904d55af2112784a68
(cherry picked from commit 68658c0f4f)
2015-06-02 11:15:33 -07:00
Dirk Dougherty
bdbf074186 am f89524c8: am 6c231420: Merge "increment metadata versions." into mnc-preview-docs
* commit 'f89524c80bb2fa6550fff1ff3bed6a257a80f64a':
  increment metadata versions.
2015-05-28 21:36:26 +00:00
Dirk Dougherty
f89524c80b am 6c231420: Merge "increment metadata versions." into mnc-preview-docs
* commit '6c2314206fd4500500062fa2f774d4deb498ec58':
  increment metadata versions.
2015-05-28 21:24:53 +00:00
Dirk Dougherty
6c2314206f Merge "increment metadata versions." into mnc-preview-docs 2015-05-28 21:07:43 +00:00
Dirk Dougherty
81e39c3e9d increment metadata versions.
Change-Id: I6e620f7ec2059ed864ebaad68585c4f97e2caf46
2015-05-28 14:06:12 -07:00
Dirk Dougherty
b9c103680e am fa370efd: am 11d3d486: Increment css versions for appengine\'s benefit.
* commit 'fa370efd837324524ff4f49202fe8f99a9ff52f6':
  Increment css versions for appengine's benefit.
2015-05-28 20:24:07 +00:00
Dirk Dougherty
fa370efd83 am 11d3d486: Increment css versions for appengine\'s benefit.
* commit '11d3d4864d1efc588b2291ac5087ff94ba34b2a1':
  Increment css versions for appengine's benefit.
2015-05-28 20:08:34 +00:00
Dirk Dougherty
11d3d4864d Increment css versions for appengine's benefit.
Change-Id: I2fd9bff3a537904cc47273c0eedcc33ea301a4a0
2015-05-28 12:50:24 -07:00
Dirk Dougherty
d1f1588988 am ab6b54b8: am 3d05504e: Merge "Add download button disabled state to sdk css." into mnc-preview-docs
* commit 'ab6b54b874c38e4ca5b97392f7f21d3494c72140':
  Add download button disabled state to sdk css.
2015-05-28 07:38:07 +00:00
Dirk Dougherty
ab6b54b874 am 3d05504e: Merge "Add download button disabled state to sdk css." into mnc-preview-docs
* commit '3d05504e2d4091854c2ec1af06de8c54429ca1fc':
  Add download button disabled state to sdk css.
2015-05-28 07:21:44 +00:00
Dirk Dougherty
3d05504e2d Merge "Add download button disabled state to sdk css." into mnc-preview-docs 2015-05-28 07:07:47 +00:00
Joe Fernandez
2f45337f6e am b9bc5726: am 52d8d3d3: docs: Increment all JS resource references to force refresh
* commit 'b9bc5726c3df57b4824fd6f12b8c47475364c93a':
  docs: Increment all JS resource references to force refresh
2015-05-28 02:01:23 +00:00
Joe Fernandez
b9bc5726c3 am 52d8d3d3: docs: Increment all JS resource references to force refresh
* commit '52d8d3d3eda6dd9cc261528e804c105bd3fbc654':
  docs: Increment all JS resource references to force refresh
2015-05-28 01:47:05 +00:00
Joe Fernandez
52d8d3d3ed docs: Increment all JS resource references to force refresh
b/21462060

Change-Id: I6335bb8b7ae754af50719a64c8cf7b53c4b51421
2015-05-27 18:22:00 -07:00
Dirk Dougherty
6e46b3185b Add download button disabled state to sdk css.
Change-Id: Iba634208bdc8cf62532f35fb00c640e3f4e59311
2015-05-27 18:18:20 -07:00
Dirk Dougherty
597d244f7a am 26300a8b: am 825c1aa1: Highlight Essentials tab for distribute/tools content.
* commit '26300a8b91892954ca9483d0ba910ff023dddfe3':
  Highlight Essentials tab for distribute/tools content.
2015-05-26 22:06:09 +00:00
Dirk Dougherty
26300a8b91 am 825c1aa1: Highlight Essentials tab for distribute/tools content.
* commit '825c1aa1a7bfe69f6d7e15e76b8eb2be96ddc20c':
  Highlight Essentials tab for distribute/tools content.
2015-05-26 21:58:39 +00:00
Dirk Dougherty
825c1aa1a7 Highlight Essentials tab for distribute/tools content.
Change-Id: I8cc4a73dc1b507940d02b8e40e03aed966ab44b0
2015-05-26 14:45:09 -07:00
Dirk Dougherty
bc4dc42b2d am faa0de64: am abb97087: update logo icons for sdk/ndk.
* commit 'faa0de643c742435b026e09805b2313c64c88962':
  update logo icons for sdk/ndk.
2015-05-25 22:41:05 +00:00
Dirk Dougherty
faa0de643c am abb97087: update logo icons for sdk/ndk.
* commit 'abb9708756d7d8e7eb355c8982174fc8457bb202':
  update logo icons for sdk/ndk.
2015-05-25 22:28:00 +00:00
Dirk Dougherty
abb9708756 update logo icons for sdk/ndk.
Change-Id: Icb8f3d6e0bbc8b00881b7b2dc705bae5ac70a4a0
2015-05-25 15:15:46 -07:00
Brian Carlstrom
903186f938 Use zipalign -p to page align .so files
Bug: 21400810
Change-Id: Ie9a0ec0a55511383596016e830b474c76754277a
2015-05-22 15:51:19 -07:00
Dirk Dougherty
632c5203c1 am f1d8a76d: am cbe032f8: Sync style changes from external (sync3).
* commit 'f1d8a76dec754849001f56b0697e1690edd8b770':
  Sync style changes from external (sync3).
2015-05-22 20:44:15 +00:00
Dirk Dougherty
f1d8a76dec am cbe032f8: Sync style changes from external (sync3).
* commit 'cbe032f87a2fc2b2f954d3be9057d6e4cc845d92':
  Sync style changes from external (sync3).
2015-05-22 20:31:28 +00:00
Dirk Dougherty
cbe032f87a Sync style changes from external (sync3).
Change-Id: I590557ccc3bde1172e80f5a9bc0a2be2f30e23b8
2015-05-22 13:20:16 -07:00
Dirk Dougherty
4475fda037 am 4620dbd5: am cf7a3b9e: Highlight "Preview" subtab on preview pages. Support templating for ndk files within templates-sdk.
* commit '4620dbd5903c2b84181e0fec16615d995b8e8556':
  Highlight "Preview" subtab on preview pages. Support templating for ndk files within templates-sdk.
2015-05-22 18:16:16 +00:00
Dirk Dougherty
4620dbd590 am cf7a3b9e: Highlight "Preview" subtab on preview pages. Support templating for ndk files within templates-sdk.
* commit 'cf7a3b9eb3e17f19ec598e1d77f5bc74751295ac':
  Highlight "Preview" subtab on preview pages. Support templating for ndk files within templates-sdk.
2015-05-22 17:28:34 +00:00
Dirk Dougherty
cf7a3b9eb3 Highlight "Preview" subtab on preview pages. Support templating for ndk files within templates-sdk.
Change-Id: Iade5ac4630c9e763c377ab5749f16832e3ba47b7
2015-05-22 09:42:35 -07:00
Adam Powell
0d007cf6d0 Merge "Initialize ro.build.version.preview_sdk" into mnc-dev 2015-05-21 22:17:41 +00:00
Adam Powell
bdd5e8e7fe Initialize ro.build.version.preview_sdk
Set the initial (version 1!) value for the preview SDK version
readable by apps. If we're on a release version, force it to be 0.

Change-Id: Ib3e6cad1f59cea8e4a781827d4a35dd3620b90f1
2015-05-21 13:49:05 -07:00
Tao Bao
58c1b96165 Fix the permission setting in common.ZipWriteStr()
When passing a ZipInfo instance to common.ZipWriteStr(), the
external_attr attribute should not be overwritten unless specified.
We didn't have the issue previously because we were calling
ZipFile.writestr() directly until [1] merged.

[1] commit 2ed665a033.

Bug: http://b/21309935
Change-Id: I8c0190362c60d7d78965ecfe5e484f8398ddc5f2
(cherry picked from commit 9773465409)
2015-05-20 13:29:03 -07:00
Dirk Dougherty
fd2d4fc975 am 9cf9a6c6: am a8bbfca3: Change "M Preview" tab to "Preview", change "monetize" subtab to "Earn". Highlight preview subtab on preview pages. Change "About" link to latest version of Android.
* commit '9cf9a6c6dcd9d58024dc115a703feb7bc47098bd':
  Change "M Preview" tab to "Preview", change "monetize" subtab to "Earn". Highlight preview subtab on preview pages. Change "About" link to latest version of Android.
2015-05-18 18:49:35 +00:00
Dirk Dougherty
9cf9a6c6dc am a8bbfca3: Change "M Preview" tab to "Preview", change "monetize" subtab to "Earn". Highlight preview subtab on preview pages. Change "About" link to latest version of Android.
* commit 'a8bbfca3d0ba7da40f9348eeb38badda575fe411':
  Change "M Preview" tab to "Preview", change "monetize" subtab to "Earn". Highlight preview subtab on preview pages. Change "About" link to latest version of Android.
2015-05-16 00:32:01 +00:00
Dirk Dougherty
a8bbfca3d0 Change "M Preview" tab to "Preview", change "monetize" subtab to "Earn". Highlight preview subtab on preview pages. Change "About" link to latest version of Android.
Change-Id: I80124a8a05311976a7c373dfdaf5bb984a9c3bc7
2015-05-15 17:05:38 -07:00
Tao Bao
1a833d24c4 Merge "Add support for clobbered blocks" into mnc-dev 2015-05-14 21:54:21 +00:00
David Friedman
8025e2854e am 802f05f0: am 2f9407e1: am f004b114: am 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.
* commit '802f05f0e47ab15955b0c460db0c751b982a6f34':
  Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.
2015-05-14 00:00:12 +00:00
David Friedman
802f05f0e4 am 2f9407e1: am f004b114: am 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.
* commit '2f9407e197242eb3a9db188f901369e09e11a152':
  Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.
2015-05-13 23:46:38 +00:00
David Friedman
2f9407e197 am f004b114: am 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.
* commit 'f004b1149db26f24188eeaa1fe65a4743c4e9b31':
  Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.
2015-05-13 23:30:43 +00:00
David Friedman
f004b1149d am 302e2f9c: Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.
* commit '302e2f9cb58de33c529b6ac02421fb0b63b7fcb0':
  Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download option.
2015-05-13 23:16:45 +00:00
Dirk Dougherty
02a8026143 am 7a72fdd4: am f97b2ef2: Style and template updates to support responsive layout, mobile nav, email signup, updated styles (sync2).
* commit '7a72fdd4e46c907c7deac8e6cd75df156ec244f0':
  Style and template updates to support responsive layout, mobile nav, email signup, updated styles (sync2).
2015-05-13 21:44:39 +00:00
Dirk Dougherty
7a72fdd4e4 am f97b2ef2: Style and template updates to support responsive layout, mobile nav, email signup, updated styles (sync2).
* commit 'f97b2ef21a9940ec7a41c9116a79f9b2a36e0c1d':
  Style and template updates to support responsive layout, mobile nav, email signup, updated styles (sync2).
2015-05-13 21:34:56 +00:00
Dirk Dougherty
f97b2ef21a Style and template updates to support responsive layout, mobile nav, email signup, updated styles (sync2).
Change-Id: I6e33dd10e1c9e8b378080464b4b70ac6b10df8b7
2015-05-13 13:54:09 -07:00
Tao Bao
5ece99d64e Add support for clobbered blocks
In ext4 filesystems, some blocks might be changed even being mounted
R/O, such as the superblock (block 0). We need to exclude such blocks
from integrity verification. Plus such blocks should always be
written to the target by copying instead of patching.

Bug: http://b/20939131
Change-Id: I657025b7b1ad50d4365e7b18dc39308facfe864e
(cherry picked from commit ff7778166b)
2015-05-13 12:26:04 -07:00
David Friedman
302e2f9cb5 Docs: Modified .cs page to reflect removal of 32-bit Darwin as NDK download
option.

Change-Id: I6ac64b6a2e0f4cca75e043c92a7e0e2395fe71de
2015-05-13 07:10:22 -07:00
Tao Bao
f3282b4a7f Wrap zipfile.write(), writestr() and close()
In order to work around the zip 2GiB limit, we need to wrap the related
functions in zipfile. Calls to those functions should always be replaced
with calls to the wrappers instead.

Bug: 18015246
Change-Id: I499574cee51ec4804bc10cbefe0b17940afed918
(cherry picked from commit 2ed665a033)
2015-05-08 15:53:27 -07:00
Joe Fernandez
ad79cc6741 am c4ef9bb0: am a9d796a4: docs: Add navigation heading for Develop > Preview
* commit 'c4ef9bb08f504c3ca58727403f607cd051edbf5d':
  docs: Add navigation heading for Develop > Preview
2015-05-07 06:42:07 +00:00
Joe Fernandez
c4ef9bb08f am a9d796a4: docs: Add navigation heading for Develop > Preview
* commit 'a9d796a4f9e198f17de6f1a27264b1b4fc9a778a':
  docs: Add navigation heading for Develop > Preview
2015-05-07 06:29:59 +00:00
Joe Fernandez
a9d796a4f9 docs: Add navigation heading for Develop > Preview
Change-Id: I133672c6ecb5e778f49c31d091812ed7b6dc6b24
2015-05-06 22:24:31 -07:00
Dirk Dougherty
0717cb2251 am e94fcf31: am 29e93436: Swap templates-sdk and templates-sdk-dev files to enable redesign builds by default.
* commit 'e94fcf31a08a7cce45171b5f8cce29b50d2cefd8':
  Swap templates-sdk and templates-sdk-dev files to enable redesign builds by default.
2015-05-06 17:13:01 +00:00