Commit Graph

813479 Commits

Author SHA1 Message Date
Victor Chang
cc3049a2c2 Merge "Remove libandroidicu usage" 2023-01-26 10:36:02 +00:00
Yixiao Luo
9a2db08346 Merge "Add API to register AttributionSource of TV App to TIS" 2023-01-26 00:21:50 +00:00
Colin Cross
8117fabbd4 Disable librs_jni for riscv64
Test: m -k
Change-Id: Idfafb591bc60dc1b7bd22f5aabc80f77a310eb49
2023-01-25 14:32:58 -08:00
Cody Northrop
b671d719ff Add EGL blobcache multifile properties
Test: adb shell getprop
Test: /data/nativetest64/EGL_test/EGL_test
Bug: b/266725576
Change-Id: I71cc82687120b5f95550e7b3ad37ae47ea02b152
2023-01-25 14:41:44 -07:00
Sudheer Shanka
2c011ab832 Merge "Add BroadcastOptions.setDeferUntilActive() API." am: 0c67ec2873
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2401853

Change-Id: I935edf0a2262c798c35cbeb5ae839233f41d07bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 03:48:48 +00:00
Treehugger Robot
6aabfa98da Merge "Add YCBCR_P010 in switch content in ImageUtil getNumPlanes." am: 9c1b97152e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2401592

Change-Id: Idf1614949814d0b773cadc267f6f96aca0eba233
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 03:47:45 +00:00
Sudheer Shanka
0c67ec2873 Merge "Add BroadcastOptions.setDeferUntilActive() API." 2023-01-25 03:13:11 +00:00
Treehugger Robot
9c1b97152e Merge "Add YCBCR_P010 in switch content in ImageUtil getNumPlanes." 2023-01-25 03:02:27 +00:00
Sudheer Shanka
30ad0ccb48 Add BroadcastOptions.setDeferUntilActive() API.
Bug: 255525222
Bug: 255545931
Test: TH
Change-Id: Ie340708389686182f10f210e7ca51b261e40df68
Merged-In: I9a356c8701d73f5687831fbe5b699e4485f07dd5
2023-01-25 01:21:55 +00:00
Treehugger Robot
67606be29f Merge "ShutdownThread: flag off debug logging" am: 5cde57c340
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2277707

Change-Id: I3534ee6d3bf89c8f6e6a76facb16fdc5ca638c02
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-25 01:13:21 +00:00
Treehugger Robot
5cde57c340 Merge "ShutdownThread: flag off debug logging" 2023-01-24 23:52:31 +00:00
Kyle Zhang
452bc55c81 Check NULL for Drm object
Bug: 264629548
Test: CtsMediaDrmFrameworkTestCases
Change-Id: I1e9332898adc6a5268dfb107a2356d443e6f08ff
2023-01-24 23:51:20 +00:00
Elliott Hughes
0263395aeb Merge "Remove CanvasCompare." am: 688256e5d7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2399535

Change-Id: I4fa7e96439055bfc186a199b88403a326e649472
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 23:29:06 +00:00
Elliott Hughes
688256e5d7 Merge "Remove CanvasCompare." 2023-01-24 23:00:21 +00:00
Treehugger Robot
ac9c1d71b7 Merge "[TeX] Extracted Utils API for Telemetry Express Logging APIs" am: 667a49fe46
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2398613

Change-Id: Ie2ab0b72aafa2051e216040812f271da391a7689
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 18:05:36 +00:00
Treehugger Robot
667a49fe46 Merge "[TeX] Extracted Utils API for Telemetry Express Logging APIs" 2023-01-24 17:11:48 +00:00
Sally Qi
e4bc60d543 Add YCBCR_P010 in switch content in ImageUtil getNumPlanes.
Bug: 266292294
Test: builds
Change-Id: Id4f809a1770739b279bb653bdb32e9a010d21fd4
2023-01-24 16:58:52 +00:00
Kriti Dang
b14ad94325 Merge "[HDR]:UserDisabledHdrTypes is not updated after system reboot" am: 7c053765d7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2392843

