Commit Graph

30564 Commits

Author SHA1 Message Date
Neha Jain
9d57a6cea6 Update release config and emulator files for Android S(API 31) Beta1
Bug: 185838357
Change-Id: I5a0f0aa1f49b8bd6e6a85462283bb2f7f3ad7776
2021-04-20 00:39:39 +00:00
Søren Gjesse
a560627ab3 Merge "Revert "Remove DX from the SDK"" am: 4e005d8a1c am: 783a0df53e am: 08412579dd
Original change: https://android-review.googlesource.com/c/platform/development/+/1679488

Change-Id: I8e5940a3297dbae3a61c91c341a02b2aca9e0ead
2021-04-19 15:48:39 +00:00
Søren Gjesse
08412579dd Merge "Revert "Remove DX from the SDK"" am: 4e005d8a1c am: 783a0df53e
Original change: https://android-review.googlesource.com/c/platform/development/+/1679488

Change-Id: I1c500ba156de2b2f7f3a618189edc6707fb0af12
2021-04-19 15:20:35 +00:00
Søren Gjesse
5d721b12cd Merge "Remove DX from the SDK" am: 5064ab0df2 am: bc3752e0aa am: 03aecca430
Original change: https://android-review.googlesource.com/c/platform/development/+/1677226

Change-Id: I409cfd6133c038ca14578a64428062a2ce4d2309
2021-04-19 14:53:51 +00:00
Søren Gjesse
783a0df53e Merge "Revert "Remove DX from the SDK"" am: 4e005d8a1c
Original change: https://android-review.googlesource.com/c/platform/development/+/1679488

Change-Id: Ie73fafb5923760e30d96890a3ff5389a51072028
2021-04-19 14:51:06 +00:00
Søren Gjesse
4e005d8a1c Merge "Revert "Remove DX from the SDK"" 2021-04-19 14:29:33 +00:00
Søren Gjesse
a62cbeefdf Revert "Remove DX from the SDK"
This reverts commit 97c4f4304a.

Reason for revert: Build breakage

Change-Id: I24db691da0ff4bfdf95db611928084486183b3a7
2021-04-19 14:26:56 +00:00
Søren Gjesse
03aecca430 Merge "Remove DX from the SDK" am: 5064ab0df2 am: bc3752e0aa
Original change: https://android-review.googlesource.com/c/platform/development/+/1677226

Change-Id: I72fc50c2336c6e1c5bb1d931b064d354cabaad5c
2021-04-19 14:25:15 +00:00
Søren Gjesse
bc3752e0aa Merge "Remove DX from the SDK" am: 5064ab0df2
Original change: https://android-review.googlesource.com/c/platform/development/+/1677226

Change-Id: Ia8522af586563bc04c6adc5316aaf4cce729a251
2021-04-19 14:00:16 +00:00
Søren Gjesse
5064ab0df2 Merge "Remove DX from the SDK" 2021-04-19 13:39:34 +00:00
Søren Gjesse
97c4f4304a Remove DX from the SDK
Deprecation and removal of support of DX was announced here:
https://android-developers.googleblog.com/2020/02/the-path-to-dx-deprecation.html.

There is says:

As of On Feb 1st, 2021, we’ll move to step 3, removing DX fully from
Android Studio and any other build environments.

Test: m sdk
Bug: 185479734
Bug: 73711890
Change-Id: I2d7601037ed4135e00cf48b4b9f490a86fec90cb
2021-04-19 13:39:03 +00:00
Pirama Arumuga Nainar
b4c61653a7 Merge "Use clang-r416183b for clang-tools build" am: 5a81e1cf66 am: fb1cac7d60 am: d383fa760b
Original change: https://android-review.googlesource.com/c/platform/development/+/1676650

Change-Id: I5478e384e3d84bc3f4c53c15b06675ee4945cc30
2021-04-16 22:07:08 +00:00
Pirama Arumuga Nainar
d383fa760b Merge "Use clang-r416183b for clang-tools build" am: 5a81e1cf66 am: fb1cac7d60
Original change: https://android-review.googlesource.com/c/platform/development/+/1676650

