Commit graph

9314 commits

Author SHA1 Message Date
Treehugger Robot
176a6c4964 Merge "Remove magic code to flash the screen" 2021-07-27 20:23:22 +00:00
Kelvin Zhang
99d53f88ee Remove magic code to flash the screen
The code is originally introduced in aosp/87740 , not sure why
it's necessary to do `blank(true); blank(false);` . Partners have
complained that such code causes device's screen to flicker, so remove
it.

Test: th
Bug: 194757527
Change-Id: I271883ea8c96a5612283aa34806b18e1590288f6
2021-07-27 12:48:20 -04:00
Treehugger Robot
11b041710b Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-07-04 15:48:41 +00:00
Bill Yi
e98dac63c8 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I41664a496a05c88909750171841f6acf39d4c8ba
2021-07-03 18:29:22 -07:00
Treehugger Robot
910adf418b Merge "Use recovery variant for librecovery_ui_ext" 2021-06-30 23:24:09 +00:00
Inseob Kim
5d4dea1618 Use recovery variant for librecovery_ui_ext
It's installed to recovery, so it should use recovery variants.

Bug: 192312249
Test: boot and enter recovery mode
Change-Id: I99eafa756ba071e37c7ee60a8da210385378710b
2021-06-30 15:08:16 +09:00
Xin Li
d326488958 Merge "DO NOT MERGE - Merge RQ3A.210605.005" 2021-06-21 05:49:05 +00:00
Xin Li
492cc4c639 DO NOT MERGE - Merge RQ3A.210605.005
Bug: 190855093
Merged-In: Ieed7c5966700bdda4ffd51c108d4c02a58b6b452
Change-Id: Ifbd9c70b096132bfe7377c330b78f545d2ace93f
2021-06-18 12:24:33 -07:00
Xin Li
c921adfabf DO NOT MERGE - Mark RQ3A.210410.001 as merged
Bug: 190855093
Merged-In: I816926c0ed685b880a8aac520d654e653347cc8a
Change-Id: Ieed7c5966700bdda4ffd51c108d4c02a58b6b452
2021-06-17 22:43:24 -07:00
Treehugger Robot
5626984392 Merge "DO NOT MERGE - Merge ab/7272582" am: aff8d9e93d
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1735955

Change-Id: I816926c0ed685b880a8aac520d654e653347cc8a
2021-06-14 07:26:36 +00:00
Xin Li
23a9661d5c DO NOT MERGE - Merge ab/7272582 am: 2bbaa4f010
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1735955

Change-Id: Ie902dada52f19a5bf62a9732c9df3ed5e1626c30
2021-06-14 07:26:23 +00:00
Treehugger Robot
aff8d9e93d Merge "DO NOT MERGE - Merge ab/7272582" 2021-06-14 07:12:31 +00:00
Xin Li
2bbaa4f010 DO NOT MERGE - Merge ab/7272582
Bug: 190855093
Change-Id: Id4ff748fba2ba8d672ee862c15ff3ab4bf37025a
2021-06-11 17:34:02 -07:00
Kelvin Zhang
334cff9cca Merge "Add caremap proto target for release tools" am: 3ac7598c61
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1725932

Change-Id: I4f8d69712ba321d50db415deed27689426a79d69
2021-06-06 23:17:13 +00:00
Kelvin Zhang
3ac7598c61 Merge "Add caremap proto target for release tools" 2021-06-06 22:56:49 +00:00
Kelvin Zhang
b4b619ce52 Add caremap proto target for release tools
Test: th
Change-Id: I389a210e723ee179caf5f02f2bcb257c524fb076
2021-06-03 16:03:02 -04:00
Kelvin Zhang
b30df4cd74 Merge "Check SPL downgrade before install OTA in recovery" am: bbde214b48
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1708986

Change-Id: I6513ee1cdefa33c2c4f7a45c4919c789026889c9
2021-05-19 13:15:18 +00:00
Kelvin Zhang
bbde214b48 Merge "Check SPL downgrade before install OTA in recovery" 2021-05-19 12:59:43 +00:00
Treehugger Robot
d9a29a428d Merge "use create_dumb.size as size of buffer" am: adcddf8555
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1658139

