Commit Graph

813479 Commits

Author SHA1 Message Date
Bill Yi
6d373b391f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9fb4af1bd7ebdc23fa566f1a1f5bce9eb523f075
2022-12-29 18:17:47 -08:00
Bill Yi
a1f84c8f6f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I6c2a1a060ec468bf173d22ec594dd0d39bec1870
2022-12-29 18:16:45 -08:00
Bill Yi
a607f35868 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3699224dab9aaf06d83e065954da14ad52fe8c17
2022-12-29 18:15:43 -08:00
Bill Yi
7e24113c5a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia8c75441fa487abdfd10c22031f73a73451b7cd4
2022-12-29 18:14:35 -08:00
Bill Yi
fbbe9619b1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I847b7eb0ebf046b2d187d7819012902b3962361f
2022-12-29 18:13:36 -08:00
Bill Yi
35fd7ba677 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id240d2bd0ea6357f80324b319cb9f6b5627351c3
2022-12-29 18:12:33 -08:00
Bill Yi
5fd954e21d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I84b5e43127d7244da465f03568dfe773ace41908
2022-12-29 18:11:29 -08:00
Bill Yi
b9281aa93c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I8df85023b4f1df19612693714b86af3da0dcce77
2022-12-29 18:10:27 -08:00
Bill Yi
80951e05db Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iafc98f84cc8f9a7d89e09471d55f0c68a9f5b275
2022-12-29 18:09:27 -08:00
Bill Yi
236f1bc104 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ieca8ab384fbeef1d31bfc24812946d887ee43f16
2022-12-29 18:08:26 -08:00
Bill Yi
5fefc8a685 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia52c9dee20130c1ac7b1ba35a3a8181db0686a74
2022-12-29 18:07:24 -08:00
Bill Yi
9d48a9028e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie97ea840a7e43af8331f797ef5b62b327b2304a8
2022-12-29 18:06:18 -08:00
Bill Yi
c8acab6cc5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I81a9b84c52c60629864ac3daf08f6fc95f9b947f
2022-12-29 18:05:14 -08:00
Bill Yi
0f879d8ea5 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie0e0ed0c9c6938b5af5c2af0de48b3f7192d3a9f
2022-12-29 18:04:11 -08:00
Bill Yi
ec5d71c6cc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icf6c8a21b63de56b00a719d2eb2c0a9c7f4b5e66
2022-12-29 18:03:06 -08:00
Bill Yi
aefde35919 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ieda373cd907def55759be242fa59368bb2be69c2
2022-12-29 18:01:58 -08:00
Bill Yi
60910a2abf Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I7adfd32c603fd13b5b4a3b1e4102e620f61a7bd9
2022-12-29 18:00:48 -08:00
Bill Yi
330cba8a4b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie568fc0a8ec16c5997d8e8fbe1f7844795558f9b
2022-12-29 17:59:42 -08:00
Bill Yi
b41fd1bab3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iee56bf153277cc05e3323c3f43716f228b310210
2022-12-29 17:58:38 -08:00
Bill Yi
219c74695e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I269329470066bf09b80028ced8512aeb0a5d616c
2022-12-29 17:57:36 -08:00
Bill Yi
7c9f75f26a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I3b0dc0177ee23945527de1ecd103ab6dd829e3b1
2022-12-29 17:56:34 -08:00
Bill Yi
270cf382bc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie0362b9120dd506a3ab06ed73cd601f77a2303aa
2022-12-29 17:55:31 -08:00
Android Build Coastguard Worker
fef67ba1cf Snap for 9444344 from c3f30502f8 to tm-qpr2-release
Change-Id: Id55b5226f75c4fb6ed28fe803a8e70f6396a8bd6
2022-12-30 00:21:02 +00:00
Caitlin Shkuratov
a9ad4038b3 Merge "[Table Logging] Add tests for logDiffsForTable." into tm-qpr-dev 2022-12-29 20:55:22 +00:00
Tracy Zhou
a780fc4b47 Merge "Add TRACKPAD_GESTURE_BACK flag" into tm-qpr-dev 2022-12-29 20:36:02 +00:00
gang.huang
9003106e10 Dynamic broadcast receivers that are not exported need to be filtered in checkBroadcastFromSystem
When the system code sending non-protected broadcast,
if it's dynamic broadcast receiver is not exported,
the wtf log of sending non-protected broadcast should not be printed.