Change-Id: I0029219b72bb2233aede7dd77d2c0366a5414665
2021-04-16 21:38:50 +00:00
Pirama Arumuga Nainar
fb1cac7d60 Merge "Use clang-r416183b for clang-tools build" am: 5a81e1cf66
Original change: https://android-review.googlesource.com/c/platform/development/+/1676650

Change-Id: Ied9761ba483d9659cb3084cc9c5024666a11af1f
2021-04-16 21:18:07 +00:00
Pirama Arumuga Nainar
5a81e1cf66 Merge "Use clang-r416183b for clang-tools build" 2021-04-16 20:54:08 +00:00
TreeHugger Robot
866c1f5d04 Merge "Consider windows with alpha=0 as invisible" into sc-dev 2021-04-16 10:22:36 +00:00
Pirama Arumuga Nainar
87bb0c5790 Use clang-r416183b for clang-tools build
Bug: http://b/185528062

header-checker updates:
- Remove typedef that's no longer necessary.
- Use new return type for ElfObjectFile::getSymbol()

Test: OUT_DIR=out prebuilts/clang-tools/build-prebuilts.sh
Change-Id: I9ecff7790a71edf16710abe0dae3014ae93df84a
2021-04-16 00:14:30 +00:00
TreeHugger Robot
b184ea69d7 Merge "Update winscope dependencies" into sc-dev 2021-04-15 21:35:37 +00:00
Pedro Loureiro
4944b8a24f [automerger skipped] Merge "Add lint baseline to address NewApi errors" am: ba0fbb2ed0 am: 5715d5e802 am: 81d06eb00d -s ours
am skip reason: skip tag Change-Id I994630133d86cedb7f10eb51282dad0071df0d87 with SHA-1 6955c51641 is already in history

Original change: https://android-review.googlesource.com/c/platform/development/+/1675569

Change-Id: Ied9cd84b35a2e03ac569ad72f6c494ff28b910ad
2021-04-15 13:15:20 +00:00
Pedro Loureiro
81d06eb00d Merge "Add lint baseline to address NewApi errors" am: ba0fbb2ed0 am: 5715d5e802
Original change: https://android-review.googlesource.com/c/platform/development/+/1675569

Change-Id: I22090464cebfd7ba9c33500bab19aaba0bcec1c0
2021-04-15 12:26:59 +00:00
Vadim Caen
b709ae7e83 Merge "Demo application for new SplashScreen" into sc-dev 2021-04-15 11:58:35 +00:00
Pedro Loureiro
5715d5e802 Merge "Add lint baseline to address NewApi errors" am: ba0fbb2ed0
Original change: https://android-review.googlesource.com/c/platform/development/+/1675569

Change-Id: I67c1a3266eb8146e1afcddd9bbeb5734546120fd
2021-04-15 11:49:50 +00:00
Pedro Loureiro
ba0fbb2ed0 Merge "Add lint baseline to address NewApi errors" 2021-04-15 11:03:48 +00:00
Nataniel Borges
d945fbd381 Update winscope dependencies
Current version of winscope had several dependencies with deprecation
and security warnings. To avoid issues, update to the latest compatible
versions according to `package.json` configuration using `yarn upgrade`

Bug: 162925924
Test: compile and run winscope (yarn run dev)
Change-Id: I29b387e0620e0460d9ea51dbca4039bbeb4deb39
2021-04-14 15:03:47 +02:00
Nataniel Borges
ccd908b3f8 Consider windows with alpha=0 as invisible
Previously Winscope considered only the `isVisible` property to
determine if the window was visible or not. This failed in cases such as
`com.google.android.googlequicksearchbox/android.app.ContextImpl` when
launching apps, where `isVisible=true` and `alpha=0`

Bug: 181630910
Bug: 182720234
Test: atest FlickerTests
Change-Id: I73de39557f0a9cebaad66d169f81794779793f64
2021-04-14 14:59:53 +02:00
Pedro Loureiro
2dc09c2150 Add lint baseline to address NewApi errors
We are enabling a new lint check where the min sdk != compile sdk.
It has produced a lot of errors and adding the baseline file(s)
allows us to continue work without introducing more problems.

