588450 Commits

Author SHA1 Message Date
TreeHugger Robot
c76708bc68 Merge "Moving alarm service dump to IndentingPrintWriter" 2020-10-21 15:53:43 +00:00
TreeHugger Robot
71fa2c0d31 Merge "Move ACTION_MENU/ACTION_CLOSE intent registraction to PipController" 2020-10-21 15:29:39 +00:00
Jeff Sharkey
1992cdb4de Merge changes from topic "oct16c"
* changes:
  Apply fixes for EfficientStrings.
  Apply fixes for EfficientStrings.
  Apply fixes for EfficientStringsChecker.
  Apply fixes for EfficientCollections.
  Trivial refactor for consistent naming.
  Expand formatSimple() to support widths.
  Refinement of EfficientStringsChecker.
2020-10-21 15:27:15 +00:00
TreeHugger Robot
ceabf520ac Merge "Catch IAE on wrapHardwareBuffer" 2020-10-21 15:23:46 +00:00
Tiger Huang
9e2c966d61 Merge "Don't dispatch legacy insets to client" 2020-10-21 15:23:27 +00:00
Eran Messeri
6993eecd1f Merge "Refactoring: Rename logging method" 2020-10-21 15:22:13 +00:00
TreeHugger Robot
7588715b4c Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-10-21 15:03:34 +00:00
Flavio Fiszman
943763d702 Merge "Creates a widget for People Space." 2020-10-21 14:58:11 +00:00
TreeHugger Robot
4d8ef8f20c Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-10-21 14:35:55 +00:00
TreeHugger Robot
3a5a05447b Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-10-21 14:34:40 +00:00
TreeHugger Robot
11ba2e433a Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-10-21 14:23:55 +00:00
TreeHugger Robot
fdda2eff52 Merge "Re-added intdef annotation processor plugin" 2020-10-21 14:01:00 +00:00
Eran Messeri
40f278ff7a Refactoring: Rename logging method
Rename maybeLogPasswordComplexitySet to
logPasswordQualitySetIfSecurityLogEnabled because:
* It logs password quality, not password complexity (password quality
  being the deprecated way to set password requirements, complexity
  being the new way).
* "maybe" in the method name is less informative than
  "IfSecurityLogEnabled".

Bug: 165573442
Test: That it compiles
Change-Id: I8f900fd27d3b1412f0de0bf199b263ae3c29102b
2020-10-21 14:58:27 +01:00
Flavio Fiszman
bf47d90aa0 Creates a widget for People Space.
Change-Id: Ic53532d7de1a7d410493e46b4398d03142f78e40
Test: Build, boot, add new widget, see it update.
Bug: 169783793
2020-10-21 14:41:54 +01:00
Gavin Corkery
05c11205a4 [automerger skipped] Merge changes from topic "bugreporting-aosp-sync" am: 8fafabfed1 am: 111f411617 am: 2c51591cc8 am: 3005422d62 -s ours
am skip reason: Change-Id Ie926eefacb659cce4c54f42b0835308da5a71bba with SHA-1 572ef12b3d is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440641

Change-Id: Ib32b0565b6bf5a9104debf209ee9b5e2a84edcfd
2020-10-21 12:55:12 +00:00
Dieter Hsu
7bf258a2cf [automerger skipped] Add BugreportManagerTestCases to bugreport presubmit am: 59a1d2b4aa am: b07a5734df am: 8fa94f4abe am: e831bc830e -s ours
am skip reason: Change-Id Ib6ec81570d5000ae3c7cb76da0e8e0eed98c425e with SHA-1 f7f4f62850 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440640

Change-Id: Id4f707ba6ffd4d5a684d5a2a05219a023818d69d
2020-10-21 12:55:07 +00:00
Dieter Hsu
3c56731b8c [automerger skipped] Enable bug report tests in pre/postsubmit am: 6765448386 am: 3fcbbccd90 am: 9c82a7477b am: 53ea77ce0b -s ours
am skip reason: Change-Id I054d05d4fa8ff02f1c404d0883c382a2d5911f88 with SHA-1 848113e595 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440639

Change-Id: Ic04d285eb34f508677e9f9d7c95cf7a0cbd2f8ee
2020-10-21 12:55:01 +00:00
Dieter Hsu
f55a74c4d0 [automerger skipped] Run bugreport unit test without script am: 31f9d09ba9 am: 5974c9fa91 am: d37c334b0e am: 5fbf8a6a74 -s ours
am skip reason: Change-Id Id930abc40c52441c6dd1c1e6cdc3c0f34a36bfca with SHA-1 7a0bac8d75 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440638

Change-Id: Iba14ef8e6721a31c95a61d7f0a27c184da102801
2020-10-21 12:54:54 +00:00
Gavin Corkery
3005422d62 Merge changes from topic "bugreporting-aosp-sync" am: 8fafabfed1 am: 111f411617 am: 2c51591cc8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440641

