Commit Graph

32636 Commits

Author SHA1 Message Date
Treehugger Robot
da02186f3d Merge "Don't try to remove Cargo.lock if it doesn't exist." am: fa51a80114 am: a9136a088c am: 89856f54d1 am: 7954a1b5dc
Original change: https://android-review.googlesource.com/c/platform/development/+/1938733

Change-Id: I4208422b70ee60298e67978b135dc666697ed653
2022-01-06 16:27:40 +00:00
TreeHugger Robot
3e0602d5be Merge "Support non-default back-disposition in ThemedNavBarKeyboard" 2022-01-06 16:26:16 +00:00
Treehugger Robot
7954a1b5dc Merge "Don't try to remove Cargo.lock if it doesn't exist." am: fa51a80114 am: a9136a088c am: 89856f54d1
Original change: https://android-review.googlesource.com/c/platform/development/+/1938733

Change-Id: Icdd82afd6dbe707c8dc945e61fda0c82edc9b3ce
2022-01-06 16:06:28 +00:00
Treehugger Robot
89856f54d1 Merge "Don't try to remove Cargo.lock if it doesn't exist." am: fa51a80114 am: a9136a088c
Original change: https://android-review.googlesource.com/c/platform/development/+/1938733

Change-Id: Ic02d88ecd99b8a4618cfbfe3e7e9da79d4ada32c
2022-01-06 15:55:04 +00:00
Treehugger Robot
a9136a088c Merge "Don't try to remove Cargo.lock if it doesn't exist." am: fa51a80114
Original change: https://android-review.googlesource.com/c/platform/development/+/1938733

Change-Id: I820245d6d4d18c13461da63b3af3c7961bade5b4
2022-01-06 15:36:39 +00:00
Treehugger Robot
fa51a80114 Merge "Don't try to remove Cargo.lock if it doesn't exist." 2022-01-06 15:19:36 +00:00
Andrew Walbran
a32a04851b Don't try to remove Cargo.lock if it doesn't exist.
Change-Id: Ibfad6d97988edb6305d7a237d038412ec5a6100f
2022-01-06 14:03:50 +00:00
Chih-hung Hsieh
931e163755 Merge "Use clang-r437112b for clang-tools build" am: e62be4dbe8 am: 71b755b46e am: bb83d73c92 am: 3051947a48
Original change: https://android-review.googlesource.com/c/platform/development/+/1934620

Change-Id: I90dc462683356f3360a6cab437dc7317be708771
2022-01-06 05:48:55 +00:00
Chih-hung Hsieh
3051947a48 Merge "Use clang-r437112b for clang-tools build" am: e62be4dbe8 am: 71b755b46e am: bb83d73c92
Original change: https://android-review.googlesource.com/c/platform/development/+/1934620

Change-Id: I0e16dd08e95bf820480a71389d2e33d428b5abbe
2022-01-06 05:36:00 +00:00
Chih-hung Hsieh
bb83d73c92 Merge "Use clang-r437112b for clang-tools build" am: e62be4dbe8 am: 71b755b46e
Original change: https://android-review.googlesource.com/c/platform/development/+/1934620

Change-Id: I31b074c137aa33471e54ce29f4911d5288cc83ba
2022-01-06 05:09:36 +00:00
Chih-hung Hsieh
71b755b46e Merge "Use clang-r437112b for clang-tools build" am: e62be4dbe8
Original change: https://android-review.googlesource.com/c/platform/development/+/1934620

Change-Id: I9635b6929ccd0275a37f79caecd6e2018d676f45
2022-01-06 04:56:00 +00:00
Chih-hung Hsieh
e62be4dbe8 Merge "Use clang-r437112b for clang-tools build" 2022-01-06 04:36:48 +00:00
Yohei Yukawa
bb7d04778d Support non-default back-disposition in ThemedNavBarKeyboard
With this CL, you can let ThemedNavBarKeyboard call

  InputMethodService#setBackDisposition(int)

with either the following values

  * BACK_DISPOSITION_DEFAULT
  * BACK_DISPOSITION_ADJUST_NOTHING

so that you can see how those two flags work.

Bug: 213337792
Test: Manually verified as follows
 1. Flash aosp_coral-userdebug into the device
 2. make -j ThemedNavBarKeyboard
 3. adb install -r $ANDROID_PRODUCT_OUT/system/app/ThemedNavBarKeyboard/ThemedNavBarKeyboard.apk
 4. adb shell ime enable com.example.android.themednavbarkeyboard/.ThemedNavBarKeyboard
 5. adb shell ime set com.example.android.themednavbarkeyboard/.ThemedNavBarKeyboard
 6. Tap any edit field
 7. Make sure that the back button is left-pointing triangle
 8. Tap "BACK_DISPOSITION_ADJUST_NOTHING" on the IME
 9. Make sure that the back button is down-pointing triangle
