Commit Graph

748371 Commits

Author SHA1 Message Date
Richard Gaywood
ca1511e8ef Add stats puller for PinnerService data
Change-Id: Iba52940d071af9523f90636981cce22fa3b9b172
Bug: 217162456
Test: compile
Test: flash
Test: pull atom with testdrive
2022-02-17 08:44:26 +00:00
TreeHugger Robot
c1f007a713 Merge "Fix NPE in updateActivityRecognizerTags()." 2022-02-17 08:42:05 +00:00
Gaurav Bhola
d50231ade7 Merge "Move insets related logic from WindowState to WindowContainer." 2022-02-17 07:51:55 +00:00
Riddle Hsu
909c8bbe8a Merge "Tweak screenshot animation for display resolution changed" 2022-02-17 07:48:30 +00:00
TreeHugger Robot
4139bc10a8 Merge "Move wm component initialization to shell main thread" 2022-02-17 07:26:37 +00:00
Shaowei Shen
b8bfc0a0d8 Merge "[Output Switcher] Update Text Color" 2022-02-17 06:53:05 +00:00
Wilson Wu
9aa2d82590 Merge "Add more logs for WindowContextController" 2022-02-17 06:43:34 +00:00
Wilson Wu
4a184e4b58 Add more logs for WindowContextController
Change the mAttachedToDisplayArea from boolean to
int which should help us to know the reason when
there is a issue happened due to this flag.

Add more logs to clarify the exception reason when
WindowContextController calling attachToWindowToken
but the WindowTokenClient haven't been associated
with a display area.

Bug: 211062619
Bug: 220049234
Test: atest WindowContextControllerTest

Change-Id: I5e3832a466d47de5aafb32cf5fbf9c375a65160a
2022-02-17 06:42:56 +00:00
TreeHugger Robot
b92cf05c77 Merge "Update the Smartspace UI templates APIs." 2022-02-17 06:39:44 +00:00
Daniel Kim
b524be699f Merge "Rename ProximityCallback to ProximityUpdateCallback" 2022-02-17 06:37:02 +00:00
Hai Zhang
5c22e835fc Fix NPE in updateActivityRecognizerTags().
ServiceInfo.metadata may be null when empty and we shouldn't crash the
system for this.

Test: presubmit
Change-Id: I8b1d458e8cccb911b3bfebfb86851dc1d71d72cf
2022-02-17 06:36:50 +00:00
Chris Li
539e1349e8 Merge "Fixed rotation for entering PIP with Shell transition" 2022-02-17 06:34:16 +00:00
Kevin Han
51ad2f17db Merge "Fix app hibernation spammy logging" 2022-02-17 06:26:25 +00:00
Vishnu Nair
be992eb12a [automerger skipped] Drop input for toast and child surfaces am: 55c1473bf2 am: b5d28939ac -s ours am: bf8f40cb63 -s ours am: 6a39870b4e -s ours am: 170b802c0b -s ours am: 27ed39a76f -s ours
am skip reason: Merged-In I316b76b685ca5030fd8aa91283555efcce4d6994 with SHA-1 6ac8376cd7 is already in history

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

Change-Id: If0e1914c9f5c27f69dc597665d4f2df88976d9ab
2022-02-17 05:41:11 +00:00
Treehugger Robot
08155b3fd2 Merge "p2p: add MANAGE_WIFI_AUTO_JOIN permission for CTS external approver tests" am: 2a491d487f am: 7faee6e286 am: 3cf3a321e6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1985827

Change-Id: Iaec2d433251d6ea1a3c9ece2f73c1202e510fbb2
2022-02-17 05:40:42 +00:00
Rahul Sabnis
6dc5edb187 Merge "Remove hidden Bluetooth dependencies" am: 2eebe9a0bc am: 9b7753af92 am: f112b0226c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1988929

Change-Id: Ib5f55974b5a6883a938f0f85e71c0e7dcbff908b
2022-02-17 05:40:09 +00:00
William Escande
27ef076477 Merge "Remove intdef usage that block bluetooth apex" am: b72b351d21 am: f81fe1cfb7 am: 336c9135df
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1988587

Change-Id: Ica9859fbc2b33cca15035438018de1c2edeab843
2022-02-17 05:38:46 +00:00
Automerger Merge Worker
13b502ad85 Merge "Merge "Add type string to VCN NetworkAgentConfig" am: 0b957a2f89 am: a6e485df70 am: 027d32dba9" 2022-02-17 05:38:24 +00:00
Vishnu Nair
75d4e45879 [automerger skipped] Drop input for toast and child surfaces am: 55c1473bf2 am: b5d28939ac -s ours am: bf8f40cb63 -s ours am: e0e8d71d62 -s ours
am skip reason: Merged-In I316b76b685ca5030fd8aa91283555efcce4d6994 with SHA-1 6ac8376cd7 is already in history

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

Change-Id: I2bbea714da285b8407e84837fbb47b2a094def6e
2022-02-17 05:37:52 +00:00
Benedict Wong
b18f820c29 Merge "Add type string to VCN NetworkAgentConfig" am: 0b957a2f89 am: a6e485df70 am: 027d32dba9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1987026

