Commit Graph

586731 Commits

Author SHA1 Message Date
Joanne Chung
11f3fdf4e2 Made CacheQuotaHint testable.
Bug: 158762190
Test: atest android.app.usage.cts.CacheQuotaHintTest
Change-Id: I2b0a49e5199354972231c44c6956073bf714e2e4
2020-10-14 09:56:43 +08:00
Anton Hansson
043fb71ae7 Merge "Add last_released checking for module-lib API too" am: c34ea595c2 am: 6f7f0d2e31 am: ba259ecb01 am: 64bbfefa8b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1452496

Change-Id: Ica515e450842c26e52dd36c2381aaecb85d0d23f
2020-10-08 10:24:57 +00:00
Anton Hansson
64bbfefa8b Merge "Add last_released checking for module-lib API too" am: c34ea595c2 am: 6f7f0d2e31 am: ba259ecb01
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1452496

Change-Id: I31225c5d9b91574ba75b40f9a5019d0e356c9eff
2020-10-08 09:54:36 +00:00
Anton Hansson
ba259ecb01 Merge "Add last_released checking for module-lib API too" am: c34ea595c2 am: 6f7f0d2e31
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1452496

Change-Id: I992b3d08d6cabc9d48b3f0a75742e5dd9d216d87
2020-10-08 09:19:38 +00:00
Alexander Dorokhine
a91a221e16 Merge "Merge Jetpack AppSearchSchema work from last two quarters." 2020-10-08 08:59:44 +00:00
Anton Hansson
6f7f0d2e31 Merge "Add last_released checking for module-lib API too" am: c34ea595c2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1452496

Change-Id: Iee77bf3c75cd33cf0af9725ecdbcd26bb1c36b40
2020-10-08 08:54:57 +00:00
Anton Hansson
c34ea595c2 Merge "Add last_released checking for module-lib API too" 2020-10-08 08:20:27 +00:00
TreeHugger Robot
54416f5174 Merge "Error prone checks for mutability flags on PI" 2020-10-08 07:37:12 +00:00
tim peng
4969a9a412 Merge "Add constant for dismiss Settings panel" 2020-10-08 06:50:02 +00:00
TreeHugger Robot
369e0076ca Merge "Fix storing the wrong value of mLockdown in setting" into oc-mr1-dev am: 83739b6db9 am: a2a586a61a am: d29dc3d991 am: e7069bce3c am: f1c038465d am: 488660a841 am: 84233312e3 am: 098198f337
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12735135

Change-Id: I0c684db3596662ce7d861cee5e989a4c01d4fc43
2020-10-08 06:30:10 +00:00
TreeHugger Robot
b860b7cc23 Merge "Fix storing the wrong value of mLockdown in setting" into oc-mr1-dev am: 83739b6db9 am: a2a586a61a am: d29dc3d991 am: e7069bce3c am: f1c038465d am: 488660a841 am: fa36d922fa am: 6284768b34
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12735135

Change-Id: If723daa21c4aca8b3e354d8bb4f79007bd65abc7
2020-10-08 06:29:45 +00:00
Nate Jiang
469eaf8c7a Merge "Create a separate method to get Mac Random Key" 2020-10-08 06:15:24 +00:00
TreeHugger Robot
098198f337 Merge "Fix storing the wrong value of mLockdown in setting" into oc-mr1-dev am: 83739b6db9 am: a2a586a61a am: d29dc3d991 am: e7069bce3c am: f1c038465d am: 488660a841 am: 84233312e3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12735135

Change-Id: I38142458e6e518a6f6242f4d8294c423d85803d5
2020-10-08 06:14:31 +00:00
TreeHugger Robot
6284768b34 Merge "Fix storing the wrong value of mLockdown in setting" into oc-mr1-dev am: 83739b6db9 am: a2a586a61a am: d29dc3d991 am: e7069bce3c am: f1c038465d am: 488660a841 am: fa36d922fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12735135