Change-Id: Ibca516826843868839ac0fc9e11d856737e594c2
2020-10-21 12:44:47 +00:00
Dieter Hsu
e831bc830e Add BugreportManagerTestCases to bugreport presubmit am: 59a1d2b4aa am: b07a5734df am: 8fa94f4abe
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440640

Change-Id: Ib8a7d0c47ad7d1b0a433a562e0d4aca2a5c7b1b9
2020-10-21 12:44:39 +00:00
Dieter Hsu
53ea77ce0b Enable bug report tests in pre/postsubmit am: 6765448386 am: 3fcbbccd90 am: 9c82a7477b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440639

Change-Id: I46558c575cff837b339e36bb8353ebcb7f634db8
2020-10-21 12:44:31 +00:00
Dieter Hsu
5fbf8a6a74 Run bugreport unit test without script am: 31f9d09ba9 am: 5974c9fa91 am: d37c334b0e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440638

Change-Id: I1d67a8e438fd811a56182f59019b0120c9782aa7
2020-10-21 12:44:24 +00:00
Charles Chen
a252318132 Merge "Fix bind service failure on Android Auto" 2020-10-21 12:38:18 +00:00
Gavin Corkery
2c51591cc8 Merge changes from topic "bugreporting-aosp-sync" am: 8fafabfed1 am: 111f411617
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440641

Change-Id: Ibe5a6f75de4c8a4e3916bb468f1203beba99a76a
2020-10-21 12:29:03 +00:00
Dieter Hsu
8fa94f4abe Add BugreportManagerTestCases to bugreport presubmit am: 59a1d2b4aa am: b07a5734df
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440640

Change-Id: Ibd0b360714c481095f21bc915cf9c7b42eec8687
2020-10-21 12:28:58 +00:00
Dieter Hsu
9c82a7477b Enable bug report tests in pre/postsubmit am: 6765448386 am: 3fcbbccd90
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440639

Change-Id: I6b4eeb01521a1b6af68b4ef7e7225b5b9e0bb517
2020-10-21 12:28:53 +00:00
Dieter Hsu
d37c334b0e Run bugreport unit test without script am: 31f9d09ba9 am: 5974c9fa91
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440638

Change-Id: I8c9d0d83b682bf66534e6c9b82b847e729f8d3c2
2020-10-21 12:28:43 +00:00
Tiger Huang
2bf8c796c5 Don't dispatch legacy insets to client
The server won't dispatch the legacy content insets, stable insets, and
visible insets to the client. The insets would be computed from the
insets state by the client.

This CL also fixes the insets scaling issue in compatible mode.

Bug: 149813814
Fix: 169940916
Fix: 165412978
Test: atest WindowAddRemovePerfTest InsetsAnimationControlImplTest
            ActivityRecordTests DisplayPolicyLayoutTests
            InsetsPolicyTest InsetsStateControllerTest
Change-Id: I83570973f587a6abf887752494f750b46e3e484d
2020-10-21 20:20:21 +08:00
Gavin Corkery
1c1d894f0d [automerger skipped] Merge "Fix Rescue Party observability criteria" am: 51704f4d07 am: 8d1462d5eb am: 6b37630902 -s ours am: e38da9ba73 -s ours
am skip reason: Change-Id Ifec19b8daba1dacc7f5efcfa47ed3c3a046612e3 with SHA-1 f2abc4e6fa is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469282

Change-Id: I9bd3e42d5bce67f12d9674e3cf88e04802fce04a
2020-10-21 12:19:49 +00:00
Bill Yi
d987cd9a9d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I12c98a63e23166687c2d6bc9bc803480093d65cb
2020-10-21 12:11:57 +00:00
Gavin Corkery
111f411617 Merge changes from topic "bugreporting-aosp-sync" am: 8fafabfed1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440641

Change-Id: Ie6cb1f3ca017d708c75d0d3641e2b5ea6de2799c
2020-10-21 12:10:31 +00:00
Dieter Hsu
b07a5734df Add BugreportManagerTestCases to bugreport presubmit am: 59a1d2b4aa
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440640

Change-Id: I22323ce15962f41e91715c9f8ff469346153d5da
2020-10-21 12:09:24 +00:00
Dieter Hsu
3fcbbccd90 Enable bug report tests in pre/postsubmit am: 6765448386
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440639

Change-Id: I1188d3101d62d630b0982804643cd022e22868a8
2020-10-21 12:06:27 +00:00
Dieter Hsu
5974c9fa91 Run bugreport unit test without script am: 31f9d09ba9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440638