Change-Id: Ic5df71b01b5f735c6df12d7ee93714fd05e819c0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 15:02:46 +00:00
Kriti Dang
7c053765d7 Merge "[HDR]:UserDisabledHdrTypes is not updated after system reboot" 2023-01-24 14:22:50 +00:00
Treehugger Robot
2c992e02a3 Merge "TEST_MAPPING: Add incremental install tests to kernel-presubmit" am: 255d919f5c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2328182

Change-Id: Ie9b66dc23bd3a462890eee10afdd210e534ba91c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 02:41:19 +00:00
Treehugger Robot
127bd7bdf8 Merge "SoundTrigger owner cleanup" am: d8abef0d9f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2399135

Change-Id: I4773646ed12c8c6eeb407a41fd800a6f36bb0c94
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 02:40:01 +00:00
Treehugger Robot
255d919f5c Merge "TEST_MAPPING: Add incremental install tests to kernel-presubmit" 2023-01-24 02:07:45 +00:00
Treehugger Robot
d8abef0d9f Merge "SoundTrigger owner cleanup" 2023-01-24 01:59:46 +00:00
Vova Sharaienko
af823de299 [TeX] Extracted Utils API for Telemetry Express Logging APIs
- hashString API moved to utils to be used by Histogram metric APIs

Bug: 262791652
Test: m
Change-Id: Ic049083c6e19c045e6f743e3bc96e1fc15ed4533
Merged-In: Ic049083c6e19c045e6f743e3bc96e1fc15ed4533
2023-01-24 01:37:56 +00:00
Android Build Coastguard Worker
cbd27dc9e6 Merge cherrypicks of ['ag/20690268', 'ag/20877927', 'ag/20965081'] into tm-qpr2-release.
Change-Id: I9e4cdb6a9a8b795c6edae0ac52b693020f5f8eee
2023-01-24 01:31:33 +00:00
bkchoi
746d2338b3 Send system user broadcasts in headless system user mode.
In headless system user mode, USER_STARTING, USER_STARTED, and
USER_SWITCHED broadcasts were not sent for the system user.
It had caused issues for other parts of the system which are expecting
such broadcast messages. For example, VpnManagerService expects
USER_STARTED event for system user but was not receiving it.

This change will only affect headless system user mode. No behavior
changes for phones.

Bug: 263439429
Bug: 242195409

Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest

Change-Id: I4a101418c10a2c959c2bfae01b95863aebd521e8
(cherry picked from commit ba0f9f3ad2)
Merged-In: I4a101418c10a2c959c2bfae01b95863aebd521e8
2023-01-24 01:30:27 +00:00
Anton Potapov
34696dcb97 Fix QS header constraints so status icons are now ellipsized where there
is lack of space.

Previously:
There was a chain [date]-[space]-[status icons]-[battery]. That's why we should add bias and space to make it working.
But there're several problems with this:
 1) app:layout_width="WRAP_CONTENT" + app:layout_constrainedWidth=”true" != app:layout_width="0dp" + app:layout_constraintWidth_default="wrap". The first one gets view expanded like it's MATCH_PARENT.
 2) I've found out that wrapping views in constraint layout 2.0.0 may not always work as expected with app:layout_constrainedWidth=”true" (the view get's stretched as it's match_parent). layout_constraintWidth_max="wrap" should've help with this, but motion layout can't parse this attribute in constraint set. That's why my solution is to reimplement the layout a little bit
This behavior is reported here: https://github.com/androidx/constraintlayout/issues/713

Now:
[date] and [battery] are constrained to the sides and [status icons] occupy the whole space between them.
[date] is always WRAP_CONTENT because there's always some space and we want to show it.
[battery] and [status icons] are wrap content with constraints restrictions to make them fill all the space left

Test: manual: phone + tablet
Fixes: 260364389
Change-Id: I4d54b795cc4e96f6c204f2f00aff7607572d9aa3
(cherry picked from commit 675ff0fe37)
Merged-In: I4d54b795cc4e96f6c204f2f00aff7607572d9aa3
2023-01-24 01:30:21 +00:00
Anton Potapov
8adc88a15f Fix work tile setup when adding work profile
Test: Auto + manual
 - Add work profile -> QS tile is added
 - Remove work profile -> QS tile is removed
 - Reboot the device -> QS tile is in place
 - Reorder tiles, reboot the device -> order is persisted
