Commit Graph

2798 Commits

Author SHA1 Message Date
Tianjie Xu f136e71f7a Merge \\\\"Add docs on regeneration background text image\\\\" am: 5aa2e104c0 am: b02a58740e am: 698f75467a
am: 0df6011d0f

Change-Id: I9bf3d8a5357811700e7e09aec146eaf1969f6eb9
2016-07-29 00:27:34 +00:00
Tianjie Xu 0df6011d0f Merge \\\"Add docs on regeneration background text image\\\" am: 5aa2e104c0 am: b02a58740e
am: 698f75467a

Change-Id: Iec3d77fecaf9edd27ba5e2f217793074db3ff7c9
2016-07-29 00:15:44 +00:00
Tianjie Xu 698f75467a Merge \\"Add docs on regeneration background text image\\" am: 5aa2e104c0
am: b02a58740e

Change-Id: Ib15f443946a97eeb6609b0aab9b91bcd3ca91d4c
2016-07-29 00:12:42 +00:00
Tianjie Xu b02a58740e Merge \"Add docs on regeneration background text image\"
am: 5aa2e104c0

Change-Id: I565fa63de18e0c806f2452c009d97c5ad4ebebc3
2016-07-29 00:09:45 +00:00
Tianjie Xu 5aa2e104c0 Merge "Add docs on regeneration background text image" 2016-07-28 23:52:44 +00:00
Tianjie Xu 9a259772cc Add docs on regeneration background text image
Also add a missing string in the recovery_l10n APP.

Bug: 30415666
Change-Id: Ice2a9f7cad4ebe332b427bc0c7a9adccb6cf3af3
2016-07-28 23:45:45 +00:00
Tianjie Xu 529a369072 Merge \\\\"Regenerate the background text with pngcrush\\\\" am: 7b6263960f am: c6d607f6ba am: a26823d96d
am: 1cd2fda40b

Change-Id: I5f7f0d932c34499438641830e550e7e530433907
2016-07-28 22:54:17 +00:00
Tianjie Xu 1cd2fda40b Merge \\\"Regenerate the background text with pngcrush\\\" am: 7b6263960f am: c6d607f6ba
am: a26823d96d

Change-Id: I3ce35daebb7c77d9f27e55928c0ab4b8878fc944
2016-07-28 22:23:35 +00:00
Tianjie Xu a26823d96d Merge \\"Regenerate the background text with pngcrush\\" am: 7b6263960f
am: c6d607f6ba

Change-Id: Id840cc2ce8a3c50193a72f9083b0f5f65c497dec
2016-07-28 22:20:35 +00:00
Tianjie Xu c6d607f6ba Merge \"Regenerate the background text with pngcrush\"
am: 7b6263960f

Change-Id: I73cf37099340d2ea492f0a178813d36d751c8827
2016-07-28 22:17:36 +00:00
Tianjie Xu 7b6263960f Merge "Regenerate the background text with pngcrush" 2016-07-28 22:09:01 +00:00
Tianjie Xu 489c7780a8 Regenerate the background text with pngcrush
After process the text images with pngquant, I encountered a
image-loading error when doing graphic tests on angler. The command
"pngcrush -c 0 $imagename" resolves this error and gives almost the
same compression rate. So regenerate all the text images with "pngcrush
-c 0"

Bug: 30415666
Test: Run graphics test on angler and the background text looks good.
Change-Id: I5d989c1230e826407287265fc559349a7bd29303
2016-07-28 15:06:49 -07:00
Tianjie Xu bffbd487fc Resolve merge conflicts of 286848e to stage-aosp-master am: 9da825940d am: 53c34ebdc4
am: 03539f5e83

Change-Id: Iea45e9db6cc0719643f9804535916d283843e719
2016-07-28 02:56:50 +00:00
Tianjie Xu 03539f5e83 Resolve merge conflicts of 286848e to stage-aosp-master am: 9da825940d
am: 53c34ebdc4

Change-Id: I54f74a04eb36317bc306fd1db20d4d4fb8a9421e
2016-07-28 02:50:08 +00:00
Tianjie Xu 53c34ebdc4 Resolve merge conflicts of 286848e to stage-aosp-master
am: 9da825940d

Change-Id: Ibbb885ee643e909ff00cd302c62b112c645c68ca
2016-07-28 02:46:38 +00:00
Tianjie Xu 9da825940d Resolve merge conflicts of 286848e to stage-aosp-master
Change-Id: I3bfe781a215e09ebe162af8522972976c110410f
2016-07-27 19:39:43 -07:00
Tianjie Xu 286848e754 Merge "Update background text images under recovery" 2016-07-28 01:44:59 +00:00
Tianjie Xu b7394cdd34 Update background text images under recovery
Update the text images according to the new translations of
"b+sr+Latn", "be-rBY", and "bs-rBA". Also switch to pngquant
which gives a better compression rate.

