Kevin Chyn
6eb1342c2d
Merge "Mutate UDFPS FingerprintDrawable" into sc-dev am: 8bd914610f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13733811
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ieec09cc0d37fedbb6a6921f8480fc296e89c2b84
2021-03-03 02:17:13 +00:00
Kevin Chyn
8bd914610f
Merge "Mutate UDFPS FingerprintDrawable" into sc-dev
2021-03-03 01:51:01 +00:00
Lucas Dupin
11abe22f01
Merge "Limit how often wallpapers can update system theme" into sc-dev am: 4973cb868b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13735348
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8028ad13a55a7f1b5a96768244d85ecf5b6de0f7
2021-03-03 01:36:18 +00:00
Lucas Dupin
4973cb868b
Merge "Limit how often wallpapers can update system theme" into sc-dev
2021-03-03 01:32:20 +00:00
TreeHugger Robot
50d45e31dd
Merge "Add new flag to respect statusbar insets" into sc-dev am: 103d174741
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13740957
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7a32dd0f8abb4e75672ba7e739262568f454fdc2
2021-03-03 01:04:33 +00:00
TreeHugger Robot
103d174741
Merge "Add new flag to respect statusbar insets" into sc-dev
2021-03-03 00:42:59 +00:00
Winson Chung
f2c61a0e79
Merge "Move PipTouchHandler initialization to shell main thread" into sc-dev am: e6e1ab1571
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13732137
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I3ccb11dcde31c88ad268ef28263b3456cca91a2b
2021-03-02 23:52:44 +00:00
Winson Chung
e6e1ab1571
Merge "Move PipTouchHandler initialization to shell main thread" into sc-dev
2021-03-02 23:30:30 +00:00
Winson Chung
1402455125
Merge "Only use nearest touch frame for button nav" into sc-dev am: 8232386d0b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13738380
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I004f5aa0fd48692ed1bc9e717934291b3ef107b8
2021-03-02 23:12:00 +00:00
Winson Chung
8232386d0b
Merge "Only use nearest touch frame for button nav" into sc-dev
2021-03-02 22:23:17 +00:00
Daniel Sandler
81ba5ba9ec
Merge "Block touches from descendants of an invisible panel." into sc-dev am: 5150b18343
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13733252
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7adc88db11c1182042accdfd79b36bbdc45b4a44
2021-03-02 21:33:53 +00:00
Daniel Sandler
5150b18343
Merge "Block touches from descendants of an invisible panel." into sc-dev
2021-03-02 21:27:14 +00:00
Sally Yuen
c0fb95a5b4
Merge "Auto-add ReduceBrightColorsTile to QS panel." into sc-dev am: e220bd928a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13498345
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I991d3343ea42d850b84d074c6c606cc023aa43b0
2021-03-02 20:12:32 +00:00
Sally Yuen
e220bd928a
Merge "Auto-add ReduceBrightColorsTile to QS panel." into sc-dev
2021-03-02 20:01:25 +00:00
Winson Chung
f7c8568bea
Only use nearest touch frame for button nav
...
- When calculating the touchable region for the nav bar window
in gestural + IME, we can not use the cached screen space nearest
bounds in particular because the region needs to be in window
space, but also because the IME may want to handle the area
under the spacebar
Bug: 180881900
Test: Open IME, rotate a few times, and try to dismiss
Change-Id: Ib02daa22d327b51953d2107ae9fd498561ee0272
2021-03-02 11:36:13 -08:00
Ryan Mitchell
ff05573e0f
Merge "Don't use ApkAssets::GetPath for equality checks" into sc-dev am: 3381ea741e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13732294
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id65c360b6f257638af5ea9e63b0ab71e50d43e3e
2021-03-02 18:41:23 +00:00
Flavio Fiszman
63ed01707c
Merge "Stop checking FeatureFlags for People Tile." into sc-dev am: b8d3b7d210
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13699728
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie594cb6acce39807214a4c3e928071f27e704a8b
2021-03-02 18:40:22 +00:00
Ryan Mitchell
3381ea741e
Merge "Don't use ApkAssets::GetPath for equality checks" into sc-dev
2021-03-02 18:07:06 +00:00
Ryan Mitchell
ef53843630
Don't use ApkAssets::GetPath for equality checks
...
With the introduction of ResourcesProviders, not all ApkAssets have
paths on disk. Theme::SetTo and various AssetManager methods use the
path to perform equality checking on ApkAssets. This equality check
will be performed on the debug string of an ApkAssets if it does not
have a path on disk. This causes ApkAssets with the same debug name
(like "<empty>") to be seen as the same ApkAssets. Rather than using
path, the pointer to the ApkAssets should be used for equality checking
since ResourcesManager caches and reuses ApkAssets when multiple
AssetManagers request the same assets.
Bug: 177101983
Test: atest CtsResourcesLoaderTests
Change-Id: I11f6a2a3a7cc8febe3f976236792f78e41cf07e6
2021-03-02 18:06:49 +00:00
Flavio Fiszman
b8d3b7d210
Merge "Stop checking FeatureFlags for People Tile." into sc-dev
2021-03-02 17:39:12 +00:00
Ying Xu
54b20f2319
Merge "Only show no internet icons when no other network available" into sc-dev am: 632686728c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13711774
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib641f6ef6a0915766c5dfec831be2c6979d1ca68
2021-03-02 16:43:09 +00:00
Ying Xu
632686728c
Merge "Only show no internet icons when no other network available" into sc-dev
2021-03-02 16:17:12 +00:00
Matt Casey
1ad43b0f3c
Merge "Allow MagnifierView to switch sides if the touch input moves" into sc-dev am: b7f82de1f1
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13712914
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I37036df4403024038970bc8d0394a4d6fb9a1dc6
2021-03-02 15:39:59 +00:00
Matt Casey
3e6a02ecd8
Merge "Make CropView handle images that aren't full-height" into sc-dev am: f9af66d911
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13690327
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I14ec998c0a6944736ae6c28c8527b8d69d3e7c6e
2021-03-02 15:39:44 +00:00
Jamie Garside
d5f338999c
Merge "Update the bouncer to be able to move to either side of a wide screen." into sc-dev am: fcff72ee6e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13687786
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8b5ca738ad371a15144a21fc2286ec5a2620e8a7
2021-03-02 15:38:15 +00:00
Fabian Kozynski
08771af56c
Add new flag to respect statusbar insets
...
Test: manual
Fixes: 178115003
Change-Id: I9a3ab61e1a48be5218582ef4d565425c7d8cee40
2021-03-02 10:28:39 -05:00
Matt Casey
b7f82de1f1
Merge "Allow MagnifierView to switch sides if the touch input moves" into sc-dev
2021-03-02 15:22:27 +00:00
Matt Casey
f9af66d911
Merge "Make CropView handle images that aren't full-height" into sc-dev
2021-03-02 15:22:19 +00:00
Jamie Garside
fcff72ee6e
Merge "Update the bouncer to be able to move to either side of a wide screen." into sc-dev
2021-03-02 14:48:30 +00:00
Matt Pietal
622cf4a505
Merge "Controls - Remove controls from lockscreen, use wallet" into sc-dev am: 422a19bb59
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13699747
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ibab15ec0934189ed820fa893026eb2e94fa9d61a
2021-03-02 14:10:19 +00:00
Matt Pietal
422a19bb59
Merge "Controls - Remove controls from lockscreen, use wallet" into sc-dev
2021-03-02 13:19:51 +00:00
Winson Chung
527b6ce657
Move PipTouchHandler initialization to shell main thread
...
- We should separate the construction from the initialization
and make sure everything is initialized in order on the shell
main thread.
Bug: 181262334
Test: atest PinnedStackTests
Change-Id: I4f52864972146c7440794625e1de370ecea75006
2021-03-01 23:02:00 -08:00
Wei Sheng Shih
4dae96ba79
Merge "Extract StartingSurface interface on WMShellBaseModule(7/N)" into sc-dev am: a3b84a9a62
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13669645
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I782740f8cf915d792d187c0bc41e923acef9b6b4
2021-03-02 05:34:44 +00:00
Wei Sheng Shih
a3b84a9a62
Merge "Extract StartingSurface interface on WMShellBaseModule(7/N)" into sc-dev
2021-03-02 04:50:28 +00:00
Lucas Dupin
d90a66c6e8
Limit how often wallpapers can update system theme
...
A wallpaper should be able to update the system theme only once. During
its startup, or after calling notifyColorsChanged(), if it returned null
on onComputeColors().
Test: atest ThemeOverlayControllerTest
Fixes: 176924736
Change-Id: I99e4cd1c69b2f22ee7c8d7878f88ddb1c2c1ca64
2021-03-01 18:55:12 -08:00
Kevin Chyn
115defdc9f
Mutate UDFPS FingerprintDrawable
...
The drawable is loaded from a resource, which by default shares
state across all instances. Mutate it so that enroll, BP,
FPM, Keyguard, etc have their own unique state.
Bug: 178438459
Test: Enter settings, enter enrollment, exit enrollment
Change-Id: I41ef6965d11f89e7c0ee93fd38453a91ef0b4766
2021-03-01 17:27:45 -08:00
Matt Casey
b1ac020f17
Allow MagnifierView to switch sides if the touch input moves
...
Bug: 179499370
Test: Observing behavior for touches of varying sides of the screen.
Change-Id: I064ad1819ea4cc594fd0ead06b8ae7a173b051de
2021-03-01 16:02:54 -05:00
Matt Casey
37d6b6d53a
Make CropView handle images that aren't full-height
...
Compute the ImageView's extra top and bottom padding when it gets a
drawable or does layout, pass that information to CropView to adjust
its boundaries accordingly.
Also give MagnifierView some elevation so it doesn't get obscured by the
buttons.
Bug: 180967209
Test: Take a long screenshot at the top of the settings app, observe
that the image isn't full height, ensure that crop handles properly
honor image bounds and those bounds are honored on export as well.
Change-Id: Iac859995b362724a0db00b666a6ff970a0ccba1d
2021-03-01 15:53:32 -05:00
Dan Sandler
b571404228
Block touches from descendants of an invisible panel.
...
This defends against a certain class of bugs where swiping
down the notification shade stops working because those gestures
are being sent to the shade contents rather than the panel
dragging code.
Bug: 178277858
Test: none; this adds robustness to broken states
Change-Id: Id088f20599cb272611c141948de6c6303b536960
2021-03-01 15:38:00 -05:00
Matt Casey
833d77a923
Merge "Image state restoration for LongScreenshotActivity" into sc-dev am: 7fbe02a1dd
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13711768
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie0f6f0d69aaced8b7604fa038cb36cab9c415100
2021-03-01 20:08:15 +00:00
Matt Casey
7fbe02a1dd
Merge "Image state restoration for LongScreenshotActivity" into sc-dev
2021-03-01 19:26:42 +00:00
Matt Casey
2bb3ca0c85
Image state restoration for LongScreenshotActivity
...
- When long screenshot is acquired, save image to a temporary file.
- When restoring state, read in that bitmap.
- Moved bitmap export code from ScrollCaptureController to
LongScreenshotActivity because it needs to be able to export any
drawable regardless of source.
- Currently deleting the temporary file onDestroy.
Bug: 181087631
Test: Enable "don't keep activities" debug setting. Take long
screenshot, go to overview and return. Rotate UI. Verify that image
restores along with crop bounds and export still works properly.
Change-Id: I892ad78025c818c8c65d16f2844daa955cc0b005
2021-03-01 12:25:03 -05:00
Jeff DeCew
75020a8aff
Merge "Fixes Copyright date & incorrect a11y announcement" into sc-dev am: 1c05dbcd2b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13700786
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic18c7f5f26dbd18b042da24739f06021151d38bc
2021-02-27 17:02:06 +00:00
Jeff DeCew
1c05dbcd2b
Merge "Fixes Copyright date & incorrect a11y announcement" into sc-dev
2021-02-27 16:37:30 +00:00
yinxu
b6c918079e
Only show no internet icons when no other network available
...
Bug: 181292680
Test: Unit tests, manual tests
Change-Id: I807a1d4618faa8a43fbe0f98df3d17697dd58bc0
2021-02-26 17:25:01 -08:00
Nate Myren
d62cf50dd2
Merge "Show usage by default speech recognizer" into sc-dev am: 066f1bce6e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13712260
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iaa5869677956712e14c7bfbdd2dfa4a82a3850ed
2021-02-27 00:22:19 +00:00
Nate Myren
066f1bce6e
Merge "Show usage by default speech recognizer" into sc-dev
2021-02-26 23:51:30 +00:00
Shuo Qian
8b8f2625db
Merge changes from topic "cp-rvc-aosp" into sc-dev
...
* changes:
[automerged blank] Add Emergency callback mode shell command 2p: b201f9b1e6
Add Emergency callback mode shell command
2021-02-26 22:56:18 +00:00
Kevin Chyn
1ea8ebc774
Merge changes Ib61c9a4f,I308cd691 into sc-dev am: e9e5607415
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13700673
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I417dbf5a01df4a15fc185b1ac5dfa04ca5c9ae47
2021-02-26 21:42:33 +00:00
Fabian Kozynski
0d85ef5a84
Merge "Dismantle remove labels prototype" into sc-dev am: 8760b38f80
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13712837
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic6594eec71bdc415eeedb23ceee7eea1bd3a2279
2021-02-26 21:42:01 +00:00