Commit Graph

891995 Commits

Author SHA1 Message Date
Ioana Alexandru
7588315470 Merge changes from topic "presubmit-am-b58a01f1adec4c46ae37d132031c6dc4" into sc-qpr1-dev
* changes:
  [automerge] Verify URI permissions for notification shortcutIcon. 2p: beb185c5cd
  Verify URI permissions for notification shortcutIcon.
2023-05-09 09:02:00 +00:00
Ioana Alexandru
2a8bb5568a Merge "Verify URI permissions for notification shortcutIcon." into sc-qpr1-dev 2023-05-09 09:01:45 +00:00
Ioana Alexandru
6fcae7d9e0 Merge "Verify URI permissions for notification shortcutIcon." into sc-v2-dev 2023-05-09 09:01:36 +00:00
Ioana Alexandru
d3b8ddbc38 Merge "Verify URI permissions for notification shortcutIcon." into tm-dev 2023-05-09 09:01:24 +00:00
Ioana Alexandru
007f91eb6c Merge "Verify URI permissions for notification shortcutIcon." into tm-qpr-dev 2023-05-09 09:01:16 +00:00
Ioana Alexandru
fbbf6f759f Merge "Verify URI permissions for notification shortcutIcon." into udc-dev 2023-05-09 09:01:07 +00:00
Joanne Chung
626456cd54 Include GentleUpdateHelper state in dumpsys
Add this information in dumpsys can help to figure out the pending
checks status.

Bug: 280721983
Test: atest InstallConstraintsTest
Test: dumpsys package
Change-Id: Iadeba29c42a5b342fb26980447b36a4087803923
2023-05-09 16:39:40 +08:00
Nicolas Sleiman
0b2cda7782 Merge "Override work profile OEM telephony shortcuts with defaults" into udc-dev 2023-05-09 08:35:21 +00:00
Rasheed Lewis
c8f51275bf Merge "Move TileLifecycleManager calls to background thread" into udc-dev am: 4380b2c23f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22811810

Change-Id: I11d27a30f3d421c61bf68257a9005d403edc6d8e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 08:25:37 +00:00
Ján Sebechlebský
0b263f790c Merge "Support virtual device specific audio session in TTS." into udc-dev 2023-05-09 08:19:38 +00:00
Arpan Kaphle
d7af24854e Merge "Adding Final Phase Exception String to Logs" into udc-dev am: b98c2ee541
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22775994

Change-Id: Id8cbfa0095d8bd67d866d04f069bb825c4c178b2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 07:50:00 +00:00
Joanne Chung
029ca32ffa Merge "InstallConstraints API javadoc improvement" into udc-dev 2023-05-09 07:25:17 +00:00
Treehugger Robot
228c3d300f Merge "Fix unexpected starting window removal timeout when in fixed-rotation" into udc-dev 2023-05-09 06:56:54 +00:00
Jernej Virag
65327c05c4 Add ability to decode only image information with ImageDecoder
This creates a @hide API which only retrieves ImageInfo object without
continuing the decode of full image. It mirrors
BitmapOptions.inJustDecodeBounds behaviour and allows checking
dimensions and color space configuration of images without proceeding to
full decode (if able).

Bug: 280572656
Test: atest android.graphics.ImageDecoderTest
       android.graphics.cts.ImageDecoderTest
Change-Id: I704ec6c41d76f655222da7ee322e3b0e4954533d
2023-05-09 06:48:41 +00:00
Sudheer Shanka
da00d72c17 Add a callback to listen to uid foreground-ness change.
Bug: 276941957
Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueTest.java
Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueModernImplTest.java
Change-Id: Id11bb1c06025bf758a6c6b40f538ed45548381e8
2023-05-09 06:34:17 +00:00
Shaowei Shen
d1575fb232 Merge "[Output switcher] Change to use selected routes" into udc-dev 2023-05-09 06:29:55 +00:00
Jeff Chang
6149641c1e Update the split layout while density changed
According to mDividerSnapAlgorithm, the density change results in the
position of the driver bar changed, but the split layout is changed
only in the legacy transition environment. This CL updates the split
layout when the display density changed.

Bug: 273430199
Test: atest SplitLayoutTests
      atest StageCoordinatorTests
Change-Id: I767c499494c3498de36c007c7d3f1a0c275f776b
2023-05-09 06:20:14 +00:00
Winson Chung
29b802e880 Merge "Disable emoji compat initializer" into udc-dev 2023-05-09 06:13:15 +00:00
Chandru S
8d9ca99197 Removing very verbose face auth logs from KeyguardUpdateMonitor
Fixes: 275097662
Test: NA
Change-Id: I06291fafee0e39eaa1ac728c82e5bca37cd9060e
2023-05-08 23:08:53 -07:00
Helen Qin
ddef3203c5 Unlocked empty auth entry shouldn't be clickable anymore
Bug: 281615348
Fix: 281615348
Test: manual (see bug for recording)
Change-Id: I4a1b42a3624c65bdddad593fc77770422f72fbe1
2023-05-09 05:55:22 +00:00
Simranjit Kohli
7441ed4601 [Autofill PCC]: Fix SaveInfo IllegalArgumentException
Don't create SaveInfo if there are no eligible autofill ids.
Test: atest CtsAutoFillServiceTestCases
Bug: 281312204