Bug: 30415666
Change-Id: I6eae5dd7be4c7f1f93c50113822caac9868e0f95
2016-07-28 01:41:55 +00:00
Chih-hung Hsieh acc7ebb92a Merge \\\\"Fix clang-tidy performance warnings.\\\\" am: 2a3b695168 am: 977903da49 am: fc7cbe465f
am: b32823b7e7

Change-Id: If3a8d9d3278711e057c6dc0ac4652374a2f5f985
2016-07-27 20:59:02 +00:00
Chih-Hung Hsieh b32823b7e7 Merge \\\"Fix clang-tidy performance warnings.\\\" am: 2a3b695168 am: 977903da49
am: fc7cbe465f

Change-Id: I06aef6bf6f2865b2b33f90bf539118c39118b09c
2016-07-27 20:56:02 +00:00
Chih-hung Hsieh fc7cbe465f Merge \\"Fix clang-tidy performance warnings.\\" am: 2a3b695168
am: 977903da49

Change-Id: Id3e48c6cf66c6f81ead25dd468bb109ce260f377
2016-07-27 20:53:01 +00:00
Chih-Hung Hsieh 977903da49 Merge \"Fix clang-tidy performance warnings.\"
am: 2a3b695168

Change-Id: I55cadf517ec612f1b03de71ce7ca5cff69bc80d0
2016-07-27 20:49:34 +00:00
Chih-hung Hsieh 2a3b695168 Merge "Fix clang-tidy performance warnings." 2016-07-27 20:40:39 +00:00
Chih-Hung Hsieh 23abfd37a5 Fix clang-tidy performance warnings.
* Use const reference parameter type to avoid unnecessary copy.
* Use more efficient overloaded string methods.

Bug: 30407689
Bug: 30411878
Change-Id: Iefab05c077367f272abf545036b853e8a295c8cd
Test: build with WITH_TIDY=1
2016-07-27 10:19:47 -07:00
Bill Yi d7a9bcf8ad Import translations. DO NOT MERGE am: e49c0d6406 -s ours
am: 8281767f34  -s ours

Change-Id: I8f3d4f4d397bfcd2d0a76d99eefb037343beb593
2016-07-21 04:03:12 +00:00
Bill Yi 8281767f34 Import translations. DO NOT MERGE
am: e49c0d6406  -s ours

Change-Id: I63088d0308aacfce14c75c7508bb04e587014217
2016-07-21 03:59:12 +00:00
Bill Yi e49c0d6406 Import translations. DO NOT MERGE
Change-Id: If24c94c20f8e4c37c119dcaff765e9ee59e48ef4
Auto-generated-cl: translation import
2016-07-20 19:24:24 -07:00
Tianjie Xu 992b5b0dd2 Skip update verification if care_map is not found am: da654af606
am: 831c3e2ac1

Change-Id: I06fed102c6126881e4bc89c67d7e09e92998ad6b
2016-07-16 00:24:38 +00:00
Tianjie Xu 831c3e2ac1 Skip update verification if care_map is not found
am: da654af606

Change-Id: I67af9ecde49f72cbf4044ac1d5a9e10b911e8a93
2016-07-16 00:16:37 +00:00
Tianjie Xu da654af606 Skip update verification if care_map is not found
Recently flashed devices may not have care_map.txt in /data/ota_package.
This leads to a failure of update-verifier and prevents boot
success flag from being set. So, we need to skip verification
in case the file is not found.

Error message:
... I update_verifier: Started with arg 1: nonencrypted
... I update_verifier: Booting slot 1: isSlotMarkedSuccessful=0
... E update_verifier: Care map /data/ota_package/care_map.txt not found.
... E update_verifier: Failed to verify all blocks in care map file

Bug: 30156449
Change-Id: Ia15f5f3e7ca2ea6981d49678e799b9f70d134faa
2016-07-15 16:30:12 -07:00
Tianjie Xu 4549a5e20f Fix a typo when comparing the verity mode am: 4bbe0c93c8
am: fe6014ecca

Change-Id: I849f869a4ee2614fe3a6b5af03617e3d40374f65
2016-07-15 00:09:36 +00:00
Tianjie Xu fe6014ecca Fix a typo when comparing the verity mode
am: 4bbe0c93c8

Change-Id: I734ac0c1124e2459bb64defe16386ee1ee1c534f
2016-07-15 00:07:03 +00:00
Tianjie Xu 4bbe0c93c8 Fix a typo when comparing the verity mode
The veritymode string used by the bootloader should be lowercase 'eio'
instead of 'EIO'. Fix the typo and change to strcasecmp.

