Commit Graph

652357 Commits

Author SHA1 Message Date
Bill Yi
72bc6d78e2 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 468621bab9 -s ours am: bad6f056f3 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I92c1233827e2ec3cd0ea52797aa104f9afdf0cfc
2021-07-27 19:44:34 +00:00
Bo Liu
9cb67d342e Merge "ADPF: Handle preferred interval on unsupported device" into sc-dev am: 047d3ba17a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15392128

Change-Id: Ie35c2089b3627d583e37acefa83026c74c6d733a
2021-07-27 19:44:25 +00:00
TreeHugger Robot
cfeb86b0d0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev am: 27e6215f16 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ib5e6e82ebd065f8a326ab3eb775f0f9b2e6ab03b
2021-07-27 19:43:46 +00:00
Jeff Sharkey
ce6a9699b6 Merge "Pass metadata as AttributionSourceSource." into sc-dev am: a57ee36d6c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15388734

Change-Id: Iabda6bed8f2392201a0fc87eb31f9d01a3ecac1e
2021-07-27 19:43:33 +00:00
Lyn Han
878ecdf560 Merge "Cancel existing QsClippingAnimation when creating new one" into sc-dev am: ea1871c7d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15390005

Change-Id: I72a4d3b47933935f561030398ccd20a1d8792217
2021-07-27 19:43:07 +00:00
Bill Yi
bad6f056f3 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 468621bab9 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I9f2ac853fe80e8f74d900514618570333928aa33
2021-07-27 19:42:39 +00:00
Bo Liu
047d3ba17a Merge "ADPF: Handle preferred interval on unsupported device" into sc-dev 2021-07-27 19:35:08 +00:00
TreeHugger Robot
27e6215f16 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-07-27 19:27:45 +00:00
Jeff Sharkey
a57ee36d6c Merge "Pass metadata as AttributionSourceSource." into sc-dev 2021-07-27 19:20:50 +00:00
Meng Wang
8c6278ecbc Merge "Lazily load bitmap of SubscriptionInfo" am: 4d8663cb84 am: 9b7bccc2cf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1778879

Change-Id: I5944721172cd1faa66aebeceb04cc057bc6d0cd4
2021-07-27 19:16:10 +00:00
Lyn Han
ea1871c7d2 Merge "Cancel existing QsClippingAnimation when creating new one" into sc-dev 2021-07-27 19:01:35 +00:00
Lyn Han
a39aece07c Cancel existing QsClippingAnimation when creating new one
Bug: 191436459

[Manual tests for regressions]
Test: open shade from lockscreen, open fullscreen qs
Test: open unlocked shade, open fullscreen qs
Test: directly open fullscreen qs from top of lockscreen
Test: directly open fullscreen qs via two-finger swipe while unlocked

Change-Id: Ibb8f3e35e5fc14e4e029e98fa3dd83a20b470ebf
2021-07-27 19:01:16 +00:00
Meng Wang
9b7bccc2cf Merge "Lazily load bitmap of SubscriptionInfo" am: 4d8663cb84
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1778879

Change-Id: I6dbb148d3cee85851b63c54c9c193e50223abe68
2021-07-27 18:53:20 +00:00
Adam He
0fe0c2b361 Merge "Fix inline autofill not working if both afservice and keyboard support it, but keyboard disabled inline support manually." into sc-dev am: e31184cb46
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15362681

Change-Id: If605d300d5b7d4cbf7038566c885d6c274b60d46
2021-07-27 18:51:02 +00:00
Adam He
e31184cb46 Merge "Fix inline autofill not working if both afservice and keyboard support it, but keyboard disabled inline support manually." into sc-dev 2021-07-27 18:31:08 +00:00
Meng Wang
4d8663cb84 Merge "Lazily load bitmap of SubscriptionInfo" 2021-07-27 18:30:21 +00:00
Bill Yi
468621bab9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7c75dccc4cf4010af62122df50c64949b2a479e6
2021-07-27 18:01:59 +00:00
Julia Reynolds
44d4056877 Merge "Add NMS broadcasts to protected list" into sc-dev am: 92145ddf77
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15393660

Change-Id: Ic1110f3618171322349346d017938c3248b7845a
2021-07-27 16:35:52 +00:00
Julia Reynolds
92145ddf77 Merge "Add NMS broadcasts to protected list" into sc-dev 2021-07-27 16:16:53 +00:00
Jason Chang
63f15d32dd Merge "Fix tutorial background color not up-to-date occasionally" into sc-dev am: 3ebd024a80
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15373613