Change-Id: I79ef712162056be9cf9909e1017f54723ea70dd1
2020-10-21 12:03:35 +00:00
Gavin Corkery
e38da9ba73 [automerger skipped] Merge "Fix Rescue Party observability criteria" am: 51704f4d07 am: 8d1462d5eb am: 6b37630902 -s ours
am skip reason: Change-Id Ifec19b8daba1dacc7f5efcfa47ed3c3a046612e3 with SHA-1 f2abc4e6fa is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469282

Change-Id: I6051bc1c6642df8bd460f40f2baf58ba5514b5ac
2020-10-21 11:53:07 +00:00
Bill Yi
3481efac31 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic4ce9190cc04482e787425913a72cd335bcc29f9
2020-10-21 11:48:28 +00:00
Gavin Corkery
8fafabfed1 Merge changes from topic "bugreporting-aosp-sync"
* changes:
  Fix consent timed out to sharing bugreport data
  Add BugreportManagerTestCases to bugreport presubmit
  Enable bug report tests in pre/postsubmit
  Run bugreport unit test without script
2020-10-21 11:48:11 +00:00
Gavin Corkery
6b37630902 Merge "Fix Rescue Party observability criteria" am: 51704f4d07 am: 8d1462d5eb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469282

Change-Id: I9283ffb72e4581b0d10f82c04968c1ee1606cbc1
2020-10-21 11:24:22 +00:00
Gavin Corkery
8d1462d5eb Merge "Fix Rescue Party observability criteria" am: 51704f4d07
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469282

Change-Id: I702c2893aab576fd798de0d0878788e855c39801
2020-10-21 11:10:27 +00:00
Anton Hansson
867119b5f1 Merge "Dist the merged api txts for normal builds too" am: 208cdcbf3f am: a1e66b4d43 am: 4b0e3f92ae am: d9d3a6ce10
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1468242

Change-Id: I5c25656990432c01628ccdabd44a10da8bdf114f
2020-10-21 11:10:02 +00:00
Anton Hansson
d9d3a6ce10 Merge "Dist the merged api txts for normal builds too" am: 208cdcbf3f am: a1e66b4d43 am: 4b0e3f92ae
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1468242

Change-Id: I7da61b66389948d08c64cb69a51a7a1904546abd
2020-10-21 10:59:19 +00:00
Gavin Corkery
51704f4d07 Merge "Fix Rescue Party observability criteria" 2020-10-21 10:55:23 +00:00
Anton Hansson
4b0e3f92ae Merge "Dist the merged api txts for normal builds too" am: 208cdcbf3f am: a1e66b4d43
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1468242

Change-Id: I395855c24665e052cd0ce7520482d324c095a47d
2020-10-21 10:44:17 +00:00
Bill Yi
4d3bd1aee9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: If3143bf4015cfbc8660cce905c05f38445e683ab
2020-10-21 10:38:47 +00:00
Anton Hansson
a1e66b4d43 Merge "Dist the merged api txts for normal builds too" am: 208cdcbf3f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1468242

Change-Id: Ia6e2c3fff4393f9351b4af905b1a2c2a1ff79c83
2020-10-21 10:10:08 +00:00
Treehugger Robot
7cef363570 Merge "CEC: Set IO looper to control service in message validator test" am: 8c82061a05 am: 0220e9b3f4 am: 1fc3b18284 am: fd5d947642
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1463903

Change-Id: I70b496633ced0777d3179f6dc79e0838306edee0
2020-10-21 09:57:05 +00:00
Treehugger Robot
7fbdf711d9 Merge "Use public API of Settings.Secure to get/put secure settings" am: d7203652f7 am: dbb2d21bbb am: 93d09dde3a am: c34b1748fe
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1463904

Change-Id: I17de63457259f7791916e4a1ff5575124784ae4a
2020-10-21 09:56:45 +00:00
Anton Hansson
208cdcbf3f Merge "Dist the merged api txts for normal builds too" 2020-10-21 09:54:49 +00:00
Treehugger Robot
fd5d947642 Merge "CEC: Set IO looper to control service in message validator test" am: 8c82061a05 am: 0220e9b3f4 am: 1fc3b18284
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1463903

Change-Id: I261b03b5403ab105e129ab61243003c61646687d
2020-10-21 09:43:14 +00:00
Charles Chen
8005b00b75 Fix bind service failure on Android Auto
The failure is because ActiveServices thought window context's token is
an Activity token but could not find the corresponding ActivityRecord
in ATMS and then early-returned. This issue was exposed because of
Presentation's window context migration.
This CL relaxed the condition to early return only if the token is
neither an Activity token nor a WindowContext token.

Bug: 171280916
Bug: 171027173
Bug: 170960206

Test: Tests mentioned in b/170960206#comment1
Test: manual - use auto desktop mode to launch Music/Maps
Test: atest WindowContextTests#testWindowContextBindService

Change-Id: I313d3d870caa28e02af035b4a6032d649f81a510
2020-10-21 17:43:00 +08:00