Commit Graph

651193 Commits

Author SHA1 Message Date
TreeHugger Robot
702bfdef9b [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 2758f3c217 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Id7fe570b9ade514246dd9fc1228dff900e86cb36
2021-07-14 06:38:11 +00:00
TreeHugger Robot
2758f3c217 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-14 06:18:58 +00:00
Bill Yi
22b3cc8c2d [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: c6a4ae9220 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I97f4b951f3d2dd9376e396aaff90ed6f08b6a324
2021-07-14 06:07:45 +00:00
Bill Yi
c6a4ae9220 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iccdb81baaae5e0c6b6fe8c2ea9a5dfdda5d1ee06
2021-07-14 03:47:13 +00:00
Bill Yi
287efc6d19 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I07c5ace05c6027db7f6bfb9143b014c053b3fd20
2021-07-14 03:20:03 +00:00
Wei Sheng Shih
db9a73f740 Merge "Fix setApplicationNightMode did not persist night mode." into sc-dev am: 5b1b2b1555
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15270812

Change-Id: I489144224a4fa257ab68c2a7af5a118f175fa346
2021-07-14 01:50:24 +00:00
TreeHugger Robot
7e3a4dc30b Merge "Fix BstatsCpuTimesValidationTest.testCpuFreqTimes_trackingDisabled" into sc-dev am: f7aca0513d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15277354

Change-Id: I3e1ff9bea9b3bbaebb6988e0ed5321a79627e19e
2021-07-14 01:50:07 +00:00
Wei Sheng Shih
992684e112 Merge "Get starting window background color directly." into sc-dev am: a9a861134d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15020163

Change-Id: I717ea735897a965380600a5305448582517cd160
2021-07-14 01:48:55 +00:00
Wei Sheng Shih
5b1b2b1555 Merge "Fix setApplicationNightMode did not persist night mode." into sc-dev 2021-07-14 01:34:41 +00:00
TreeHugger Robot
f7aca0513d Merge "Fix BstatsCpuTimesValidationTest.testCpuFreqTimes_trackingDisabled" into sc-dev 2021-07-14 01:30:41 +00:00
Wei Sheng Shih
a9a861134d Merge "Get starting window background color directly." into sc-dev 2021-07-14 01:28:39 +00:00
Hans Boehm
fbccd18cb1 Merge "Use tmpArgBuffer correctly when argBuffer is null" am: a7fbddac5f am: 6d7cf56683
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1762425

Change-Id: Ie7f2e9987469c84d7f039519da3ac73120cbc1d0
2021-07-14 01:08:18 +00:00
Hans Boehm
6d7cf56683 Merge "Use tmpArgBuffer correctly when argBuffer is null" am: a7fbddac5f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1762425

Change-Id: Iba33ece5d6c6df050137c807f266acd1659810ca
2021-07-14 00:53:41 +00:00
Hans Boehm
a7fbddac5f Merge "Use tmpArgBuffer correctly when argBuffer is null" 2021-07-14 00:37:20 +00:00
TreeHugger Robot
c38c1f14ea Merge "Update lock icon transitions" into sc-dev am: d8cb97df46
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15238162

Change-Id: I4b9fa9d994c51fb5c8a3ece697daf25cf3be8fea
2021-07-14 00:22:46 +00:00
TreeHugger Robot
2b4488e789 Merge "Only fillLowPowerStats when needed" into sc-dev am: e7c2db0c92
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15277352

Change-Id: Id401f4a5f0d7cbe2cb3b8fee90e4446a91804bd9
2021-07-14 00:22:32 +00:00
TreeHugger Robot
a7b5229cae Merge "Key rotation support when updating an app on IncFS." into sc-dev am: befe7710e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15264144

Change-Id: I704ace99e5ccd6c7f13131224bc2eeea447265aa
2021-07-14 00:22:13 +00:00
TreeHugger Robot
d8cb97df46 Merge "Update lock icon transitions" into sc-dev 2021-07-14 00:17:04 +00:00
TreeHugger Robot
e7c2db0c92 Merge "Only fillLowPowerStats when needed" into sc-dev 2021-07-14 00:15:26 +00:00
TreeHugger Robot
befe7710e1 Merge "Key rotation support when updating an app on IncFS." into sc-dev 2021-07-14 00:10:15 +00:00
Evan Severson
160c04a3b4 Merge "Update the sensor use dialog if more sensors are accessed" into sc-dev am: 41ff39a156
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15246715

Change-Id: I0436371e6bbd75a46deb44cdbb2e458a123ac736
2021-07-13 23:53:41 +00:00
Evan Severson
41ff39a156 Merge "Update the sensor use dialog if more sensors are accessed" into sc-dev 2021-07-13 23:35:32 +00:00
Dmitri Plotnikov
682450ec2d Fix BstatsCpuTimesValidationTest.testCpuFreqTimes_trackingDisabled
Bug: 192508837
Test: atest --rerun-until-failure 300 FrameworksCoreTests:com.android.internal.os.BstatsCpuTimesValidationTest#testCpuFreqTimes_trackingDisabled -- --abi x86_64
Change-Id: I0985d8e602f7a7b4fc619545828d6680fc6cf856
2021-07-13 16:13:29 -07:00
Michael Wachenschwanz
44fc5760dc Only fillLowPowerStats when needed
This fixes a boottime regression.
Prior to fix, FinishBooting took ~900ms to complete
After fix, FinishBooting took ~120ms to complete

Fixes: 193074223
Test: atest google/perf/boottime/boottime-test
Change-Id: If85a93f1f92c8af8251c870bf576bb125778b011
2021-07-13 16:01:33 -07:00
Lee Shombert
52a76e3645 Merge "Take snapshots of SettingBase subclasses" into sc-dev am: 4de5e90844
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15246960

Change-Id: I092e87826d14494fc6aeeebb1c0a9516cc973e91
2021-07-13 21:49:53 +00:00
Lee Shombert
4de5e90844 Merge "Take snapshots of SettingBase subclasses" into sc-dev 2021-07-13 21:38:50 +00:00
TreeHugger Robot
2fa0bc50f2 Merge "Validate AttributionSource during unparceling." into sc-dev am: fee338118c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15275356

Change-Id: Ia6de0ea0abf38ece5ca1e6fb8f9ebad91fd07bd9
2021-07-13 21:01:47 +00:00
TreeHugger Robot
e8a4a90099 Merge "Remove PMS dropNonSystemPackages" into sc-dev am: 84f4ecec39
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15273763

Change-Id: Ic92cc13a8aad31958be2468f1cc3bdd4c68ccfbf
2021-07-13 21:00:34 +00:00
Nate Myren
5e27db7cab Merge "Do not clear REVOKED_COMPAT for pre-S NEARBY_DEVICES" into sc-dev am: 9900f4b247
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15248112

Change-Id: I13136703dcd92eaf760dfb920691ed4b7812b71d
2021-07-13 20:59:00 +00:00
TreeHugger Robot
fee338118c Merge "Validate AttributionSource during unparceling." into sc-dev 2021-07-13 20:57:17 +00:00
TreeHugger Robot
84f4ecec39 Merge "Remove PMS dropNonSystemPackages" into sc-dev 2021-07-13 20:10:38 +00:00
Nate Myren
9900f4b247 Merge "Do not clear REVOKED_COMPAT for pre-S NEARBY_DEVICES" into sc-dev 2021-07-13 19:59:15 +00:00
Daniel Sandler
6b4145107f Merge changes from topic "egg12" into sc-dev am: 51204c444a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15241669

Change-Id: I8b4f140fbb274c27322edbce630b48d0421baa07
2021-07-13 19:47:05 +00:00
TreeHugger Robot
f6499e64e8 Merge "Add unique notification ids for mic/cam toggles" into sc-dev am: e8bda64973
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15235172

Change-Id: I7d5b889bda919795e51c920380428b456acd92f9
2021-07-13 19:46:28 +00:00
Galia Peycheva
40c489a6e2 Merge "Adjust usages of cross-window blur to new radius" into sc-dev am: cfe3a64c67
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15175410

Change-Id: Ibcfc218526df165a3fdfe137b230dc1be4cb5acc
2021-07-13 19:45:29 +00:00
TreeHugger Robot
c9dd31d838 Merge "Reset tooltip preference to fix flaky test." into sc-dev am: 59cc921223
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15273833

Change-Id: If2b9d2720cc981e9eefd5ed02dc887b308b43528
2021-07-13 19:43:46 +00:00
Daniel Sandler
51204c444a Merge changes from topic "egg12" into sc-dev
* changes:
  Bubbling up some of these great new colors.
  AnalogClock: Allow subclasses to override the "now" instant.
2021-07-13 19:37:48 +00:00
TreeHugger Robot
e8bda64973 Merge "Add unique notification ids for mic/cam toggles" into sc-dev 2021-07-13 19:28:55 +00:00
Galia Peycheva
cfe3a64c67 Merge "Adjust usages of cross-window blur to new radius" into sc-dev 2021-07-13 19:19:20 +00:00
TreeHugger Robot
59cc921223 Merge "Reset tooltip preference to fix flaky test." into sc-dev 2021-07-13 19:18:43 +00:00
Jeff Sharkey
4025c6e7ae Validate AttributionSource during unparceling.
The Bluetooth stack is just one example of an application that makes
self-calls through public APIs, which makes it very difficult to
unconditionally validate AttributionSource arguments.

(The AttributionSource is correctly defined the first time a remote
caller enters the Bluetooth stack, but we've found many cases where
Bluetooth stack calls back into itself without clearing the Binder
identity, causing validation chaos.)

This change is an attempt at gracefully solving this by performing
validation automatically as part of unparceling an AttributionSource
the first time it enters a process.  This strategy isn't perfect,
since transporting an instance inside a Bundle would risk
unparceling much later, possibly long after the calling UID
information has been discarded.  We're rationalizing that this risk
doesn't exist since AttributionSource was only added a few months
ago, and isn't being used in this way.

We still intend to circle back and provide a better strategy in a
future release for transporting AttributionSource across AIDL which
will handle the nuances of self-calls.

Bug: 188391719
Test: atest BluetoothInstrumentationTests
Change-Id: I10b198cfcd8f361e19d52f86deb7f10f05fec891
2021-07-13 12:34:14 -06:00
TreeHugger Robot
31c35df65a Merge "Remove keyguard state callback onViewDetached." into sc-dev am: d232ab98b3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15273145

Change-Id: I3a5021aab88299f34488bcd1c0d2ee62db9d8302
2021-07-13 18:23:59 +00:00
Joshua Baxter
249c602ec7 Merge "docs: fix typo" into sc-dev am: 3035bfacb7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15264710

Change-Id: I7d28354af420b0f104e28c1b5afc461902e1c8af
2021-07-13 18:20:13 +00:00
TreeHugger Robot
d232ab98b3 Merge "Remove keyguard state callback onViewDetached." into sc-dev 2021-07-13 18:19:31 +00:00
Joshua Baxter
3035bfacb7 Merge "docs: fix typo" into sc-dev 2021-07-13 18:06:49 +00:00
Anna Zappone
6c14010528 Merge "Prevent any SecurityExceptions on Uri resolution" into sc-dev am: d1952df3d0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15262570

Change-Id: Ie75076ad360e9036c18b3f5bacf7bf3ac93b0899
2021-07-13 18:02:40 +00:00
Anna Zappone
d1952df3d0 Merge "Prevent any SecurityExceptions on Uri resolution" into sc-dev 2021-07-13 17:46:06 +00:00
Jack Yu
5ec3ce814d [automerger skipped] Merge changes from topics "getApnTypeString", "qns_switched_pref" am: ef140360c3 am: c57a926bbe -s ours
am skip reason: Merged-In Ia79bb9eaa1fc43a2995730da47289274f94d67fe with SHA-1 6930ca1e6d is already in history

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

Change-Id: Idf633b7ded8338d8660d815ee71e98fd44d8136b
2021-07-13 17:36:14 +00:00
Jack Yu
0d4fb1e2e4 [automerger skipped] Disallow data when QNS switched the preference am: 3a72957b4b am: d773fb8f40 -s ours
am skip reason: Merged-In I1a0c86a978756d5b05851d939e011010f8f1afc2 with SHA-1 50a8fccec7 is already in history

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

Change-Id: I25a3f4a5582f04b076a00ceaab256df057e159f4
2021-07-13 17:36:04 +00:00
TreeHugger Robot
847e452917 Merge "speech: Fix RemoteSpeechReco race condition" into sc-dev am: ede93e7710
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15260390

Change-Id: If410bf60774ef5d9da769df7881686637bc686fb
2021-07-13 17:26:30 +00:00