Change-Id: I55abb1baa725c312038fb454f9a3737d88c13fe7
2021-07-27 16:12:56 +00:00
Jason Chang
3ebd024a80 Merge "Fix tutorial background color not up-to-date occasionally" into sc-dev 2021-07-27 16:00:30 +00:00
Jeff Sharkey
75d4f93a4e Pass metadata as AttributionSourceSource.
These two PermissionManager methods are using AttributionSource as
metadata only, and aren't interested in the remote caller enforcing
that the claimed UID matches the caller, since they're not actually
being used for permission enforcement.

Thus we pass the metadata using the AttributionSourceState holder
object and reconstruct on the remote side, entirely avoiding the
enforceCallingUid() check.

Bug: 193842956
Test: atest CtsPermission5TestCases
Change-Id: I576b6feb8cc2b0586b4341268866d8027689293f
2021-07-27 09:45:54 -06:00
Peter Kalauskas
c2360bad51 Merge "Move guest creation to background thread" into sc-dev am: 2599b29073
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15373286

Change-Id: I0165115ab9b76b27213de6eb7824fa9e63a6908e
2021-07-27 15:25:45 +00:00
Bill Yi
97dc391718 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 170f2b6287 -s ours am: c78d905228 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1c0d22767cd2b00fe12f5b3aa18e4dc528d057a7
2021-07-27 15:25:17 +00:00
Peter Kalauskas
2599b29073 Merge "Move guest creation to background thread" into sc-dev 2021-07-27 15:19:05 +00:00
Bill Yi
c78d905228 [automerger skipped] Import translations. DO NOT MERGE ANYWHERE am: 170f2b6287 -s ours
am skip reason: subject contains skip directive

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

Change-Id: Ia293b6b9c509b8f7c5716badb3d056065e0aed5e
2021-07-27 15:09:11 +00:00
Jeff DeCew
b744663f9d Merge "Use correct stack height when bypass enabled." into sc-dev am: 44cd9995db
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15392213

Change-Id: Ief9db8b88ee36471affe960f247635f05c7768bb
2021-07-27 14:52:47 +00:00
Sergey Volnov
04f0c39ce3 Merge "Fix content capture not being usable from hotword detector." into sc-dev am: 78456de866
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15379071

Change-Id: Ic7db23b4c0c7a70b6fd79f3de9c5e2e0b5fd1045
2021-07-27 14:52:12 +00:00
Alex Buynytskyy
9336680fe5 Merge "Check for invalid (negative) string pool pos." into sc-dev am: 59bad728e2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15390628

Change-Id: Idcdd73f51cab13a188cf6391954662a3c74243b9
2021-07-27 14:51:48 +00:00
Jeff DeCew
44cd9995db Merge "Use correct stack height when bypass enabled." into sc-dev 2021-07-27 14:46:44 +00:00
Sergey Volnov
78456de866 Merge "Fix content capture not being usable from hotword detector." into sc-dev 2021-07-27 14:43:44 +00:00
Alex Buynytskyy
59bad728e2 Merge "Check for invalid (negative) string pool pos." into sc-dev 2021-07-27 14:39:29 +00:00
Amruth Ramachandran
33322518d2 Merge "[PhysicalChannelConfig] UL's frequency should not be same with DL's" into sc-dev am: 4afa9546f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15373617

Change-Id: Ibab5c2026307ff9d5ca89d6df10c5abaa7a763f7
2021-07-27 14:05:57 +00:00
Bill Yi
ee936e5a15 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7a68ce14c2eea18a697b67b231c17da7c0ac4fa8
2021-07-27 14:05:52 +00:00
Amruth Ramachandran
4afa9546f9 Merge "[PhysicalChannelConfig] UL's frequency should not be same with DL's" into sc-dev 2021-07-27 13:47:33 +00:00
Bill Yi
170f2b6287 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I782fcfa347f70ae2745a058128f836463f39ed77
2021-07-27 13:08:56 +00:00
Sergey Volnov
eacb8c8aee Fix content capture not being usable from hotword detector.
Bug: 194534612
Test: local repro
Change-Id: I58e5c68ea486b4da2f82b9d89440f86a8d507727
2021-07-27 12:38:31 +01:00
Vadim Caen
733a7c94c5 Merge "Do not draw icon background if it shouldn't be seen" into sc-dev am: ee08a68fd4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15175437

