Commit Graph

750198 Commits

Author SHA1 Message Date
Riley Jones
39ce6918c7 Merge "Revert "Promote startActivityAsUser to SystemApi"" into tm-dev 2022-03-03 23:34:39 +00:00
Riley Jones
07f7f3ff5b Revert "Promote startActivityAsUser to SystemApi"
This reverts commit c2817ca17f.

Reason for revert: DroidMonitor-triggered revert due to bug b/222503182.

Change-Id: I8ab687811b7b0a76587bcb0903055ebbc35f729a
2022-03-03 23:19:13 +00:00
Hai Zhang
c6c97b7b84 Merge "Fix NPE introduced by ag/16740473." into tm-dev 2022-03-03 23:04:40 +00:00
TreeHugger Robot
8819133efc Merge "Document isManagedProfile usage should probably be isProfile" into tm-dev 2022-03-03 22:38:37 +00:00
TreeHugger Robot
7517f6d5d5 Merge "Camera: Standard dynamic range profile must not have any extra latency" into tm-dev 2022-03-03 22:25:54 +00:00
Chavi Weingarten
53f62e57cf Merge "Changed setSyncTransaction to syncNextTransaction with callback logic." into tm-dev 2022-03-03 22:14:41 +00:00
Kenneth Ford
8265feecfd Merge "Checks if there is a device state override active to determine if the device should be put to sleep or not" into tm-dev 2022-03-03 22:11:55 +00:00
TreeHugger Robot
be8f69ee2d Merge "Fix FilterClient::getFilterMq result" into tm-dev 2022-03-03 21:30:14 +00:00
TreeHugger Robot
3005615ff8 Merge "Revert "Add API for external call audio route."" into tm-dev 2022-03-03 21:14:57 +00:00
TreeHugger Robot
d2b7139637 Merge "[Ongoing Call] Don't call #getIntent to avoid a security vulnerability." into tm-dev 2022-03-03 21:13:47 +00:00
TreeHugger Robot
e93f2d0916 Merge "Add legacy emoji font file for compatibility" into tm-dev 2022-03-03 21:04:56 +00:00
TreeHugger Robot
5650a04518 Merge "Update WebSettings useragent docs." into tm-dev 2022-03-03 21:01:41 +00:00
Gavin Corkery
0214bd512e Merge "Add some Process APIs to test_current" into tm-dev 2022-03-03 20:57:51 +00:00
TreeHugger Robot
23e2cc15da Merge "Set touchable region for recents input consumer with shell transitions" into tm-dev 2022-03-03 20:49:39 +00:00
Alex Buynytskyy
ad0f5f8b41 Merge "Add PackageManagerLocal for mainline modules" into tm-dev 2022-03-03 20:30:43 +00:00
Hai Zhang
c9a82cd3b8 Fix NPE introduced by ag/16740473.
A PackageState doesn't always have an AndroidPackage, so we need to do a
null check.

Fixes: 222474286
Test: presubmit
Change-Id: I1603f3cb096a72f65360db2ab7d8ff5823c28e0d
2022-03-03 19:46:48 +00:00
Emilian Peev
cb4b1b0230 Camera: Standard dynamic range profile must not have any extra latency
The standard dynamic range profile will always be present as part of the
advertised profiles. Additionally the same profile must never advertise
extra latency due to the format selection.

Bug: 215396395
Test: Camera CTS
Change-Id: I0ad7dd23a1b1f742293b4c52a48a8fca98b7925c
2022-03-03 11:43:11 -08:00
TreeHugger Robot
3e2a850fa6 Merge "Null check when force navigation bar true and on lockscreen." into tm-dev 2022-03-03 19:23:24 +00:00
Shashwat Razdan
68688e2e19 Merge "Revert "Adding multiple provider support in AbstractMasterSystem..."" into tm-dev 2022-03-03 19:16:53 +00:00
Fabian Kozynski
8b1283e1bb Merge "Use ACTION_UP instead of ACTION_DOWN in handler" into tm-dev 2022-03-03 18:56:59 +00:00
Seigo Nonaka
e26eb8ce33 Add legacy emoji font file for compatibility
Bug: 222362958
Test: Manually verified Flutter Gallary shows emoji.
Test: atest CtsTextTestCases CtsGraphicsTestCases
Test: atest FontListParserTest