Change-Id: Ib9900b5a57bee76a417bd17b8cebb086821bf649
2020-10-08 06:14:18 +00:00
Automerger Merge Worker
40677728b3 Merge "Merge "Fix out of bound error of IncidentService" into rvc-qpr-dev am: f1d26a395f am: 672dbc997c" 2020-10-08 06:09:56 +00:00
TreeHugger Robot
adae71f4b0 Merge "Fix storing the wrong value of mLockdown in setting" into oc-mr1-dev am: 83739b6db9 am: a2a586a61a am: d29dc3d991 am: e7069bce3c am: f1c038465d am: a50be49dd4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12735135

Change-Id: I677a0fe660a25239c19b3b49403049d46d807067
2020-10-08 06:09:38 +00:00
TreeHugger Robot
aa6da27b28 Merge "Fix out of bound error of IncidentService" into rvc-qpr-dev am: f1d26a395f am: 672dbc997c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12560657

Change-Id: I2d884a2a9a02cfdc666545fd2c294a38ca4682bf
2020-10-08 06:09:34 +00:00
Ashwini Oruganti
1f0c08134a Error prone checks for mutability flags on PI
Add a mutability flag check for all method calls that create a PendingIntent.

Bug: 160794467
Test: atest error_prone_android_framework_test:com.google.errorprone.bugpatterns.android.PendingIntentMutabilityCheckerTest
Change-Id: I26a51a6dddb2793e9a56e72876f3f9d2aea4e3fb
2020-10-07 23:06:07 -07:00
TreeHugger Robot
56af862615 Merge "Reset WindowContainerTransaction when rotation changed callback" 2020-10-08 06:05:19 +00:00
TreeHugger Robot
84233312e3 Merge "Fix storing the wrong value of mLockdown in setting" into oc-mr1-dev am: 83739b6db9 am: a2a586a61a am: d29dc3d991 am: e7069bce3c am: f1c038465d am: 488660a841
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12735135

Change-Id: Ib1481039e0f1c4cfc228e2417d2a06c8d77e4b8b
2020-10-08 05:51:53 +00:00
TreeHugger Robot
fa36d922fa Merge "Fix storing the wrong value of mLockdown in setting" into oc-mr1-dev am: 83739b6db9 am: a2a586a61a am: d29dc3d991 am: e7069bce3c am: f1c038465d am: 488660a841
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12735135

Change-Id: I1fb24e81863dde068986b75e421c1dad5a483c50
2020-10-08 05:51:31 +00:00
TreeHugger Robot
26e228da83 Merge "Should not switch to a user with removal in progress" 2020-10-08 05:43:29 +00:00
TreeHugger Robot
0e4965517e Merge "Respect feature flag when providing OHM controller" 2020-10-08 05:38:48 +00:00
TreeHugger Robot
a50be49dd4 Merge "Fix storing the wrong value of mLockdown in setting" into oc-mr1-dev am: 83739b6db9 am: a2a586a61a am: d29dc3d991 am: e7069bce3c am: f1c038465d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12735135

Change-Id: I33bc6c6b1c1ce5adffe1ef7ad84d18833d996240
2020-10-08 05:36:39 +00:00
TreeHugger Robot
672dbc997c Merge "Fix out of bound error of IncidentService" into rvc-qpr-dev am: f1d26a395f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12560657

Change-Id: I235a1d3fb89567116484bc9383830d390862fb1a
2020-10-08 05:36:35 +00:00
TreeHugger Robot
488660a841 Merge "Fix storing the wrong value of mLockdown in setting" into oc-mr1-dev am: 83739b6db9 am: a2a586a61a am: d29dc3d991 am: e7069bce3c am: f1c038465d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12735135

Change-Id: I3a3bbd6f1b810d006cbe5e3e06fd00aa5bf09b0d
2020-10-08 05:36:21 +00:00
Riddle Hsu
2bfca13845 Merge changes Iefc9e02a,If30ab233,I75b71560
* changes:
  Move defer-process-config for cached process to client side
  Remove direct WM lock from WPC#onTopProcChanged
  Remove WM lock from simple conditions in oom-adj update
2020-10-08 05:31:09 +00:00
Riddle Hsu
680043cae6 Merge "Fix potential NPE when turning on screen by activity" 2020-10-08 05:30:17 +00:00
TreeHugger Robot
f1d26a395f Merge "Fix out of bound error of IncidentService" into rvc-qpr-dev 2020-10-08 05:12:35 +00:00
TreeHugger Robot
f1c038465d Merge "Fix storing the wrong value of mLockdown in setting" into oc-mr1-dev am: 83739b6db9 am: a2a586a61a am: d29dc3d991 am: e7069bce3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12735135

