Commit Graph

673711 Commits

Author SHA1 Message Date
Bill Yi
4585dcde36 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I0847b311f1407dfa2cd766bf096318b7a7fdf696
2021-09-28 23:53:00 +00:00
Bill Yi
d92e0b1329 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idb4a34ec9bfbe8f33fcffce5f883dec8dccbbf13
2021-09-28 23:51:34 +00:00
Bill Yi
d273e87d18 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 2f8fd51b76
Blank merge reason: commit message contains skip directive

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

Change-Id: I94c5fdb13795e6f8e4a228edbffe3fdc176a8f83
2021-09-28 23:50:23 +00:00
Bill Yi
7351941662 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 2f8fd51b76
Blank merge reason: commit message contains skip directive

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

Change-Id: I1a2f10d53e3c22d90495c255dbae71dc25deca76
2021-09-28 23:50:23 +00:00
Bill Yi
2f8fd51b76 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1db9e1ee4f24934d64fea4b66a0cc102d70254d8
2021-09-28 23:50:11 +00:00
Lucas Dupin
540d2f3637 Fix issue where scrim would be transparent
This is due to BiometricUnlockController#isBiometricUnlock() returning
true after finishing unlocking.

In order to have a more resilient logic, we can also verify if they
device is already unlocked and the keyguard is gone.

Test: manual
Test: atest StatusBarTest
Fixes: 200882274
Change-Id: I4e0aeeec407db1a9dcbcad2960315cb68d7ac3b3
2021-09-28 16:07:50 -07:00
Beth Thibodeau
8803a2b7c8 Fix error from null intent
Fixes: 201385615
Test: atest MediaDataManagerTest
Change-Id: I0f76061e18044b5c331f098983fac8ada20b3839
2021-09-28 18:50:13 -04:00
TreeHugger Robot
010a06ec36 Merge "Expose Phone.ENTERPRISE_CONTENT_URI as systemApi" into stage-aosp-master am: f2753ce65f am: 984f8fcc51 am: 6cc18eef4e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15934185

Change-Id: Id9d8bbe2348c12da078f175ec169e18e9e0dcdfe
2021-09-28 21:59:09 +00:00
TreeHugger Robot
6cc18eef4e Merge "Expose Phone.ENTERPRISE_CONTENT_URI as systemApi" into stage-aosp-master am: f2753ce65f am: 984f8fcc51
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15934185

Change-Id: I54ac1cd2ebae0d7d32fd16323b4b414fbb9f50eb
2021-09-28 21:44:46 +00:00
TreeHugger Robot
984f8fcc51 Merge "Expose Phone.ENTERPRISE_CONTENT_URI as systemApi" into stage-aosp-master am: f2753ce65f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15934185

Change-Id: I2a3ffbc1f1cc6ad96d48cb20a49e87d9a8416032
2021-09-28 21:26:26 +00:00
TreeHugger Robot
f2753ce65f Merge "Expose Phone.ENTERPRISE_CONTENT_URI as systemApi" into stage-aosp-master 2021-09-28 21:09:57 +00:00
Vishnu Nair
1be5898ce7 Merge "ViewRootImpl: Update opaque flag if SurfaceControl changes from relayout" into sc-qpr1-dev am: 8dc8182ad0 am: bd61cfb0be
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15934803

Change-Id: I023df7ad8d9ef2bad9cd4c7cc036b4159bdf0fa9
2021-09-28 21:07:16 +00:00
Vishnu Nair
b866c0323a Merge "ViewRootImpl: Update opaque flag if SurfaceControl changes from relayout" into sc-qpr1-dev am: 8dc8182ad0 am: 9bbf9cd727
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15934803

Change-Id: Ic659035d5ed05e2927d672f52b52ee31e87ee9d4
2021-09-28 21:06:48 +00:00
Vishnu Nair
9bbf9cd727 Merge "ViewRootImpl: Update opaque flag if SurfaceControl changes from relayout" into sc-qpr1-dev am: 8dc8182ad0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15934803