Change-Id: Icb38e71a17f5b143545622411a690ff8b2985638
2021-07-27 10:20:07 +00:00
Vadim Caen
ee08a68fd4 Merge "Do not draw icon background if it shouldn't be seen" into sc-dev 2021-07-27 10:05:17 +00:00
Rubin Xu
d8c6203bec Merge "Stop managed profile owner granting READ_SMS" into sc-dev am: 28e4c5d57a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15371691

Change-Id: I352548279c31d182ff5bfb8c3fb4da41ddf53fb0
2021-07-27 09:05:46 +00:00
Rubin Xu
28e4c5d57a Merge "Stop managed profile owner granting READ_SMS" into sc-dev 2021-07-27 08:51:15 +00:00
Jason Chang
f40204087c Fix tutorial background color not up-to-date occasionally
1. Fix bug in the legacy code flow
   - Obtain color from contextThemeWrapper Theme_DeviceDefault_DayNight
   - In OneHandedDisplayAreaOrganizer#finishOffset()
     Remove redundant call "cb.onStartTransition" due to
     ambugiuous.

2. Improve performance
   - Remove redundunt callbacks.
   - Avoid create/remove leash on each start/end cycle.
   - Dispatch Transaction to bkg leash through onAnimationUpdate()
     bkg leash apply the same Transaction of display area.
   - Adjust animation duration of Tutorial panel.
   - Move bkg leash depend on yPos value to reduce SF
     componsition overhead.

3. Improve code readibility
   - Code flow : Register -> onStart() -> show  background ->
     detach background -> Unregister -> remove leash.
   - Remove redundant synchronization due to wmshell already
     guarantee thread safe.
   - Move getTranslationFraction to SettingsUtil.
   - Move getTransitionDuration to SettingsUtil.

Bug: 194507756
Bug: 193589897

Test: Local verify when changing dark theme and wallpaper theme.
Test: atest WMShellUnitTests
Change-Id: Ib55753be9e9f4665c20ad34437f86bf80cc9f3b4
2021-07-27 15:20:19 +08:00
Meng Wang
ba8227eb45 Lazily load bitmap of SubscriptionInfo
Bug: 194251398
Test: manual - see the bug
Change-Id: I0af239e1befeff8d4f00a27bc9679eb0b4849500
Merged-In: I0af239e1befeff8d4f00a27bc9679eb0b4849500
(cherry picked from commit 0e0a12ccf3)
2021-07-26 21:06:33 -07:00
Mingming Cai
c69fbc99a2 Merge "Fix CQI range in CellSignalStrengthNr" into sc-dev am: 2d5cbc5d2d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15394377

Change-Id: I1442bcd6e15d8d730d69158a354fabaf669ba926
2021-07-27 03:50:41 +00:00
Mingming Cai
2d5cbc5d2d Merge "Fix CQI range in CellSignalStrengthNr" into sc-dev 2021-07-27 03:29:26 +00:00
Tianjie Xu
547296b419 Merge "Add a system API UpdateEngine to switch the slot back and forth" am: 4eaa49eeb6 am: 7c7696cd47
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1698090

Change-Id: Iea96fe5411794ca3a95031661edea581c3334b6b
2021-07-27 02:42:21 +00:00
Julia Reynolds
1eadd544ef Add NMS broadcasts to protected list
Test: try to send broaddcasts from unrooted shell, verify they fail
Fixes: 194540462
Change-Id: I74a82d0fefb335d08599833e4518a2e66085c6e4
2021-07-27 02:31:09 +00:00
Tianjie Xu
7c7696cd47 Merge "Add a system API UpdateEngine to switch the slot back and forth" am: 4eaa49eeb6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1698090

Change-Id: I60bdebcc482028135dd05979bb50cba5ca656f13
2021-07-27 02:19:18 +00:00
Tianjie Xu
4eaa49eeb6 Merge "Add a system API UpdateEngine to switch the slot back and forth" 2021-07-27 02:03:10 +00:00
Zoey Chen
e5225ba858 [PhysicalChannelConfig] UL's frequency should not be same with DL's
Bug: 194042135
Test: atset PhysicalChannelConfigTest
Change-Id: I1225a1429ff77b33c54af0dfce60a8739494e47a
Merged-In: I1225a1429ff77b33c54af0dfce60a8739494e47a
2021-07-27 00:43:16 +00:00