Change-Id: If7f2e545739f6e17c0edc9dda2eb8e1d1f554c83
2021-05-18 01:47:14 +00:00
Treehugger Robot
adcddf8555 Merge "use create_dumb.size as size of buffer" 2021-05-18 01:21:57 +00:00
Kelvin Zhang
33c62fc4b8 Check SPL downgrade before install OTA in recovery
Applying an SPL downgrade package can cause boot failures
(/data failed to decrypt). Today's ota_from_target_files
tool already try to prevent this. But Packages generated
using older tools are still around.

Add check in recovery to prevent such OTA package from
installing.

Test: th
Test: Sideload an OTA with newer SPL, make sure check passes
Test; Sideload an OTA with older SPL, make sure check fails

Bug: 186581246

Change-Id: Icffe8097521c511e151af023a443ccbb4b59e22c
2021-05-17 16:25:00 -04:00
Kelvin Zhang
90f783f3ca use create_dumb.size as size of buffer
According to `man drm-memory` , "The size field contains the absolute
size in bytes of the buffer. This can normally also be computed with
(height * pitch + width) * bpp / 4". Which suggests that we should use
the .size field to allocate buffer.

Test: th
Test: go to recovery, make sure contents are properly displayed.

BYPASS_INCLUSIVE_LANGUAGE_REASON=commit message referenced "man",
        which is a linux command for lookup manual pages.