Fixes: 234639083
Change-Id: I4481a3f28f9d1f0c30618afaf78179e0033f50fb
(cherry picked from commit a240e7eebe)
Merged-In: I4481a3f28f9d1f0c30618afaf78179e0033f50fb
2023-01-24 01:29:51 +00:00
Treehugger Robot
72b6c0ff2d Merge "health package: Update health AIDL HAL to V2" am: 8f4366e215
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2317629

Change-Id: Ic4aa21ce7faf1a564b366ab4ae5ecff4e7d52817
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-24 01:20:03 +00:00
Treehugger Robot
8f4366e215 Merge "health package: Update health AIDL HAL to V2" 2023-01-24 00:52:35 +00:00
Jack Wu
e7f2a6bbb6 health package: Update health AIDL HAL to V2
Bug: 251425963
Test: Build
Change-Id: Ib876635144e5e714f1947e996391c3431327a811
Signed-off-by: Jack Wu <wjack@google.com>
2023-01-24 00:45:41 +00:00
Elliott Hughes
2ae77029fd Remove CanvasCompare.
As part of renderscript deprecation/removal, of the two pieces of
renderscript in this app, one already had a Java alternative but the
heatmap code didn't. Rather than reimplement that, though, it appears
that this project has been obsoleted by CtsUiRenderingTestCases. So
let's remove it instead. (Even if we're wrong, this still gives us more
time to work out what, if anything, is actually needed.)

Bug: http://b/255624710
Test: treehugger
Change-Id: I7cf64a28bd3c7edea061fafc5e06d4134cc79b05
2023-01-23 21:15:43 +00:00
Atneya Nair
360e7c0a78 SoundTrigger owner cleanup
Test: None
Change-Id: I56dd9e39b8a6d443aac13d1da4864480cb8b335e
2023-01-23 12:33:03 -08:00
Treehugger Robot
aea0bb4dc1 Merge "Ensure WAIT packet upon HELO in --suspend mode" am: 5e947c04e5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2397595

Change-Id: Ib9fac165e69c5f9f938ade4a911e26d1d4180eeb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 09:50:54 +00:00
Treehugger Robot
5e947c04e5 Merge "Ensure WAIT packet upon HELO in --suspend mode" 2023-01-23 08:59:35 +00:00
Hyunho Shin
6436a28291 Merge "Add the feature tags for the pager mode, larege message mode, deffered messaging and large-pager mode." am: fe011e06b5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2392836

Change-Id: I4faf86f09ce65b11946bc6d76ae8a6ca5afe4e0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-21 04:03:06 +00:00
Hyunho Shin
fe011e06b5 Merge "Add the feature tags for the pager mode, larege message mode, deffered messaging and large-pager mode." 2023-01-21 03:17:19 +00:00
Fabien Sanglard
0801a618a3 Ensure WAIT packet upon HELO in --suspend mode
Upon suspending the app, we don't set mWaiting like we do in
waitingForDebugger. This is an error because this state is checked
upon handling HELO in DdmHandleHello chunk handler.

Mimicking what is done in waitingForDebugger ensure that WAIT is
sent and DDM client receive the event.

Bug: 266232837
Test: Manual
Change-Id: I3b8bc9af6f017f3a16c33ac38df7a9248c939a1a
2023-01-20 19:31:00 +00:00
Zhi Dou
f02f774e24 Merge "Creat hardlink if active apexes are in the same partition" am: fea0bb7135
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2372652

Change-Id: I9477ba59572ff2fdc1d526b049d9966f8e2db808
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 15:46:32 +00:00
Zhi Dou
fea0bb7135 Merge "Creat hardlink if active apexes are in the same partition" 2023-01-20 15:10:38 +00:00
wangn
8a6745e902 [HDR]:UserDisabledHdrTypes is not updated after system reboot
After system boots,the UserDisabledHdrTypes also needs to be updated
in the display information.

Bug:265724287

Test: Prepare a HDR/DolbyVision TV which supports DolbyVision/HDR10/HLG.
1.Connect the STB to the TV.
2.On UI Settings -> Device Preferences -> Display & Sound -> Advanced
  Display settings -> Format Selection,choose manual,disable DolbyVision
  format and keep HDR10/HLG formats enabled.
3.Reboot STB ,Check 2) , it is same as previous saved result.
4.Open Netflix, search DolbyVision contents movie and check the format.
  It should only list HDR contents, no DolbyVision contents.