Change-Id: I0b180698048fb1c643d90f2d038d1df8d66fc671
2020-10-08 05:05:38 +00:00
TreeHugger Robot
e7069bce3c Merge "Fix storing the wrong value of mLockdown in setting" into oc-mr1-dev am: 83739b6db9 am: a2a586a61a am: d29dc3d991
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12735135

Change-Id: Ic730c4d98a309aadcde740d77582ffb7d788337f
2020-10-08 04:54:24 +00:00
Mark Chien
eecdb690f6 [automerger skipped] Merge "Remove double check interface by NetworkInterface" into mainline-prod am: 741959e1eb -s ours
am skip reason: Change-Id Ice8adcce1c4b2c86bd219c701b2afa9ba2339f24 with SHA-1 fbade325c0 is in history

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

Change-Id: I97d222493d332f73096dc4bc36274039429e252f
2020-10-08 04:28:30 +00:00
Mark Chien
f488cdf2ad [automerger skipped] Merge "Fix TetheredClient callback fail in InProcessTethering" into mainline-prod am: 19d19662f3 -s ours
am skip reason: Change-Id Ic04e44aef4df772c718ff25ed331bf02f5940c1d with SHA-1 de20bb0e39 is in history

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

Change-Id: I2b9b03b75c6b41532146a722a8fc4f8677b05729
2020-10-08 04:27:42 +00:00
TreeHugger Robot
d29dc3d991 Merge "Fix storing the wrong value of mLockdown in setting" into oc-mr1-dev am: 83739b6db9 am: a2a586a61a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12735135

Change-Id: Id5bfe41bdf8ce53c5da5e9d6322abf7f9df46837
2020-10-08 04:27:35 +00:00
Treehugger Robot
01aca15537 Merge "CallScreeningService API docs cleanup." am: 834c527a3b am: fcafb9acdf am: c3f4c873df am: 1f4f3591a8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1453996

Change-Id: I71719dac58f6cda5e94fb62cd68015ce11a097c3
2020-10-08 04:20:36 +00:00
Mark Chien
741959e1eb Merge "Remove double check interface by NetworkInterface" into mainline-prod 2020-10-08 04:17:59 +00:00
Mark Chien
19d19662f3 Merge "Fix TetheredClient callback fail in InProcessTethering" into mainline-prod 2020-10-08 04:17:35 +00:00
TreeHugger Robot
a2a586a61a Merge "Fix storing the wrong value of mLockdown in setting" into oc-mr1-dev am: 83739b6db9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12735135

Change-Id: I52b4099eca7e8c8069b7fd7446784aae1a0569bc
2020-10-08 04:10:10 +00:00
Treehugger Robot
1f4f3591a8 Merge "CallScreeningService API docs cleanup." am: 834c527a3b am: fcafb9acdf am: c3f4c873df
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1453996

Change-Id: I201fb017f2bd7c4e0c808a6053cdf3655669151c
2020-10-08 04:05:46 +00:00
Bill Lin
038ca7f431 Reset WindowContainerTransaction when rotation changed callback
* Fix the problem that wct do not update/reset bounds after rotation
* Fix ConcurrentModificationException bug
* Refactor OneHandedDisplayAreaOrganizerTest
* Implement OHM dump in WMShell
* Consolidate the test cases
* Replace HashMap to ArrayMap for memory efficiency

Test: manual trigger OHM, rotate device, observe leash is reset
Test: atest SystemUITests
Test: atest WMShellUnitTests
Bug: 162470563
Bug: 170284095
Fixes: 160848002
Change-Id: I1c653174e28c72253cc7eac1d294a5c598bb7921
2020-10-08 03:55:50 +00:00
TreeHugger Robot
83739b6db9 Merge "Fix storing the wrong value of mLockdown in setting" into oc-mr1-dev 2020-10-08 03:40:59 +00:00
Treehugger Robot
c3f4c873df Merge "CallScreeningService API docs cleanup." am: 834c527a3b am: fcafb9acdf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1453996