Change-Id: I4c5d30afdc4f9e20664634023abc51e62f1392fd
2022-02-17 05:37:49 +00:00
Automerger Merge Worker
d0a4cefe54 Merge "[automerger skipped] Merge "SurfaceControl: Add setDropInputMode api" into rvc-dev am: 5aa3d21693 am: c3db8e7986 -s ours am: 6d94eaaffb -s ours am: 1d5e68557b -s ours" 2022-02-17 05:37:30 +00:00
Vishnu Nair
fc6cb381b7 [automerger skipped] Merge "SurfaceControl: Add setDropInputMode api" into rvc-dev am: 5aa3d21693 am: c3db8e7986 -s ours am: 6d94eaaffb -s ours am: 1d5e68557b -s ours
am skip reason: Merged-In Ifcb4133306a43874e74e8fb0f42b60842daf6f25 with SHA-1 a84612483f is already in history

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

Change-Id: Id48f49769c3794de1c578f6cb2903627b927baba
2022-02-17 05:37:06 +00:00
Vishnu Nair
f3f1f9bab8 [automerger skipped] Merge "SurfaceControl: Add setDropInputMode api" into rvc-dev am: 5aa3d21693 am: c3db8e7986 -s ours am: 6d94eaaffb -s ours am: a5a7ce9f18 -s ours am: 420e6d5a25 -s ours am: a19c470952 -s ours
am skip reason: Merged-In Ifcb4133306a43874e74e8fb0f42b60842daf6f25 with SHA-1 a84612483f is already in history

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