Change-Id: I066ec21a0a3874081a3aa17ea7e6a0b9f1bb0ffc
2021-09-28 20:54:37 +00:00
Vishnu Nair
bd61cfb0be Merge "ViewRootImpl: Update opaque flag if SurfaceControl changes from relayout" into sc-qpr1-dev am: 8dc8182ad0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15934803

Change-Id: I3b7d501067ccdb716ae892fa4ccd34b2722b7ab7
2021-09-28 20:54:36 +00:00
Kevin Chyn
f8afdce215 Ensure face icon controller is deactivated when view is detached
Fixes: 197397546

Check AuthBiometricFaceView logs in the below cases:
Test: start auth, dismiss while face is scanning
Test: start auth, turn off screen while face is scanning

Change-Id: I8ed98f80998fce4a1e67e57380ee7f19c811b4d8
2021-09-28 13:54:30 -07:00
Vishnu Nair
8dc8182ad0 Merge "ViewRootImpl: Update opaque flag if SurfaceControl changes from relayout" into sc-qpr1-dev 2021-09-28 20:38:42 +00:00
Bill Yi
43bf480e6c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3e899b2b503c1e9ae4d85c3658f9731d78a7207d
2021-09-28 20:32:24 +00:00
Bill Yi
df0cafc96f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3c752f3971c33329300390aca506199c5a1673e1
2021-09-28 20:29:52 +00:00
Bill Yi
62323d8c9f [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 0a8806d07d
Blank merge reason: commit message contains skip directive

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

Change-Id: I4f105f1e159d8476cda1c3abae30dee612e0c7a8
2021-09-28 20:27:38 +00:00
Bill Yi
a04424c5e2 [automerged blank] Import translations. DO NOT MERGE ANYWHERE 2p: 0a8806d07d
Blank merge reason: commit message contains skip directive

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

Change-Id: I238710ea6a93a3a919f0f313c7439f2b3de8d6fb
2021-09-28 20:27:38 +00:00
Bill Yi
0a8806d07d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I45ed0eb4dd344e144d1e68c5333e7f5f88c9dabb
2021-09-28 20:27:17 +00:00
Julian Odell
7c3d133d65 Notify content capture on detach before setting attachInfo to null.
If a view is detached before being removed (which seems common with some
recycler list views) then no content capture view removed event is sent
(notifyAppearedOrDisappearedForContentCaptureIfNeeded does nothing
if mAttachInfo is null).

Fix: 200166989
Test: Manual verification using AiAi logging
Change-Id: Ic04af005bb4ad425ba8398439f1f47bb6bcb334c
2021-09-28 20:24:07 +00:00
Jorge Gil
42ca299bd4 Merge "Do not change launch mode to FF is FS explicitly requested" into sc-v2-dev am: 7c2508117c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15910695

Change-Id: I339ec385c2214fb3e7406c1b6ab4c2986365e46b
2021-09-28 20:21:41 +00:00
Jorge Gil
7c2508117c Merge "Do not change launch mode to FF is FS explicitly requested" into sc-v2-dev 2021-09-28 20:05:53 +00:00
TreeHugger Robot
932a7a167c Merge "Revert "Remove Dependency.get from NavigationBar."" into sc-v2-dev am: b14bcefcb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15934625

Change-Id: Ib0d7f8e97b805fede612868780472d1ff83ad6ca
2021-09-28 19:55:27 +00:00
TreeHugger Robot
b14bcefcb1 Merge "Revert "Remove Dependency.get from NavigationBar."" into sc-v2-dev 2021-09-28 19:37:41 +00:00
Xin Li
8891d70334 Merge SP1A.210812.016
Merged-In: I8b62b9b9d7ae271bc623764d545db1320b4dc64f
Change-Id: I458ed7f2eb8603f5e89c1d73bc0f0d52b826973e
2021-09-28 19:26:36 +00:00
Nader Jawad
8bfa3e04a4 Merge "Fix initialization of snapshot SkImage instance" into sc-qpr1-dev am: be0bdf6178 am: 15d37532bf
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15926060

Change-Id: I97799873785f4480427a25dec70b94f0eb270dca
2021-09-28 19:20:39 +00:00
Nader Jawad
fd2133a687 Merge "Fix initialization of snapshot SkImage instance" into sc-qpr1-dev am: be0bdf6178 am: 201db897ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15926060

Change-Id: I4e1cde89cc83a6cf4e06131691aea0aaa54dae82
2021-09-28 19:20:17 +00:00
Long Ling
7e783bb071 Limit refresh rates if skin temperature is high
Stay at low refresh rates (0 to 60) if the thermal status is or above
THROTTLING_CRITICAL.

Bug: 171277171
Test: atest DisplayModeDirectorTest
Test: heat the device to CRITICAL and check the votes in dumpsys
      cool down the device to SEVERE and check the votes in dumpsys
Change-Id: I37b5b05a363a3d4f2ed3626109206863b664ba66
Merged-In: I37b5b05a363a3d4f2ed3626109206863b664ba66
2021-09-28 19:15:22 +00:00
Winson Chung
af95ce5be9 Don't factor animating-to-sleep for nav bar visibility
- Instead, just animate the current nav bar view (which doesn't cause
  insets changes).  This should be safe to do because:
  1) Nothing else animates the alpha of this particular part of the
     view hierarchy
  2) Confirmed with SysUI folks that we always get onStartedWakingUp
     after onStartedGoingToSleep
  3) This otherwise reverts to the same nav bar visibility logic in R