Change-Id: I71aa1dd23d72e8891cb3887efe5db1a48b6a017d
2022-01-05 15:34:50 -08:00
Anton Hansson
2f2801b1f8 Merge "Remove references to win_sdk" am: 65b493960f am: d5395d93a4 am: 2e8c595080 am: 247624e6d6
Original change: https://android-review.googlesource.com/c/platform/development/+/1936081

Change-Id: I728a983d92cd826e10b7ff02e94cc4e2a89cb179
2022-01-05 19:40:52 +00:00
Anton Hansson
247624e6d6 Merge "Remove references to win_sdk" am: 65b493960f am: d5395d93a4 am: 2e8c595080
Original change: https://android-review.googlesource.com/c/platform/development/+/1936081

Change-Id: I708d6b5cb57afc536613993ce47e17a61270033c
2022-01-05 19:10:40 +00:00
Anton Hansson
2e8c595080 Merge "Remove references to win_sdk" am: 65b493960f am: d5395d93a4
Original change: https://android-review.googlesource.com/c/platform/development/+/1936081

Change-Id: I11338ea320d6d28ff21a7d0fcf6027387f1bf0d9
2022-01-05 08:45:42 +00:00
Anton Hansson
d5395d93a4 Merge "Remove references to win_sdk" am: 65b493960f
Original change: https://android-review.googlesource.com/c/platform/development/+/1936081

Change-Id: I4128a39a88de891ee3a77d9fc8e904d78ea5ee9d
2022-01-05 08:29:21 +00:00
Anton Hansson
65b493960f Merge "Remove references to win_sdk" 2022-01-05 08:13:21 +00:00
Treehugger Robot
4cc03020a5 Merge "Pack all boot images in a zip for certification" am: 9e8e85292b am: 03d1dc5c7e am: d50c0828e3 am: ba08bc42e9
Original change: https://android-review.googlesource.com/c/platform/development/+/1936022

Change-Id: I952ce7825726ae3e912db9f815bb8cfc2c24f0af
2022-01-05 04:42:37 +00:00
Treehugger Robot
ba08bc42e9 Merge "Pack all boot images in a zip for certification" am: 9e8e85292b am: 03d1dc5c7e am: d50c0828e3
Original change: https://android-review.googlesource.com/c/platform/development/+/1936022

Change-Id: I48feb697a1175d088185eaecaacceb5833aa825d
2022-01-05 04:24:13 +00:00
Treehugger Robot
d50c0828e3 Merge "Pack all boot images in a zip for certification" am: 9e8e85292b am: 03d1dc5c7e
Original change: https://android-review.googlesource.com/c/platform/development/+/1936022

Change-Id: Ib0896a8ab7d747e24f16f0e28e76fd706ae6253a
2022-01-05 04:13:04 +00:00
Treehugger Robot
03d1dc5c7e Merge "Pack all boot images in a zip for certification" am: 9e8e85292b
Original change: https://android-review.googlesource.com/c/platform/development/+/1936022

Change-Id: I745b01dfb5addf6556f13c1b8f5d1f42f3106779
2022-01-05 04:00:46 +00:00
Treehugger Robot
9e8e85292b Merge "Pack all boot images in a zip for certification" 2022-01-05 03:48:08 +00:00
Howard Chen
56bfe956a4 Pack all boot images in a zip for certification
The certification script accepts one single zip file as its input.

Bug: 198363484
Test: \
  make bootimage dist && \
  ./development/gsi/build_with_kernel/pack_boot_for_signing.sh
Change-Id: Ia0289979400ea23196449c34865540309bf1e19b
2022-01-05 10:02:22 +08:00
Anton Hansson
3d6f96446a Remove references to win_sdk
This goal doesn't exist anymore. The build system automatically
translates it to "sdk".

Test: m win_sdk dist && inspect out/dist/apistubs
Change-Id: Iebe902b44cbdc76e62d38617ae549ef1c0cdf729
2022-01-04 09:11:17 +00:00
Chih-Hung Hsieh
a8bbf841a2 Use clang-r437112b for clang-tools build
Bug: 201432564
Test: presubmit
Change-Id: I2407b49863dce66637a97e26be7f5efbb148c00e
2021-12-28 11:37:04 -08:00
Hongwei Wang
b0e7eff1b5 Merge "Consolidate PiP demos in ApiDemos app" 2021-12-22 04:15:43 +00:00
Hongwei Wang
17aab38616 Consolidate PiP demos in ApiDemos app
Put various configurations for PiP into one Activity, access by navigate
to `App > Activity > Picture in Picture`. Current supports