Change-Id: Ib4786c20077fd6b67822eb034cf155406b987417
2022-02-17 05:36:56 +00:00
TreeHugger Robot
97fb8bf778 Merge "Merge "Replace qtaguid_deleteTagData with java implementation" am: 9ee2d46a8c am: ac03f3be6c am: d9bed53ea5" 2022-02-17 05:31:37 +00:00
Gaurav Bhola
1b49dc77b9 Merge "Relocate the getInsetsForWindow logic inside WindowState." 2022-02-17 05:28:28 +00:00
Cliff Wu
8fe4c2afd7 Merge "Add a lock to protect mRunningUids in GenericWindowPolicyController" 2022-02-17 05:26:12 +00:00
Winson Chung
cae66a132c Move wm component initialization to shell main thread
- Previously, mWMComponent.init() would make a blocking call to WMShell
  to initialize on the shell main thread.  We're expanding that to
  include the construction of the shell objects as well to provide
  a little more consistency and predictability on the shell side
  (ie. fetching some statics may seem safe, but actually aren't).
  We're continuing to recommending that ctors don't include any
  initialization logic though

Bug: 181979527
Test: Verify with trace that shell init happens on the
      shell main thread
Test: atest SystemUITests
Test: atest WMShellUnitTests

Change-Id: I60559a47e00e91d34be7d4e94f4f3e041fdc590d
Signed-off-by: Winson Chung <winsonc@google.com>
2022-02-17 04:56:03 +00:00
TreeHugger Robot
02534809d0 Merge "Fix PackageUserState sharedLibraryOverlayPaths nullability" 2022-02-17 04:54:11 +00:00
Pasindu De Silva
10785f10a4 Merge "Revert "Fix inattentive sleep failing to go to sleep while dreaming"" 2022-02-17 04:41:58 +00:00
TreeHugger Robot
55bfb23dbe Merge "Fix potential OOM issues when APEXs are too large." 2022-02-17 04:23:10 +00:00
Yuanjia Hsu
60e26f7ad1 Merge "Clean up audio resources when VirtualDevice is closed" 2022-02-17 04:20:12 +00:00
Cecilia
e6a676af11 Update the Smartspace UI templates APIs.
- Add the 3rd-line data in BaseTemplateData to support new Android T
  use case;
- Remove the optional constructor from Text for API review comments in
  b/218860086;
- Add SubItemLoggingInfo to support the sub-card logging on the base
  card.

Fixes: 218860086
Test: atest CtsSmartspaceServiceTestCases
Change-Id: I39d7014f4f5b36719f54e191ed5af1fa45429a53
2022-02-17 04:08:39 +00:00
Chris Li
eb8ca0d725 Fixed rotation for entering PIP with Shell transition
Entering PIP rotation with orientation is changed to use fixed rotation,
so we need to update the animation as well.

Will update exiting PIP and swipe to enter in next cl

Bug: 219411429
Test: manual test enter PIP from different orientation
Change-Id: Id30f15c72b7d59ae63012d9f62e829d73ec4f335
2022-02-17 12:01:17 +08:00
Shaowei Shen
9f8dd75ed5 Merge "[Output Switcher] Clear listener of checkbox when about to set it." 2022-02-17 03:31:47 +00:00
Patrick Rohr
b133cfb570 Merge "Replace qtaguid_deleteTagData with java implementation" am: 9ee2d46a8c am: ac03f3be6c am: d9bed53ea5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1969203

Bug: 219986520

Change-Id: I87465d2133e1a4e61d242509e57d121e5ef465ec
2022-02-17 02:59:10 +00:00
TreeHugger Robot
c59b299be8 Merge "Set the offset of the dim layer of DisplayArea." 2022-02-17 02:40:45 +00:00
Joanne Chung
9277ba500d Merge "Enable system selection toolbar" 2022-02-17 02:38:42 +00:00
yuanjiahsu
5536865e01 Clean up audio resources when VirtualDevice is closed
Limits only one VirtualAudioDevice can be created per VirtualDevice.
When VirtualDevice is closed, the associated VirtualAudioDevice and VirtualAudioController will be closed as well.

Bug: 218751752
Test: atest FrameworksServicesTests:com.android.server.companion.virtual

Change-Id: I6aa8b8af8b526fb52bbb4b23305f28182012803d
2022-02-17 02:34:54 +00:00
Ady Abraham
171380fd37 Merge "Correct JankData.PREDICTION_ERROR meaning" 2022-02-17 02:12:43 +00:00
Gaurav Bhola
f60944f142 Move insets related logic from WindowState to WindowContainer.
- This will help to make the insets flow through the hierarchy.

Bug: 199449177
Test: atest InsetsStateControllerTest
Test: atest InsetsPolicyTest
Test: atest InsetsSourceProviderTest
Test: atest WindowStateTests
Change-Id: I8a8385b6688504457a8597afd53ae00a65d4dc42
2022-02-17 01:10:59 +00:00
Abodunrinwa Toki
62599cbdcc Merge "Ensure that TextViewActivityTest still pass for the new system toolbar." 2022-02-17 01:10:21 +00:00
Gaurav Bhola
781f435c17 Relocate the getInsetsForWindow logic inside WindowState.
- This is done so that the WindowState owns the high level insets logic.
- Will help to implement getInsetsState() in other containers once the
  insets are moved to WindowContainer as part of the hierarchical insets
  effort.

Fix: 207693667
Bug: 199449177
Test: atest WindowStateTests
Test: atest InsetsStateControllerTest
Test: atest DisplayPolicyLayouttyTests
Change-Id: Idb646f6f3730d6d88091ea82b3e80c4701bb477d
2022-02-17 01:07:34 +00:00
Vishnu Nair
27ed39a76f [automerger skipped] Drop input for toast and child surfaces am: 55c1473bf2 am: b5d28939ac -s ours am: bf8f40cb63 -s ours am: 6a39870b4e -s ours am: 170b802c0b -s ours
am skip reason: Merged-In I316b76b685ca5030fd8aa91283555efcce4d6994 with SHA-1 6ac8376cd7 is already in history

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

Change-Id: I16fca9ab08ce908f639baeb9d46f2a35e08adc16
2022-02-17 00:40:30 +00:00
Wenhao Wang
6624db4854 Merge "LogcatManagerService: Allow instrumentation tests" 2022-02-17 00:34:18 +00:00
TreeHugger Robot
9395860fc1 Merge "Fix NPE with overflow expanded view" 2022-02-17 00:25:18 +00:00
Vishnu Nair
170b802c0b [automerger skipped] Drop input for toast and child surfaces am: 55c1473bf2 am: b5d28939ac -s ours am: bf8f40cb63 -s ours am: 6a39870b4e -s ours
am skip reason: Merged-In I316b76b685ca5030fd8aa91283555efcce4d6994 with SHA-1 6ac8376cd7 is already in history

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

Change-Id: I16ecef2a2e4546c14127775be9475ea2a834465e
2022-02-17 00:21:43 +00:00
Vishnu Nair
6a39870b4e [automerger skipped] Drop input for toast and child surfaces am: 55c1473bf2 am: b5d28939ac -s ours am: bf8f40cb63 -s ours
am skip reason: Merged-In I316b76b685ca5030fd8aa91283555efcce4d6994 with SHA-1 6ac8376cd7 is already in history

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

Change-Id: If6dd93d5e3c65b19d5f153dee023f0c3c756c086
2022-02-16 23:59:58 +00:00
Vishnu Nair
e0e8d71d62 [automerger skipped] Drop input for toast and child surfaces am: 55c1473bf2 am: b5d28939ac -s ours am: bf8f40cb63 -s ours
am skip reason: Merged-In I316b76b685ca5030fd8aa91283555efcce4d6994 with SHA-1 6ac8376cd7 is already in history

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

Change-Id: I0aac1758e26229ae65f1d689d270ed39da386359
2022-02-16 23:59:05 +00:00
TreeHugger Robot
d74805e935 Merge "Refactor Handler with Executor" 2022-02-16 23:48:05 +00:00
Treehugger Robot
3cf3a321e6 Merge "p2p: add MANAGE_WIFI_AUTO_JOIN permission for CTS external approver tests" am: 2a491d487f am: 7faee6e286
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1985827

Change-Id: Id4e8c1ecf51c89454142c3b8e5f9eed18d076f12
2022-02-16 23:39:34 +00:00