Bug: 150847901

Test: m lint-check
Change-Id: I994630133d86cedb7f10eb51282dad0071df0d87
Merged-In: I994630133d86cedb7f10eb51282dad0071df0d87
2021-04-14 10:30:53 +00:00
Inseob Kim
cd32ea65fe Merge "Reexport vndk for vendor snapshot modules" am: c6f1ad7cb1 am: 8074499ccf am: 0470e5cd12
Original change: https://android-review.googlesource.com/c/platform/development/+/1673128

Change-Id: I7d7033ed83aa548c5e47175f8c4550c910f94ce7
2021-04-14 02:36:59 +00:00
Inseob Kim
0470e5cd12 Merge "Reexport vndk for vendor snapshot modules" am: c6f1ad7cb1 am: 8074499ccf
Original change: https://android-review.googlesource.com/c/platform/development/+/1673128

Change-Id: Ib3842ca29f0fa9aeec12115d28069e284c352c63
2021-04-14 01:23:27 +00:00
Inseob Kim
8074499ccf Merge "Reexport vndk for vendor snapshot modules" am: c6f1ad7cb1
Original change: https://android-review.googlesource.com/c/platform/development/+/1673128

Change-Id: I9fd1ee14d6f1b14e9f2f935104f22d900fd98a71
2021-04-14 00:31:34 +00:00
Inseob Kim
c6f1ad7cb1 Merge "Reexport vndk for vendor snapshot modules" 2021-04-13 23:46:13 +00:00
Pedro Loureiro
35d79c714a Merge "Add lint baseline to address NewApi errors" into sc-dev 2021-04-13 14:12:40 +00:00
Vadim Caen
b5ee3a6e76 Demo application for new SplashScreen
Bug: 181841992
Test: N/A

Change-Id: I82da62a1b8cd399b92c8270d994aaabc7ab3691c
2021-04-13 10:06:29 +02:00
Christopher Ferris
0e4e9dea16 Merge "Upgrade the 'stack' script to python3." am: ed37bd6420 am: 7d1443fa38 am: a4d2ca9ea6
Original change: https://android-review.googlesource.com/c/platform/development/+/1668508

Change-Id: I022baaa4afc3a8a7eaacfc3123fb0d6119332fee
2021-04-12 22:23:22 +00:00
Christopher Ferris
a4d2ca9ea6 Merge "Upgrade the 'stack' script to python3." am: ed37bd6420 am: 7d1443fa38
Original change: https://android-review.googlesource.com/c/platform/development/+/1668508

Change-Id: I5167a8a90f0007b9ee3ccadba51249257b980316
2021-04-12 21:48:42 +00:00
Christopher Ferris
7d1443fa38 Merge "Upgrade the 'stack' script to python3." am: ed37bd6420
Original change: https://android-review.googlesource.com/c/platform/development/+/1668508

Change-Id: I781a38c4d8b0b3ec292411665c2fb19dc34805f3
2021-04-12 20:54:24 +00:00
Christopher Ferris
ed37bd6420 Merge "Upgrade the 'stack' script to python3." 2021-04-12 20:10:24 +00:00
Inseob Kim
c0c754211e Reexport vndk for vendor snapshot modules
Bug: 184795475
Test: run update.py with fake snapshot and see Android.bp
Change-Id: I5f3032574b957edaecf0dfa9f5e0c7981670d25a
2021-04-12 21:11:29 +09:00
Krzysztof Kosiński
b136111f17 Upgrade the 'stack' script to python3.
Also hook up the test to Android.bp.

Test: unit test
Test: Ran with a tombstone file as parameter.
Test: Ran pasting in stack to stdin.
Change-Id: I25f40569cc49b7487553611bcc25d061179bfa8d
2021-04-09 13:21:32 -07:00
Pedro Loureiro
6955c51641 Add lint baseline to address NewApi errors
We are enabling a new lint check where the min sdk != compile sdk.
It has produced a lot of errors and adding the baseline file(s)
allows us to continue work without introducing more problems.

Bug: 150847901