Bug: 196789451
Bug: 190368572
Test: atest StatusBarKeyguardViewManagerTest
Test: In three button nav w/ AOD, turn off the screen
      - also try above with interrupting the screen off animation
      - also try above with power button instantly locks disabled
Change-Id: I1be44a9a8dbb8cea17bbf354a2e03dd4bad5a4a2
2021-09-28 11:45:46 -07:00
Nader Jawad
15d37532bf Merge "Fix initialization of snapshot SkImage instance" into sc-qpr1-dev am: be0bdf6178
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15926060

Change-Id: I601044300fbea039823b2bfad37d59cc4fec6ed5
2021-09-28 18:40:58 +00:00
Nader Jawad
201db897ea Merge "Fix initialization of snapshot SkImage instance" into sc-qpr1-dev am: be0bdf6178
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15926060

Change-Id: Ie233dd9f6628ac6780dd0b96d8eca97d7892b929
2021-09-28 18:40:56 +00:00
Nader Jawad
be0bdf6178 Merge "Fix initialization of snapshot SkImage instance" into sc-qpr1-dev 2021-09-28 18:24:42 +00:00
Jerry Chang
81504bcc8c Merge "Dispatch organized tasks info chagne when committing visibility" into sc-v2-dev am: 05b2d626e6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15926312

Change-Id: Idf7bcd77ace89a81ce8348ef143eda42bd271f53
2021-09-28 18:16:29 +00:00
Treehugger Robot
a4f620a730 [automerger skipped] Merge "Fix stuck HDMI-CEC actions after boot" am: d801feda70 -s ours am: 5f35a1d2d3 -s ours am: daf25cf47c -s ours am: 4895ad6bd9 -s ours
am skip reason: Merged-In I0050ca927bdba939b0b0030a6aa2f6235b11ff5c with SHA-1 62eafa258a is already in history

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

Change-Id: I9acaa94297b0ef31f5c2c78d36c926ab005f10e8
2021-09-28 18:16:03 +00:00
Jerry Chang
05b2d626e6 Merge "Dispatch organized tasks info chagne when committing visibility" into sc-v2-dev 2021-09-28 18:05:34 +00:00
TreeHugger Robot
347557e905 Merge "[NGA v2] Reliable Visible Activity Lookup" into sc-v2-dev am: 80fcbc8fe0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15810445