Bug:263210319

Test:A system code, for example com.android.settings
step1:send a non-protected broadcast but with packageName to itself;
step2:it registers a dynamic broadcast receiver with Context.RECEIVER_NOT_EXPORTED to receive this broadcast.

Change-Id: Ie7e359d1ae079be0d444c72791ff1b2a892b71bb
2022-12-29 23:00:44 +08:00
Nicolò Mazzucato
c3f30502f8 Merge "Trigger unfold animation without treshold while on keyguard" into tm-qpr-dev 2022-12-29 13:39:58 +00:00
Michal Brzezinski
0cb17673e3 Adding logging to NotificationShadeWindowController
- adding ShadeWindowLogger using LogBuffer
- adding interface for all loggers wanting to log simple constant strings: ConstantStringsLogger
- adding default implementation of ConstantStringsLogger which can be used easily in Kotlin and using it in other loggers
- moving mForceOpenTokens from NotificationShadeWindowController to its State

Test: logging works
Bug: 245441667
Change-Id: Ic7c3b553c6388982bbc50b34a99a26de9f5e0d86
2022-12-29 14:32:43 +01:00
Daniel Kim
73eea3903e Merge "Fix deadlock by not acquiring lock when reporting proximity" into tm-qpr-dev 2022-12-29 13:00:50 +00:00
Charles Chen
0cb6a60e59 Merge "Update Window Extensions library APIs" into tm-qpr-dev 2022-12-29 12:37:21 +00:00
Avichal Rakesh
eb039c3f01 ImageWriter: remove mCloseLock guard from queue and dequeue operations
mCloseLock currently guards #queueInputImage, #dequeueInputImage, and
#postEventFromNative. However, there have been cases reported where a
contention between #postEventFromNative and #queueInputImage would lead
to a deadlock. This CL removes the mCloseLock guard from #queueInputImage
and #dequeInputImage as the native implementations are already
synchronized on `this` and there are no reported bugs from race
conditions in those two functions.

It also drops the mCloseLock guard from #postEventFromNative and moves
the responsibility of ensuring ImageWriter is valid to the
ListenerHandler. This ensures that mCloseLock is never in contention
in the JNI thread that calls #postEventFromNative.

#close() is still protected by mCloseLock to prevent multiple
simultaneous closes.

Bug: 263395157
Test: Existing ImageWriter tests pass
      Ran the sequence that led to deadlock 30 times without a single
      deadlock.
Change-Id: I5b0d367cce7df9401386e5a53c5e9b539d8c1f40
2022-12-29 12:17:11 +00:00
Nick Chameyev
da209b100a Merge "[Chooser/ResolverActivity] Fix flakiness in work profile tests" into tm-qpr-dev 2022-12-29 11:43:29 +00:00
Winson Chung
c392c5010f Fix a couple shell unit test regressions
- Ensure we only check adding callbacks for the pip controller (and not
  other dependencies using the same ShellInit class)
- Ensure pip bounds state has non-null current/min/max bounds
- Ensure callbacks posted to the main executor are run in shell
  shell controller tests