- Enter PiP with on-screen button
- Enter PiP by swiping up to home or tap on home button
- Toggle the auto enter PiP flag on and off
- Toggle the source rect hint on and off
- Toggle the seamless resize flag on and off
- Change the position of current and next source rect hint
- Tablet layout on foldables

The upcoming content PiP will also be hosted here.

Added also support passing the intent extra, full command

```
adb shell am start \
    --ez auto_pip [true|false] \
    --ez source_rect_hint [true|false] \
    --ez seamless_resize [true|false] \
    --es current_position [start|end] \
    com.example.android.apis/.app.PictureInPicture
```

Bug: 175727044
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/gdcklbUsT7SmbUhNcVSXfd
Test: manual, see Video
Change-Id: I60233f2d6e428d11d4ab1b566e36c38fd4c4f937
2021-12-21 13:48:31 -08:00
Treehugger Robot
d0cfa8d84d Merge "Remove gsi_util" am: fe9a8b11e7 am: 3680067a44 am: 447e37169f am: 952b1a3e3d
Original change: https://android-review.googlesource.com/c/platform/development/+/1930482

Change-Id: Ieb642214f5cc2e1f465780d456905a8d555622a1
2021-12-21 15:39:49 +00:00
Treehugger Robot
952b1a3e3d Merge "Remove gsi_util" am: fe9a8b11e7 am: 3680067a44 am: 447e37169f
Original change: https://android-review.googlesource.com/c/platform/development/+/1930482

Change-Id: I32442eff65bd3cadcde4713c1296d02a344075c3
2021-12-21 15:22:03 +00:00
Treehugger Robot
447e37169f Merge "Remove gsi_util" am: fe9a8b11e7 am: 3680067a44
Original change: https://android-review.googlesource.com/c/platform/development/+/1930482

Change-Id: I789c79b70f5455ece173b6e47d8ba76c1f91f504
2021-12-21 15:05:20 +00:00
Treehugger Robot
3680067a44 Merge "Remove gsi_util" am: fe9a8b11e7
Original change: https://android-review.googlesource.com/c/platform/development/+/1930482

Change-Id: Id85835640117626cac77b44951ede169b48d43a4
2021-12-21 14:45:00 +00:00
Treehugger Robot
fe9a8b11e7 Merge "Remove gsi_util" 2021-12-21 14:25:06 +00:00
Inseob Kim
54d873122b Remove gsi_util
It doesn't seem to be used nowadays.

Bug: 210536608
Test: presubmit
Change-Id: Ide57b8fb08f6c08302aa1202a59bd33bdc6b1c53
2021-12-21 15:54:38 +09:00
Yohei Yukawa
f2464f70f2 Set targetSdkVersion=31 to ThemedNavBarKeyboard
With this CL, ThemedNavBarKeyboard sameple IME will have an explicitly
set targetSdkVersion=31 so that it can be installed on older version
of Android OSes.

This CL also explicitly sets "android:exported", which has been
required in AndroidManifest.xml since API 31.

Fix: 211463997
Test: Manually verified as follows
 1. Flash SQ1A.211205.008 aosp_coral-userdebug into coral
 2. make -j ThemedNavBarKeyboard
 3. adb install -r $ANDROID_PRODUCT_OUT/system/app/ThemedNavBarKeyboard/ThemedNavBarKeyboard.apk
Change-Id: Idd88031a6b65cca58add8abe42794bc5f01b1973
2021-12-20 10:34:34 -08:00
Treehugger Robot
1ada019953 Merge "Update kernel prebuilts with local artifacts" am: dbdedb67d3 am: d958734a44 am: 33a757b665 am: 1af8a3f349
Original change: https://android-review.googlesource.com/c/platform/development/+/1919322

Change-Id: Ifa967f8487da6ce39be45a93665e7ae9a262206b
2021-12-16 11:40:52 +00:00
Treehugger Robot
1af8a3f349 Merge "Update kernel prebuilts with local artifacts" am: dbdedb67d3 am: d958734a44 am: 33a757b665
Original change: https://android-review.googlesource.com/c/platform/development/+/1919322

Change-Id: I2bef63f0978c23a70bb586f75237d489e5a12686
2021-12-16 11:22:03 +00:00
Treehugger Robot
33a757b665 Merge "Update kernel prebuilts with local artifacts" am: dbdedb67d3 am: d958734a44
Original change: https://android-review.googlesource.com/c/platform/development/+/1919322