Change-Id: I5c304422dde5576d0f6408e649a420b57bb2a58e
2023-05-08 22:52:25 -07:00
Treehugger Robot
d53107bdd3 Merge "Do not redraw if no change on reparent" into udc-dev 2023-05-09 05:46:56 +00:00
Helen Qin
19341a12a7 Handle empty action entry subtitle
Test: manual (see bug for screenshots)
Bug: 281618168
Fix: 281618168
Change-Id: If0314aa51deafcfa13e9c95837f50b68f9eb173c
2023-05-09 05:39:45 +00:00
Joanne Chung
d359469b9b Merge "Validate checkInstallConstraints() installer package name" into udc-dev 2023-05-09 05:29:22 +00:00
Bryce Lee
37b8ca636b Merge "Revert "Add elevation to dream home controls button."" into udc-dev 2023-05-09 05:15:52 +00:00
Kathy Chen
b43fbe2aab Revert "Revert "[AC] Fix NPE. If the client sends multiple unregister requests at the same time, the client request could be null before the next request is processed.""
This reverts commit f470e292d8.

Reason for revert: Fixed warning from presubmit

Change-Id: I3e1ea17a2e149b548885666d9e8418647b96439e
(cherry picked from commit b93d2ce0d3)
Bug: 278891267
Test: make
2023-05-09 05:12:45 +00:00
Jing Ji
1eabad19a7 Allocate the frozen app duration array with the LRU size
Bug: 281356186
Test: adb shell cmd stats pull-source 10189
Change-Id: Ica2ec04a8a6b9f3ba421f6dd6f512791cc22c1c7
2023-05-08 22:10:30 -07:00
Jiaming Liu
881ae5738b Adjust Rear Display Dialog Landscape Layout
Bug: 272757569
Test: Manual
Change-Id: Iacd6d702944ef86a50dc56ab1cb9e8698616e02e
2023-05-09 05:09:29 +00:00
Treehugger Robot
d401d88fe1 Merge "Return right activities in getTopVisibleActivities method" into udc-dev 2023-05-09 05:05:19 +00:00
Jing Ji
c62c2ac8f7 Allow default dialer app to use the "phoneCall" FGS type.
Bug: 280003654
Test: atest CtsAppFgsTestCases
Change-Id: Idc00fb6a04b133c8ba455bb029a4f13f1d8bc64c
2023-05-08 22:04:49 -07:00
Isaac Katzenelson
d02b24ab87 Handle null fields when using parcels.
For fields that can be null, make sure they are stored
correctly and read correctly when they are used in a parcel.

Bug: 281487373
Test: atest SharedConnectivitySettingsStateTest KnownNetworkTest
Change-Id: I2f9cdb638dcb1f98113f39b60a96b0d1e8b22d8c
2023-05-09 05:02:14 +00:00
Faye Yan
07dbf8e88a Merge "Revert denying USE_FULL_SCREEN_INTENT unless allowlisted in U Beta3." into udc-dev 2023-05-09 05:01:51 +00:00
Jing Ji
a571b3d557 Merge "Log the process hosting component types in ProcessMemorySnapshot" into udc-dev 2023-05-09 04:45:39 +00:00
Helen Qin
e4cdeae925 Handle empty auth entry title
Use the provider label as title when the title is empty.

Test: manual (see bug for screenshots)
Bug: 281612710
Fix: 281612710
Change-Id: If8b7a765e331ed1d2c475f21fde7834c960e4b33
2023-05-09 04:43:59 +00:00
TreeHugger Robot
6db854c14e Merge "Limit namespace length." into udc-dev 2023-05-09 04:34:26 +00:00
Silin Huang
bba308b27e Merge "Do not load drawable for wallet card if the card image icon iscreated with content URI." into sc-dev am: eda58607c8 am: cb2ad18704 am: 53f1f4613d am: c3ef945b91 am: bc6f937d9f am: 38080c8df1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22599577

Change-Id: I7c055825025473e05fe77b963ab8646be5be3ed1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 04:30:52 +00:00
Silin Huang
fd1c743ad4 Merge changes from topic "presubmit-am-361ce2f2beb3432cae0398341bab71ca" into sc-qpr1-dev am: 324903d93f am: c297a9eff8 am: e1e0ae15a9 am: 5ca32eaad0 am: 7a9f5ba021
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22599577