- Ensure transition changes have a non-null surface (since it's copied)
- Bump up timeout for running test code (it can exceed 20ms), and ensure
  we release any virtual displays created during the test
- Update the test to the new background layer constant previously added

Bug: 262783148
Test: atest WMShellUnitTests

Change-Id: Ib57e1c0b7c32b44953dd33d2fb09a8ecc00f9c0e
2022-12-29 06:51:56 +00:00
Android Build Coastguard Worker
525029536f Snap for 9442415 from fa71876cc0 to tm-qpr2-release
Change-Id: I8fa1c3a800dfea422c0d931837ae5d05b7ba8133
2022-12-29 00:20:35 +00:00
Yein Jo
1887b97669 Refactor Turbulence noise
1. introduced three states (ease-in, main, and ease-out) to better control each animation & support non-fixed duration animation
(such as loading).
2. move business logic to the controller.

Follow up tasks (ordered in priority):
- have media player send a signal to end the animation. (currently it
  finishes after the max duration.)
- update animation curve (currently it's all linear)
- support force finish if needed (currently finish only works when the
  state is MAIN)

Bug: 237282226
Test: TurbulenceNoiseViewTest, TurbulenceNoiseControllerTest
Change-Id: I711c87096c7c9af6e322104ad0138c4fd78c4953
2022-12-28 22:53:35 +00:00
Daniel
99e2b6c13f Fix deadlock by not acquiring lock when reporting proximity
There is a deadlock situation from AttentionManagerService acquiring
lock before callings back to its clients with the proximity update. This
can cause a deadlock because the clients, while holding their own locks,
can call AttentionManagerService again.

Thread 1:
  Acquires attention lock -> AttentionManager Service reports proximityUpdate to VoiceInteraction -> tries to acquire voice lock

Thread 2:
  Acquires voice lock -> VoiceService tries to cancel proximity updates
  -> tries to acquire attention lock

The deadlock can be fixed by removing the acquiring attention lock step
before reporting proximityUpdates to the clients.

Bug: 261143716
Test: atest CtsAttentionServiceDeviceTestCases
Change-Id: I9f7d520cbcfd57032a9476853acad025fd7a6b95
Merged-In: I9f7d520cbcfd57032a9476853acad025fd7a6b95
(cherry picked from commit a28af297d3)
2022-12-28 20:55:30 +00:00
Tracy Zhou
23d3622a4d Add TRACKPAD_GESTURE_BACK flag
Bug: 255697805
Change-Id: I5ff56e5a5b9bfd7b9bfaa8435c0d1bb4906eff21
Test: N/A
2022-12-28 20:21:57 +00:00
Matt Casey
fa71876cc0 Merge "Update sharesheet owners" into tm-qpr-dev 2022-12-28 20:02:56 +00:00
Treehugger Robot
360a0c726d Merge "Extend ownership to all FileIntegrity APIs." am: d469322a84 am: e18c82f5b1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2371150

Change-Id: Iffbc44c9ec38b227b61bc6d9f0817b530522fe91
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 19:54:12 +00:00
Treehugger Robot
e18c82f5b1 Merge "Extend ownership to all FileIntegrity APIs." am: d469322a84
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2371150

Change-Id: I9fa7c09df16fdb342b088ddb681676d2a8a78f4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 19:23:24 +00:00
Mariia Sandrikova
f4fa929785 Merge "Add per-app controls for compat fake focus" into tm-qpr-dev 2022-12-28 18:58:57 +00:00
Treehugger Robot
d469322a84 Merge "Extend ownership to all FileIntegrity APIs." 2022-12-28 18:52:30 +00:00
Ale Nijamkin
6176ef97e0 Merge "Quick affordance long-press failure string updated" into tm-qpr-dev am: 6e00fa6401
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20832141

Change-Id: Id1afbbf2b2fe94523f663aa3043e700758e40eb0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 18:38:49 +00:00
Ale Nijamkin
82d8e8932b Merge "Affordance returns to normal size after activation" into tm-qpr-dev am: 04994ffbfb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20825447

Change-Id: I23d1af847cc71d62e2898d7a53a6456df19704f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 18:38:20 +00:00
Ale Nijamkin
e0687a474a Merge "Renames customization content provider (1/7)." into tm-qpr-dev am: bba346acb4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20821842

Change-Id: Iaede5345693e651148ae69e823b8ae0af0f650b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 18:37:38 +00:00
Ale Nijamkin
b9e9518f87 Merge "Beautifies picker disabled dialogs (1/2)." into tm-qpr-dev am: 32f475e7da
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20816864

Change-Id: I2829a347a716dc7149693cbc67488349fc43c1be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 18:35:56 +00:00
Caitlin Shkuratov
5822df0a5c Merge "[SB Refactor] Migrate alwaysShowCdmaRssi to the new pipeline." into tm-qpr-dev am: e878d24b0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20748766

Change-Id: I0969b661daae6bb9d1323f0e58f149210b4ed82d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-28 18:35:05 +00:00
TreeHugger Robot
62a8398031 Merge "Rename SystemUIComposeCore to PlatformComposeCore (1/2)" into tm-qpr-dev 2022-12-28 17:51:12 +00:00
Ale Nijamkin
6e00fa6401 Merge "Quick affordance long-press failure string updated" into tm-qpr-dev 2022-12-28 17:44:13 +00:00
Ale Nijamkin
04994ffbfb Merge "Affordance returns to normal size after activation" into tm-qpr-dev 2022-12-28 17:43:40 +00:00