Change-Id: Icdff5414db0b51dafabd96286ab8bda0b8e44458
2021-12-16 11:00:29 +00:00
Treehugger Robot
d958734a44 Merge "Update kernel prebuilts with local artifacts" am: dbdedb67d3
Original change: https://android-review.googlesource.com/c/platform/development/+/1919322

Change-Id: I2a1cc4888e3ca815080529ff7c2694aad66ab71d
2021-12-16 10:44:57 +00:00
Treehugger Robot
dbdedb67d3 Merge "Update kernel prebuilts with local artifacts" 2021-12-16 09:46:54 +00:00
Howard Chen
8187c23b38 Update kernel prebuilts with local artifacts
Bug: 198363484
Test: \
  development/gsi/build_with_kernel/fetch_kernel.sh && \
  development/gsi/build_with_kernel/repack_kernels.sh && \
  development/gsi/build_with_kernel/update_kernel_prebuilts_510_arm64.sh

Change-Id: I88e167be7aff70ff52abee875997d8e9a5c51e79
2021-12-16 08:34:14 +00:00
Raju Kulkarni
a48ca0aa22 Creating a version bump for releasing Build tools that are Universal Binaries
The diff for this CL might show version number
being updated from 32.0.0 rc1 to 32.1.0
But the current public version of Build tools is not 32.0.0 rc1.
This is just the state of the version number in master.
Public version released from sc-v2-dev actually  is not
the RC version but the final version 32.0.0

Bug: 209808897
Change-Id: I271bae601e475217f8043600de43a95ef25a9f80
Test: N/A
2021-12-15 23:47:05 +00:00
Joel Galenson
a3c081ee2e Merge changes from topic "rust-tests-and-mappings-refactor" am: 79b55eadb6 am: ebb900bb66 am: 5ab9b36eba am: 8c26ae566f
Original change: https://android-review.googlesource.com/c/platform/development/+/1918446

Change-Id: Ia2986f55ee31fc59d2928240955cb3cce5b09756
2021-12-15 18:10:02 +00:00
Joel Galenson
ccaa78e923 Use TEST_MAPPING imports for third-party crate tests. am: 4a08c64965 am: d028c9b4b1 am: ee68366e6e am: 2cd2a7c710
Original change: https://android-review.googlesource.com/c/platform/development/+/1858469

Change-Id: Icfde1032ad4e65612f1054c544cb631ac5927936
2021-12-15 18:08:02 +00:00
Joel Galenson
e02038b730 Merge "Stop generating separate rust_test_host." am: 376a19951b am: 26ae6eb466 am: 24a77c9883 am: 5be3d602ec
Original change: https://android-review.googlesource.com/c/platform/development/+/1861786

Change-Id: Id4f5f2c051f4bef89c4cdd9d5c3334485e91c88b
2021-12-15 18:06:45 +00:00
Joel Galenson
8c26ae566f Merge changes from topic "rust-tests-and-mappings-refactor" am: 79b55eadb6 am: ebb900bb66 am: 5ab9b36eba
Original change: https://android-review.googlesource.com/c/platform/development/+/1918446

Change-Id: I7d6a14e71eda4462a7de034f4538fe05ecc2854a
2021-12-15 17:30:26 +00:00
Joel Galenson
2cd2a7c710 Use TEST_MAPPING imports for third-party crate tests. am: 4a08c64965 am: d028c9b4b1 am: ee68366e6e
Original change: https://android-review.googlesource.com/c/platform/development/+/1858469

Change-Id: I2d6b39721d5ccfea754ea8f2650e5051608500a4
2021-12-15 17:28:25 +00:00
Joel Galenson
5be3d602ec Merge "Stop generating separate rust_test_host." am: 376a19951b am: 26ae6eb466 am: 24a77c9883
Original change: https://android-review.googlesource.com/c/platform/development/+/1861786

Change-Id: I1b38bacc4647a6d77f247cafb9227d77a3f7e0e9
2021-12-15 17:27:12 +00:00
Joel Galenson
5ab9b36eba Merge changes from topic "rust-tests-and-mappings-refactor" am: 79b55eadb6 am: ebb900bb66
Original change: https://android-review.googlesource.com/c/platform/development/+/1918446

Change-Id: If85737e11e49d3f4c710487fb78b05e5ecf9205b
2021-12-15 16:47:05 +00:00
Joel Galenson
ee68366e6e Use TEST_MAPPING imports for third-party crate tests. am: 4a08c64965 am: d028c9b4b1
Original change: https://android-review.googlesource.com/c/platform/development/+/1858469

Change-Id: Ia225fefbc62c48225417d5926b3a5a7c7db41870
2021-12-15 16:44:42 +00:00