Bug: 27175949
Change-Id: I376dacc70eef7364e2b9931a7c940adedcdb1929
2016-07-14 23:57:43 +00:00
Tianjie Xu a5af1a7eea Merge \\"Touch blocks in care_map in update_verifier\\" into nyc-mr1-dev am: 13f44939b1
am: 6c0a2dec21

Change-Id: Ifab3a0507000b6970df9d58a0193deefbaadb5ba
2016-07-14 23:06:44 +00:00
Tianjie Xu 6c0a2dec21 Merge \"Touch blocks in care_map in update_verifier\" into nyc-mr1-dev
am: 13f44939b1

Change-Id: I217e2883e45979b8cbdd7f0ce138d4b66f2e2b5d
2016-07-14 22:43:13 +00:00
Tianjie Xu 13f44939b1 Merge "Touch blocks in care_map in update_verifier" into nyc-mr1-dev 2016-07-14 22:27:09 +00:00
Tianjie Xu 03ca853a1c Touch blocks in care_map in update_verifier
Read all blocks in system and vendor partition during boot time
so that dm-verity could verify this partition is properly flashed.

Bug: 27175949
Change-Id: I38ff7b18ee4f2733e639b89633d36f5ed551c989
2016-07-14 14:31:39 -07:00
Tianjie Xu da873d77f3 Skip update-on-boot for bootreason in blacklist am: 27b9fc8a36
am: 7831762308

Change-Id: Iafe4715d3a859b2d4367583662b2ff31650ca18f
2016-07-13 00:51:29 +00:00
Tianjie Xu 7831762308 Skip update-on-boot for bootreason in blacklist
am: 27b9fc8a36

Change-Id: Icb5c2cfb2430e767f81506b20912f52d74d719d5
2016-07-13 00:41:01 +00:00
Tianjie Xu 27b9fc8a36 Skip update-on-boot for bootreason in blacklist
Skip the OTA installation when bootreason is 'kernel_panic',
'Panic' etc.

Change-Id: Ic1202492bffefa1a9d8d0e691b5af979285e552c
Test: On angler, ota installation skips for one bootreason in the blacklist.
Bug: 29978689
2016-07-11 18:37:34 -07:00
Elliott Hughes 94e6d21cbd Support landscape layouts. am: 6d089a955f
am: b0728a3c2a

Change-Id: Ib93ecc5fd9538456585154814c2979533acb1213
2016-07-09 04:45:06 +00:00
Elliott Hughes b0728a3c2a Support landscape layouts.
am: 6d089a955f

Change-Id: Iebdce4fe859984257cef027ec6de1aeae51b8d69
2016-07-09 04:29:18 +00:00
Elliott Hughes 6d089a955f Support landscape layouts.
Add support for landscape layouts to the existing portrait support.

Bug: http://b/29418855
Test: tested manually with "Run graphics test" on flounder/fugu/ryu.
Change-Id: Ib4a62bf5f2b8a1cef6028a01f05145104660560a
2016-07-08 18:21:45 -07:00
Tianjie Xu 804275ba42 Merge "Allow uncrypt to work without socket communication" 2016-07-08 19:03:45 +00:00
Yabin Cui ec9fdfee2f Fix bootloader_message. am: 9da04d595f
am: 159ca9b0ac

Change-Id: I0a72622b551b581301aa8de12896dd00723f0568
2016-07-06 21:28:52 +00:00
Yabin Cui 159ca9b0ac Fix bootloader_message.
am: 9da04d595f

Change-Id: I684c6afa25ce1dccad06920eee8a3bd6b7da96b1
2016-07-06 21:17:53 +00:00
Yabin Cui 9da04d595f Fix bootloader_message.
Bug: 29945717
Change-Id: I934fd6c52b0111937fa75455de2fa4157fb30f6f
2016-07-06 11:47:23 -07:00
Bill Yi b83fb67663 Import translations. DO NOT MERGE am: 34e2854786 -s ours am: 93d2e08ef2 -s ours
am: 9fe8b8b663  -s ours

Change-Id: I07911aae8d7c9dbe1383072917ab52d314dfff20
2016-07-01 05:09:49 +00:00
Bill Yi 9fe8b8b663 Import translations. DO NOT MERGE am: 34e2854786 -s ours
am: 93d2e08ef2  -s ours

Change-Id: Icfba2b987aae40dd9f9cebfb7299cc5319d4bc68
2016-07-01 05:05:49 +00:00
Bill Yi 93d2e08ef2 Import translations. DO NOT MERGE
am: 34e2854786  -s ours

Change-Id: Ib1e3c37805d1457a00e84c4e0d11d2775714d7f6
2016-07-01 05:01:48 +00:00