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
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
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
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 0e0a12ccf38c946f2ec09ab7f75901207b2f7325)
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
Mingming Cai
9ee4e9bbe9
Fix CQI range in CellSignalStrengthNr
...
bug: 194634718
Test: make
Change-Id: I784f2930999871b6bb90f4e17a2ba694da35126a
2021-07-26 16:55:31 -07:00
TreeHugger Robot
283835fa73
Merge "Prevents scroll capture from targetting secure windows" into sc-dev am: 7ee0307aed
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15374948
Change-Id: I9dc47afb53595c7b3b4dbb0d546c10814ed3ad7e
2021-07-26 23:51:40 +00:00
Peter Kalauskas
67f75ac19a
Fix crash when running UserSwitcherControllerTest am: f69d25f7f2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15363327
Change-Id: I48fd466c50fd0c99ab605587942aaf895114a01d
2021-07-26 23:51:12 +00:00
Peter Kalauskas
e83f829df2
Add tests for guest user metrics am: 7c060b2951
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13959153
Change-Id: I1784c129ab84ed63debc48583cacce627908d755
2021-07-26 23:50:43 +00:00
Peter Kalauskas
58a1a99def
Move guest creation to background thread
...
Fix bug where phone could not unlock if guest user was being created in
the background.
This bug only affected devices with config_guestUserAutoCreated=true.
Test: In scheduleGuestCreation, replace createGuest() with
Thread.sleep(20000). Ensure device can be unlocked within a few
seconds after killing sysui process.
Bug: 194531015
Change-Id: Idc86a7afdb58a64baa3725d8aa56d7c93a409662
2021-07-26 23:44:19 +00:00
TreeHugger Robot
7ee0307aed
Merge "Prevents scroll capture from targetting secure windows" into sc-dev
2021-07-26 23:35:11 +00:00
Peter Kalauskas
f69d25f7f2
Fix crash when running UserSwitcherControllerTest
...
Previously, test would fail on wembley with the following errors:
- No service published for: fingerprint
- No service published for: face
- java.lang.AssertionError: expected:<1> but was:<0>
Fixes: 191280089
Bug: 194441567
Test: atest SystemUITests:com.android.systemui.statusbar.policy.UserSwitcherControllerTest
Change-Id: I34539a5e9678b308b4d3a03e4593fb9385e7831f
Merged-In: I34539a5e9678b308b4d3a03e4593fb9385e7831f
2021-07-26 23:32:30 +00:00
Peter Kalauskas
7c060b2951
Add tests for guest user metrics
...
Test: statsd_testdrive -terse 90
Test: atest SystemUITests:com.android.systemui.qs.tiles.UserDetailViewAdapterTest
Test: atest SystemUITests:com.android.systemui.statusbar.policy.UserSwitcherControllerTest
Bug: 169783558
Bug: 194441567
Change-Id: I009fc0eba32e34cb62f2cc15f9337bce9b81c89d
Merged-In: I009fc0eba32e34cb62f2cc15f9337bce9b81c89d
2021-07-26 23:31:52 +00:00