Change-Id: I4b3649b618dffb42adb9f61f373417fd48859c27
2020-10-08 03:37:49 +00:00
TreeHugger Robot
4ae12e905b Merge "Update docs for onEmergencyNumberListChanged" 2020-10-08 03:21:09 +00:00
David Su
670f4015c3 [automerger skipped] RESTRICT AUTOMERGE Implement sendBroadcastAsUserMultiplePermissions in BridgeContext. am: 752cb249a6 -s ours am: 816fd66d64 -s ours am: d840f0c7da -s ours am: 88ec485f39 -s ours am: 3b9f0fb6c3 -s ours am: 3ea188d4d2 -s ours am: 81373b0b89 -s ours am: b6a404e7ff -s ours am: 9bc3f695b0 -s ours am: 34fa044692 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I3d8c408821db54c33eade283bcfc08808f23c52b
2020-10-08 03:15:50 +00:00
David Su
98c3bc3d1b [automerger skipped] RESTRICT AUTOMERGE Implement sendBroadcastAsUserMultiplePermissions in BridgeContext. am: 752cb249a6 -s ours am: 816fd66d64 -s ours am: d840f0c7da -s ours am: 88ec485f39 -s ours am: 3b9f0fb6c3 -s ours am: 3ea188d4d2 -s ours am: 81373b0b89 -s ours am: b6a404e7ff -s ours am: fe01f078e1 -s ours am: 6c66201b8a -s ours
am skip reason: subject contains skip directive

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

Change-Id: I7c3349014167848ae1e45de6995e798906e94510
2020-10-08 03:15:39 +00:00
Paul Hu
bd74bb7652 Merge "Remove unused ACTION_PACKAGE_ADDED intent." am: d00f9f0236 am: 6dad886eee am: 19c068653a am: 25f4227a18
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1450335

Change-Id: Idf245e96272708345fd41e2874592e97a3af7ee8
2020-10-08 03:15:11 +00:00
David Su
34fa044692 [automerger skipped] RESTRICT AUTOMERGE Implement sendBroadcastAsUserMultiplePermissions in BridgeContext. am: 752cb249a6 -s ours am: 816fd66d64 -s ours am: d840f0c7da -s ours am: 88ec485f39 -s ours am: 3b9f0fb6c3 -s ours am: 3ea188d4d2 -s ours am: 81373b0b89 -s ours am: b6a404e7ff -s ours am: 9bc3f695b0 -s ours
am skip reason: Change-Id I857ea00cc58a0abbb77960643f361dd6dd9c8b56 with SHA-1 e57c25a451 is in history

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

Change-Id: I31fb9d4fb9a18a98ea66db22e142f2d3594f6796
2020-10-08 03:09:44 +00:00
David Su
6c66201b8a [automerger skipped] RESTRICT AUTOMERGE Implement sendBroadcastAsUserMultiplePermissions in BridgeContext. am: 752cb249a6 -s ours am: 816fd66d64 -s ours am: d840f0c7da -s ours am: 88ec485f39 -s ours am: 3b9f0fb6c3 -s ours am: 3ea188d4d2 -s ours am: 81373b0b89 -s ours am: b6a404e7ff -s ours am: fe01f078e1 -s ours
am skip reason: Change-Id I857ea00cc58a0abbb77960643f361dd6dd9c8b56 with SHA-1 e57c25a451 is in history

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

Change-Id: I2cbc2a94c553298d783508ffda328e3f636931e0
2020-10-08 03:03:51 +00:00
Paul Hu
25f4227a18 Merge "Remove unused ACTION_PACKAGE_ADDED intent." am: d00f9f0236 am: 6dad886eee am: 19c068653a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1450335

Change-Id: I30b53b8ef22233bf1dec8cb899c217eddbf53fa1
2020-10-08 03:03:09 +00:00
Treehugger Robot
fcafb9acdf Merge "CallScreeningService API docs cleanup." am: 834c527a3b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1453996

Change-Id: I538fedb66d8ca45aef1daba5e9ba7e26146f307c
2020-10-08 03:02:42 +00:00