Test: m lint-check
Change-Id: I994630133d86cedb7f10eb51282dad0071df0d87
2021-04-09 13:35:22 +00:00
Chiachang Wang
03a2b4336b Resolve hidden connectivity dependency
ConnectivityManager and NetwokUtils are parts of incoming
Connectivity mainline module. The hidden methods or members are
no longer accessible outside the module. Caller should either
remove or replace the usage.

The override hidden callbacks and INET_CONDITION_ACTION intent
are not really used in the code. Remove the unncessary usage.

The network id is a part of Network.toString(). The network id
is also not necessary.

Bug: 182859030
Test: m
Change-Id: I3a75afb86f5b60ea530b50771bd76887ccf9f271
2021-04-09 06:45:54 +00:00
Thiébaud Weksteen
9382b216df Merge "cargo2android: Use cfgs property" am: ea57fde601 am: 4c7b520759 am: 8c87385bb3
Original change: https://android-review.googlesource.com/c/platform/development/+/1669987

Change-Id: Ie6b6f95b5694bc7d93b50f7db7c29347d37058e9
2021-04-08 20:06:10 +00:00
Thiébaud Weksteen
8c87385bb3 Merge "cargo2android: Use cfgs property" am: ea57fde601 am: 4c7b520759
Original change: https://android-review.googlesource.com/c/platform/development/+/1669987

Change-Id: I46c7b08fff750b16236e9427e1e2e0ca40da65aa
2021-04-08 19:20:15 +00:00
Thiébaud Weksteen
4c7b520759 Merge "cargo2android: Use cfgs property" am: ea57fde601
Original change: https://android-review.googlesource.com/c/platform/development/+/1669987

Change-Id: I1bf66bda0ebe1682a2779699f5a93db837cdbefc
2021-04-08 18:39:50 +00:00
Thiébaud Weksteen
ea57fde601 Merge "cargo2android: Use cfgs property" 2021-04-08 17:53:54 +00:00
Thiébaud Weksteen
a5a728b4c8 cargo2android: Use cfgs property
Test: Run cargo2android on multiple crates, verify Android.bp
Bug: 183727250
Change-Id: I087ffb0de33db7a09735d2e9c668d991c9f5bb49
2021-04-08 14:23:49 +02:00
Jose "Pepe" Galmes
5fd84c0e13 Merge "Revert "Add support to androidmk_suffix prop"" am: bc2a5a25ee am: 3590ee637a am: e50585d2b2
Original change: https://android-review.googlesource.com/c/platform/development/+/1664085

Change-Id: I40164754478a87a6a83ba9d570a2e8f75ac59fce
2021-04-08 07:45:56 +00:00
Treehugger Robot
6fafd94b70 Merge "NFC: Refactor a string so we can add a comment to it." am: ad8e4d2a7e am: d412fadf8d am: bb1fa826a9
Original change: https://android-review.googlesource.com/c/platform/development/+/1667709

Change-Id: I466cec4fcb5b63f6b3afa35a69a8bfbd4828766b
2021-04-08 01:19:44 +00:00
Joel Galenson
b50d6b1e3d Merge "Add a cargo2android flag to disable generating TEST_MAPPING." am: 4d82acfeee am: 4c0bf9ff7b am: b7f21b62d3
Original change: https://android-review.googlesource.com/c/platform/development/+/1667071

Change-Id: Iff5ca2c65341ff305a1f4f6b265931fd7fe1caa2
2021-04-08 01:19:38 +00:00
Treehugger Robot
682fc257cc Merge "Fix cargo2android's license block preservation" am: dddc6e0873 am: 47aad36a67 am: f322c46ffa
Original change: https://android-review.googlesource.com/c/platform/development/+/1663858

Change-Id: Ief2d45313570bb8f402d3437db1fb1e6b1a58a14
2021-04-08 01:19:31 +00:00
Jose "Pepe" Galmes
e50585d2b2 Merge "Revert "Add support to androidmk_suffix prop"" am: bc2a5a25ee am: 3590ee637a
Original change: https://android-review.googlesource.com/c/platform/development/+/1664085

Change-Id: Ie30a7e0dacace5059423587f87ef7ea876fc5e0a
2021-04-08 00:31:36 +00:00