Change-Id: If5b5ddfb6d0d46cfb8d27cf66843ae95d4b50e03
2022-03-03 18:56:25 +00:00
Gareth Fenn
8fa010d6a7 Fix FilterClient::getFilterMq result
Bug: 222328370
Fix: 222328370
Test: manual test by partner
Test: atest android.media.tv.tuner.cts
Change-Id: I83a80da5bee07d58d23f2c53f63fbd524db742e6
2022-03-03 10:48:47 -08:00
Treehugger Robot
e2d43ee89e Merge "enable aapt for unbundled builds" am: c3270b85fb am: bd84bca4e1 am: 4bbbeefb86
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2006150

Change-Id: I77148fda55942a07c075472979cdc508b983d0a5
2022-03-03 18:47:36 +00:00
Winson Chiu
7e2cc98e30 Merge "Take package snapshot before locking DomainVerificationService" into tm-dev 2022-03-03 18:45:26 +00:00
Torne (Richard Coles)
7477b2c112 Update WebSettings useragent docs.
Update the WebSettings.setUserAgentString API docs to explicitly specify
the effect it has on user agent client hints and related JS APIs.

This is not a behaviour change for WebView, just making the docs
describe what already happens.

Test: make offline-sdk-docs
Change-Id: I2db282efc4ee42b931824175abe627e871c4a86c
2022-03-03 13:28:08 -05:00
Treehugger Robot
4bbbeefb86 Merge "enable aapt for unbundled builds" am: c3270b85fb am: bd84bca4e1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2006150

Change-Id: Iecbcf9eeea01ce03308c546cd804e06743154998
2022-03-03 18:25:50 +00:00
Adam Bookatz
44ee044a6f Merge "Revert "Remove flaky tests from presubmit."" into tm-dev 2022-03-03 18:13:09 +00:00
Adam Bookatz
0c0fc66390 Merge "Increase user-unlock timeout for ___UserContentResolverTest" into tm-dev 2022-03-03 18:13:09 +00:00
Dave McCloskey
1442d3449b Merge "When dismissing lockscreen, wait up to 1.5 seconds for it to work." into tm-dev 2022-03-03 18:11:07 +00:00
Hongwei Wang
f358e1a101 Merge "Add OWNERS file for TV PiP" into tm-dev 2022-03-03 18:11:05 +00:00
Matt Pietal
f233e14747 Merge "Add icon for user switching" into tm-dev 2022-03-03 18:07:44 +00:00
Treehugger Robot
bd84bca4e1 Merge "enable aapt for unbundled builds" am: c3270b85fb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2006150

Change-Id: I0039b269359efb08090b5f7ae8cc5da77bcf6150
2022-03-03 18:02:25 +00:00
Chavi Weingarten
5dcd46d356 Merge "SurfaceView: Synchronize all surface view changes with VRI draw" into tm-dev 2022-03-03 17:57:05 +00:00
Adam Bookatz
0b5d0c7f87 Document isManagedProfile usage should probably be isProfile
Much usage of isManagedProfile should probably really be isProfile instead, so have the javadoc explicitly point to it.

Bug: 170249807
Change-Id: Ia6c3cc6d052f2b9f6581fd160410b9ef601c3bcf
Test: N/A (just doc)
2022-03-03 17:53:23 +00:00
Prabir Pradhan
1a5cea7609 Set touchable region for recents input consumer with shell transitions
It seems like when shell transitions is enabled, the recents input
consumer's touchable region was not set up properly. It could have been
relying on the previous behavior of an input window being touch modal by
default. Now that we have removed touch modal from input, ensrue that
the touchable region is correctly set for the recents input consumer
when shell transitions is enabled.

Bug: 216806304
Test: presubmit
Change-Id: I93c07c992b0b4e9b61c694a18fae99da73deadef
2022-03-03 17:53:00 +00:00
Treehugger Robot
c3270b85fb Merge "enable aapt for unbundled builds" 2022-03-03 17:32:20 +00:00
TreeHugger Robot
edc7b17ce9 Merge changes from topic "tm-remove-iorapd" into tm-dev
* changes:
  [Re-land] Remove scripts related to iorap
  [Re-land] Remove iorap framework codes