Change-Id: I4c38532ad973a85c289796a9372413bd5491ca26
Signed-off-by: wangn <nan.wang@vantiva.net>
2023-01-20 12:55:39 +00:00
Android Build Coastguard Worker
893296d69c Merge cherrypicks of ['ag/20941605', 'ag/20946885'] into tm-qpr2-release.
Change-Id: I2f86b8635384aa2a07f47149f3257eb36ef98b9e
2023-01-20 00:42:03 +00:00
Jordan Demeulenaere
c262d5779b Revisit how launch animations handle View visibility
This CL refactors the way the ActivityLaunchAnimator and
DialogLaunchAnimator handle the visibility of the animated View when
that View implements LaunchableView.

Before this CL, a View that is animated would always end up being
VISIBLE, even if something made that View INVISIBLE or GONE before or
during the animation. That is because our animation code would sometimes
change the visibility of the View, using View.setVisibility.

After this CL, when animating a LaunchableView, all the visibility
changes made to the animated View are done using
View.setTransitionVisibility instead. That way, a LaunchableView can
track all calls to View.setVisibility only and restore the last
visibility that was set on the View at the end of the animation. Doing
so ensures that all calls made to View.setVisibility have the expected
result once the animation is done.

Bug: 264728445
Test: DialogLaunchAnimatorTest
Change-Id: I5848d42ef94952ecf058d4e895164389e37e0311
(cherry picked from commit 9ecb3db788)
Merged-In: I5848d42ef94952ecf058d4e895164389e37e0311
2023-01-20 00:40:08 +00:00
Jordan Demeulenaere
f53c15d046 Use the correct FGS View when animating into a dialog
This CL fixes the View that is used when showing the Foreground Services
dialog.

Test: Click the FGS button when the Security button is also shown.
Bug: 264728445
Change-Id: Id686279bbfc1e47e28da894342688d44183ebf42
(cherry picked from commit 0e7b6e534c)
Merged-In: Id686279bbfc1e47e28da894342688d44183ebf42
2023-01-20 00:39:57 +00:00
Spandan Das
fda52cfa61 Merge "Replace #apex with #systemapi" am: 2dd8933868
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2395614

Change-Id: Ic5c3719ebad1dac93406ea82e5620b84a7811b6f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 00:05:51 +00:00
Spandan Das
2dd8933868 Merge "Replace #apex with #systemapi" 2023-01-19 23:31:26 +00:00
zhidou
d1904e4b9c Creat hardlink if active apexes are in the same partition
Before the code compare the dev of the source, and target file.
However, since the target file hasn't been created at this time, the
code will always copy the source file instead of hard linkking.

Test: sideload train, and check whether the apex in rollback folder is a
hardlink. Run presubmit
Bug: 168562373

Change-Id: I6e5c6e0d35e4fa44d41d3d2d6fc564e5213e0092
2023-01-19 20:16:58 +00:00
Spandan Das
d950d37990 Replace #apex with #systemapi
The intended use is
- #apex is APEX-visible symbols provided by apex libraries
- #systemapi is APEX-visible symbols provided by platform libraries

Since libandroid is a platform library, update the annotation to
sytemapi.

Bug: 239274367
Bug: 265485106
Test: TH
Change-Id: I28db5cd0d3a76afa1a7ecac042ee02dd74faa2f1
2023-01-19 18:44:21 +00:00
Hyunho
379e5f0079 Add the feature tags for the pager mode, larege message mode, deffered messaging and large-pager mode.
And the presence tuple of the standalone is added.

Bug: b/262614903
Test: atest PublishServiceDescTrackerTest
Test: In the live network, if there is the feature tag related to the standalone in the registered feature tags, the service id of standalone is included in the PIDF
Change-Id: I2057c1a74e3db12d34b726c0cba7dfc26601bee5
Merged-In: I2057c1a74e3db12d34b726c0cba7dfc26601bee5
2023-01-19 04:57:24 +00:00
Sally Qi
80c68e3659 Merge "Update OverlayProperties file's OWNER" am: 6964ec7ba2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2394552

Change-Id: I43f64479985f540cc7dbc3929190cd19d45c9321
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-19 02:14:47 +00:00