Change-Id: I512be6b7d493ef1783f2b7f746e279bc1dfe65f2
2021-05-17 16:25:00 -04:00
Treehugger Robot
e17d51b01e [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" am: 9df2d8e6bd -s ours
am skip reason: subject contains skip directive

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1684570

Change-Id: I6f89c30082430757bbf12fec6e17d179e766336d
2021-04-22 20:26:05 +00:00
Treehugger Robot
9df2d8e6bd Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-04-22 20:02:03 +00:00
Bill Yi
ad054ca141 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I88d58cbf784b4801d60e7eca5c4d1495dc6bb8fc
2021-04-22 10:11:57 -07:00
Treehugger Robot
b9fbbbb775 Merge "Use gtest_prod_headers." am: 9c7ee78b48
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1681765

Change-Id: Ia0d8223a0a08fd5a2e7c0a8c5a332f104dd9d803
2021-04-21 01:13:54 +00:00
Treehugger Robot
9c7ee78b48 Merge "Use gtest_prod_headers." 2021-04-21 00:53:20 +00:00
Elliott Hughes
a85d7a0936 Use gtest_prod_headers.
Bug: http://b/185916167
Test: treehugger
Change-Id: I3407052df4f12b01acc4a75c6bd0759f7a4b2c4c
2021-04-20 11:58:05 -07:00
Bill Yi
5e7bba7620 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0795c8ddd7d70038a5b6935a6a2a37dde36bb41e
2021-04-12 09:23:11 -07:00
Treehugger Robot
20c3f60afe Merge "Revert "Update ImageGenerator to match the latest font names."" am: 853dd83390 am: 4810c99f09
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1660606

Change-Id: Ic6f5008f010cc24cf7d78c3955ec6d535212e98b
2021-03-31 22:43:42 +00:00
Treehugger Robot
4810c99f09 Merge "Revert "Update ImageGenerator to match the latest font names."" am: 853dd83390
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1660606

Change-Id: Ib1a6d554c29ca3d8fb227c7a153bf810373e9922
2021-03-31 22:16:54 +00:00
Treehugger Robot
853dd83390 Merge "Revert "Update ImageGenerator to match the latest font names."" 2021-03-31 21:49:21 +00:00
Seigo Nonaka
e105751292 Revert "Update ImageGenerator to match the latest font names."
Revert "Rename font file with PostScript based names"

Revert submission 1606485-rename_fonts

Reason for revert: font file name requirement was removed.

Reverted Changes:
Iab8b9d65a:Update ImageGenerator to match the latest font nam...
Ifbe99d68c:Rename the font file with PostScript name based fi...
I307c21531:Rename font file with PostScript based names

Change-Id: Ic8174b4a4a736d9079dee4106bdfa5c440f877bb
Merged-In: I4499dafa3bb3bfcbb8a97dcfd5b4593db467fbd3
2021-03-31 20:38:07 +00:00
android-build-team Robot
3978fd10a6 Snap for 7246159 from ec65618d0c to rvc-qpr3-release
Change-Id: Ie75dbec86a448ac434e9dfac7b6077c516212335
2021-03-30 22:01:50 +00:00
Bill Yi
83881d1754 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: ec65618d0c -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14020467

Change-Id: Id7a24045bf6f73401e76c108dbbd0c1d9da06e68
2021-03-30 01:36:43 +00:00
Bill Yi
ec65618d0c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibd642425552b2e15021dfa896ee9e731e0ba8b59
2021-03-29 11:06:08 -07:00
android-build-team Robot
f4f21cda32 Snap for 7239954 from c882b4b282 to rvc-qpr3-release
Change-Id: I7c54e91989016e25830c7e400b603b9078b9199f
2021-03-27 21:00:31 +00:00
Bill Yi
7fc385e9a0 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c882b4b282 -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/14006646

Change-Id: I01bc904d82ab77e621e26ed541a9d98d95e083e4
2021-03-26 22:08:10 +00:00
Bill Yi
c882b4b282 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifbac1882a2293492cbcca5919aac3d910a5dbce3
2021-03-26 13:11:06 -07:00
android-build-team Robot
399f506b0a Snap for 7236906 from a6915b249c to rvc-qpr3-release
Change-Id: I6dcfb9eb981ce9fcb10fa2d3b454bbcd46cc48c2
2021-03-25 22:00:49 +00:00
Treehugger Robot
467ee43e6e Merge "Fix flaky tests by require root for minadbd_tests" am: f820e62701 am: d66516ea7c am: c5a1b2af59 am: a6915b249c
Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/13974662

Change-Id: I01563e75274c92667091643365dcb9a2cef60853
2021-03-25 01:32:38 +00:00
Treehugger Robot
a6915b249c Merge "Fix flaky tests by require root for minadbd_tests" am: f820e62701 am: d66516ea7c am: c5a1b2af59
Original change: https://googleplex-android-review.googlesource.com/c/platform/bootable/recovery/+/13974662

Change-Id: I17ed667f26a500d19b6110c992b01e8448e7f7bc
2021-03-25 01:13:18 +00:00
Treehugger Robot
c5a1b2af59 Merge "Fix flaky tests by require root for minadbd_tests" am: f820e62701 am: d66516ea7c
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1409248

Bug: 183523550

Change-Id: I8ba2762b11802ba60bc79fe4ae5fe6eea3437cd6
(cherry picked from commit bc606682d2)
2021-03-23 17:43:57 -04:00
Tianjie Xu
4a3144a6ae Merge "Bring up the erase animation early for data wipe" am: 8082b71f45 am: b845427da8
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1613899

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I28eb1cda0232a83d286c5eb373400308a1cac530
2021-03-11 06:26:21 +00:00
Tianjie Xu
b845427da8 Merge "Bring up the erase animation early for data wipe" am: 8082b71f45
Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1613899

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I18db841d673928dbefe97142cbdafd6f4c61db51
2021-03-11 05:53:06 +00:00
Tianjie Xu
8082b71f45 Merge "Bring up the erase animation early for data wipe" 2021-03-11 05:30:17 +00:00
android-build-team Robot
cce3fe842a Snap for 7185379 from 68a4bc03b1 to rvc-qpr3-release
Change-Id: I656c11cbb0b7180ae0945fbfae462efd9a44c8cf
2021-03-04 23:02:01 +00:00
Xin Li
16da08890d [automerger skipped] Merge "Merge RQ2A.210305.007" am: a952c55faf -s ours am: fc8f576c00 -s ours
am skip reason: Change-Id I90dcd247e1541f3bf7f16d95c7cef6256ae462aa with SHA-1 4de32b2fb2 is in history

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1613620

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I533c0928c0091a1ace15c08771fbf36f64fc2a68
2021-03-03 23:37:00 +00:00
Xin Li
fc8f576c00 [automerger skipped] Merge "Merge RQ2A.210305.007" am: a952c55faf -s ours
am skip reason: Change-Id I90dcd247e1541f3bf7f16d95c7cef6256ae462aa with SHA-1 4de32b2fb2 is in history

Original change: https://android-review.googlesource.com/c/platform/bootable/recovery/+/1613620

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6a191eaa3a0abbe1d379f65d9475d0c54bd01c44
2021-03-03 22:28:34 +00:00
Xin Li
a952c55faf Merge "Merge RQ2A.210305.007" 2021-03-03 21:41:37 +00:00