Change-Id: I6dbc3772af5b7a277c2228befd2c030c5945d035
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 04:30:24 +00:00
Behnam Heydarshahi
146fdf4db6 Merge "Move volume dialog away from the hinge" into udc-dev am: 83d0751298
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22631577

Change-Id: Ia9e1841c21d91b481b72c4211f939814f091ce03
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 04:16:20 +00:00
Raphael Kim
c111807c2b Merge "[CDM] remove platform version exchange protocol" into udc-dev 2023-05-09 04:02:41 +00:00
TYM Tsai
fa4839d23e Stop to show fill dialog if IME is showing
Because the request to show the fill dialog and the IME is asynchronous.
To reduce the fill dialog appearing on the IME, check to see if the IME
shows it before showing the fill dialog.

This change does not fully resolve the IME and fill dialog showing
at the same time but can mitigate the problem. More details see the bug.

When supported fill dialog flag is appended, the view of parameter
will be null. So remove to check the view is not null when appending
the reset fill dialog flag.

Bug: 236436818
Test: atest CtsAutoFillServiceTestCases
Change-Id: I4dbfaa1ae398ec067652418f7dd66ced305ea5f7
2023-05-09 04:01:14 +00:00
Silin Huang
d9e3a829b7 Merge "Do not load drawable for wallet card if the card image icon iscreated with content URI." into sc-dev am: eda58607c8 am: cb2ad18704 am: 53f1f4613d am: c3ef945b91 am: 017c1265ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22599577

Change-Id: I7d21a517fbc51a1d53e2a27827167e7564720a3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 03:52:38 +00:00
Silin Huang
20aa07fbdf Merge changes from topic "presubmit-am-361ce2f2beb3432cae0398341bab71ca" into sc-qpr1-dev am: 324903d93f am: c297a9eff8 am: e1e0ae15a9 am: 5e2f647453
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22599577

Change-Id: Ifcff1466a2dfcec8d92749cbcd66a3698b48bc39
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 03:52:10 +00:00
Helen Qin
d7d9d4892c Only honor preferUiBrandingComponentName with permission
preferUiBrandingComponentName should only be honored if the caller app
has the permission
android.permission.CREDENTIAL_MANAGER_SET_ALLOWED_PROVIDERS.

Bug: 281599707
Test: manual
Change-Id: I8e9db2b89b37f05515f05fc5e8c64d27cd5b9e51
2023-05-09 03:38:59 +00:00
Silin Huang
38080c8df1 Merge "Do not load drawable for wallet card if the card image icon iscreated with content URI." into sc-dev am: eda58607c8 am: cb2ad18704 am: 53f1f4613d am: c3ef945b91 am: bc6f937d9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22599577

Change-Id: I9c3c722290329a91dcb52abb9e0407e21d7815c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 03:27:55 +00:00
Silin Huang
7a9f5ba021 Merge changes from topic "presubmit-am-361ce2f2beb3432cae0398341bab71ca" into sc-qpr1-dev am: 324903d93f am: c297a9eff8 am: e1e0ae15a9 am: 5ca32eaad0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22599577

Change-Id: I20c80417cea42e267c88b623176f61d04bda1868
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 03:27:26 +00:00
Silin Huang
017c1265ac Merge "Do not load drawable for wallet card if the card image icon iscreated with content URI." into sc-dev am: eda58607c8 am: cb2ad18704 am: 53f1f4613d am: c3ef945b91
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22599577

Change-Id: I298d0252d8e127a2a2c2d229a9c20927a7a3c510
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 03:12:08 +00:00
Silin Huang
5e2f647453 Merge changes from topic "presubmit-am-361ce2f2beb3432cae0398341bab71ca" into sc-qpr1-dev am: 324903d93f am: c297a9eff8 am: e1e0ae15a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/22599577

Change-Id: I538490c2af6ee0b541971e046182a688de698bd1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-09 03:11:41 +00:00
TreeHugger Robot
8061467c89 Merge "Bug fix for back arrow behavior." into udc-dev 2023-05-09 03:08:45 +00:00
Treehugger Robot
275eeea950 Merge "Support CMF default wallpaper" into udc-dev 2023-05-09 03:04:10 +00:00
Joanne Chung
f8489cf667 Validate checkInstallConstraints() installer package name
installerPackageName is set when creating PackageInstaller instance.
The value is get by context.getPackageName(). But it is possible the
application can modify the value by reflection to bypass the security
check to access the API. This change will verify it and throws the
SecurityException if the name doesn't match.

The change here doesn't update the javadoc part, it will be added in
the follow up changes.

Bug: 280721965
Test: atest InstallConstraintsTest
Test: manual. Set fake installerPackageName will throw exception
Change-Id: I168e695cf12971f3d770de0f3c9189222bb1707c
2023-05-09 10:57:06 +08:00