Change-Id: Ibfce3c573e7cc136226599500e438527a1565075
2021-09-28 18:02:38 +00:00
Treehugger Robot
4895ad6bd9 [automerger skipped] Merge "Fix stuck HDMI-CEC actions after boot" am: d801feda70 -s ours am: 5f35a1d2d3 -s ours am: daf25cf47c -s ours
am skip reason: Merged-In I0050ca927bdba939b0b0030a6aa2f6235b11ff5c with SHA-1 62eafa258a is already in history

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

Change-Id: I32a4842c436d73a67c98b0e11ce50e05bf54c051
2021-09-28 17:53:39 +00:00
TreeHugger Robot
80fcbc8fe0 Merge "[NGA v2] Reliable Visible Activity Lookup" into sc-v2-dev 2021-09-28 17:50:34 +00:00
Vishnu Nair
f0ae9acf36 ViewRootImpl: Update opaque flag if SurfaceControl changes from relayout
The opaque flag is necessary for the compositor to blend the layers
correctly and prevent translucent pixels from showing the layer
underneath during animations.

Test: manually punch holes in apps and verify opaque apps don't show the layer underneath
Test: automated tests to follow
Bug: 198924563
Change-Id: I1116c51b2efd4e9c0fe2acbca080291f3950245c
2021-09-28 17:45:10 +00:00
Treehugger Robot
daf25cf47c [automerger skipped] Merge "Fix stuck HDMI-CEC actions after boot" am: d801feda70 -s ours am: 5f35a1d2d3 -s ours
am skip reason: Merged-In I0050ca927bdba939b0b0030a6aa2f6235b11ff5c with SHA-1 62eafa258a is already in history

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

Change-Id: Ia7abdd3c4f8222c116a02aed2d6b8052f51c63a5
2021-09-28 17:44:04 +00:00
Treehugger Robot
5f35a1d2d3 [automerger skipped] Merge "Fix stuck HDMI-CEC actions after boot" am: d801feda70 -s ours
am skip reason: Merged-In I0050ca927bdba939b0b0030a6aa2f6235b11ff5c with SHA-1 62eafa258a is already in history

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

Change-Id: Ia70e96971d08dd32587c38e344e97f145573ba0d
2021-09-28 17:29:20 +00:00
Dave Mankoff
be525911ce Revert "Remove Dependency.get from NavigationBar."
This reverts commit 9f8305196c.

Reason for revert: http://b/201416807

Change-Id: Iab917251e00c3ab2ef9f44835728abd93eb16fa5
2021-09-28 17:23:33 +00:00
Dmitri Plotnikov
fb10be47c9 Zero out WiFi duration and power if ControllerActivityCounter is null
Bug: 200346841
Test: atest FrameworksCoreTests:WifiPowerCalculatorTest
Change-Id: I087e3b60c277c1d1a63b6c06e60ffcbe95224668
(cherry picked from commit 199f93ac3b)
2021-09-28 17:20:34 +00:00
Treehugger Robot
d801feda70 Merge "Fix stuck HDMI-CEC actions after boot" 2021-09-28 17:16:41 +00:00
Eric Laurent
947dbfd41c [automerger skipped] Merge "AudioService: fix permission check on volume control" into sc-qpr1-dev am: 50d7e14c25 am: 04abcfed22 -s ours
am skip reason: Merged-In I095224347b5f5c200f4a8f0dd147f63c0119dc85 with SHA-1 c9faa86b66 is already in history

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

Change-Id: Iad6aba98eb0511ad5303164ff7ba367e9c9cf494
2021-09-28 17:07:36 +00:00
Eric Laurent
9571037530 Merge "AudioService: fix permission check on volume control" into sc-qpr1-dev am: 50d7e14c25 am: 6b85e8e831
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15897410

Change-Id: I278f2eaa512ffa5e725c96ae01b4ddc4d03cc53a
2021-09-28 17:07:02 +00:00
Matt Pietal
39ddbabaff Update PIN colors
Match specs from UX

Fixes: 195591387
Test: visual (PIN bouncer)
Change-Id: I9e7c13f40a94d1a8a8073553bf2396070487b121
2021-09-28 12:55:49 -04:00