2022-03-03 17:16:02 +00:00
Alex Buynytskyy
a7ebd914e9 Merge "Exclude known failing test from presubmit." into tm-dev 2022-03-03 17:13:02 +00:00
Alex Buynytskyy
86a15bd85d Exclude known failing test from presubmit.
Bug: 222348420
Fixes: 222348420
Test: presubmit
Change-Id: Ibb6fe1c079598de2ecf29bb885ecd1788312522d
2022-03-03 09:00:00 -08:00
TreeHugger Robot
5546ba69d0 Merge "Explain what a DPC is in new API docs." into tm-dev 2022-03-03 16:49:20 +00:00
Tyler Lacey
bf059af71c Merge "Fix captureTaskBitmap for tasks not positioned at top-left of screen." into tm-dev 2022-03-03 16:42:41 +00:00
TreeHugger Robot
01508633c3 Merge "Pipe SatellitePvt fields in JNI" into tm-dev 2022-03-03 16:35:30 +00:00
Robert Horvath
1772b0ab23 Merge "Report changed keep clear areas to TvPipController" into tm-dev 2022-03-03 16:32:19 +00:00
Nikita Ioffe
74159c8bcc Merge "Remove supplementalprocess APEX" into tm-dev 2022-03-03 16:31:55 +00:00
Miranda Kephart
94fdf4049d Merge "Separate callbacks for dismiss start and end" into tm-dev 2022-03-03 16:29:04 +00:00
Vishnu Nair
797aa0066c SurfaceView: Synchronize all surface view changes with VRI draw
Re landing with the following changes:
We initially cloned the SurfaceControl handle to avoid locking when
accessing the SurfaceControl from the position listener callbacks
running from RT workers. But this meant the last reference to the
layer handle would only be released by GC. If SurfaceViews are
created and destroyed rapidly, we would be at the mercy of GC to
release buffers.

Original change:

There are three transaction queues that can submit SurfaceView
changes.

1. Buffer updates via BBQ apply token
2. SCC apply token
3. ViewRootImpl BBQ apply token

It makes sense for most SurfaceView changes to be synchronized with
ViewRootImpl draws since the caller can optionally synchronize the
change with main window content.

This change eliminates the tmp transaction that is applied directly
via the SCC apply token and instead applies them with the ViewRootImpl
draw transaction.

Also take the opportunity to scope down mSurfaceControlLock usage.

Test: atest SurfaceViewSyncTest
Test: go/wm-smoke
Test: run mem tests via forrest
Bug: b/217973491, b/221631942
Change-Id: Idba712d146e62d7346920dc4f060cba92d47fada
2022-03-03 16:07:15 +00:00
Caitlin Cassidy
08d94cbabb [Ongoing Call] Don't call #getIntent to avoid a security vulnerability.
Fixes: 212467440
Test: atest OngoingCallControllerTest
Test: verified clicking the chip can still open valid activities.
Change-Id: I7707d01be37582461227edcecf5d559f2019c8a5
2022-03-03 15:57:56 +00:00
TreeHugger Robot
2348e76c09 Merge "Add ScopedLocalRef for new Strings in JNI" into tm-dev 2022-03-03 15:28:07 +00:00
Philip Junker
abcfe41ed2 Merge "Move logic from PMS#wakePowerGroupLocked() into PowerGroup#wakeUpLocked()." into tm-dev 2022-03-03 15:27:49 +00:00
Gavin Corkery
b9c52eb96c Add some Process APIs to test_current
In order to test MODULE_LIBRARIES System APIs, the
@TestApi annotation needs to be explicitly added. Also adds
some whitespace changes which were autogenerated when
updating the APIs. Also renames Process.toAppUid().

Test: atest ProcessTest
Bug: 218723058
Change-Id: I49bee200c267550b9616ad0b43022126d2d7cc4b
2022-03-03 14:59:31 +00:00