Commit Graph

587555 Commits

Author SHA1 Message Date
TreeHugger Robot
cbf137e288 Merge "Unhide TunedInfo APIs" 2020-10-15 02:45:24 +00:00
TreeHugger Robot
ba3b589faf Merge "Changed logic about how to check if VRI replaced its surface." 2020-10-15 02:44:09 +00:00
TreeHugger Robot
ee4fa37df2 Merge "Add quality to LocationRequest/ProviderRequest" 2020-10-15 02:14:41 +00:00
Minche Li
3d2d8826f0 Merge "Reset WindowMagnification when the density is changed" 2020-10-15 02:01:32 +00:00
TreeHugger Robot
e339e9fabe Merge "Remove unnecessary @hide from private method" 2020-10-15 01:44:50 +00:00
TreeHugger Robot
7a7de2398f Merge "Expose methods to enumerate constants" 2020-10-15 01:33:54 +00:00
TreeHugger Robot
44a65b1e80 Merge "Added permissions for CarProvisioning app." 2020-10-15 01:32:43 +00:00
TreeHugger Robot
dd99181279 Merge "Suppress one off errorprone warnings for AndroidFrameworkPendingIntentMutability" 2020-10-15 01:14:33 +00:00
TreeHugger Robot
ffc2d2f0e9 Merge "Lockscreen - AOD layout adjustments" 2020-10-15 01:06:53 +00:00
Kevin Chyn
cf43d1a27f Merge changes I599dbcd3,I7f3b023a
* changes:
  7/n: Fix templating for biometric utils
  6/n: Add RemovalClient for IFingerprint
2020-10-15 01:00:22 +00:00
Chavi Weingarten
7095b117be Merge "Ensure thread safety with render thread and UI Thread." 2020-10-15 00:55:15 +00:00
Siarhei Vishniakou
9a873fb05b Merge "Avoid MotionEvent no finish raise unnecessary ANR" am: 0749905967 am: 036d89cd7d am: aa5360b66e am: 6b297e943b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459888

Change-Id: Icc51ae27e28fbc884004fc3cd6e6edfb5161d6b4
2020-10-15 00:42:17 +00:00
chaviw
7b5c08e5e6 Ensure thread safety with render thread and UI Thread.
There were a few places that were not thread safe.

1. finishBLASTSync is called from the Render Thread. It
was updating mSurfaceChangedTransaction, which send to WMS on the
UI Thread. Instead, create a new local Transaction object to allow the
Render Thread to merge the mRtBLASTSyncTransaction into it. Then on the
UI thread, merge the temporary transaction into mSurfaceChangedTransaction

2. finishBLASTSync was getting called if the draw was unable to run
asynchronously. This would mean it would get executed on the UI Thread,
possibly causing a race. Instead, remove since there should be nothing
on the blast sync transaction, mRtNextFrameReportedConsumeWithBlast
would never have been set, and mSendNextFrameToWm is set to false
beforehand.

Test: YT with and without Blast
Change-Id: I72e70fea258a933f51aaaf78c7056a0d3fbac8b3
2020-10-14 17:17:43 -07:00
TreeHugger Robot
a634334fde Merge "Add @PaintFlag annotation" 2020-10-15 00:14:38 +00:00
chaviw
25c129cc6a Changed logic about how to check if VRI replaced its surface.
SurfaceView checks if VRI hasn't changed its surface when deciding
whether to call updateRelativeZ in updateSurface. This is to give
surfaceReplaced a chance to send the updateRelativeZ in the same
transaction as swapping the surfaces.

However, SV was only checking generation id, which may not have changed
when using a blast layer. Instead, VRI will increment the sequence id
when the surface has been replaced. SV can check that value and only
do an immediate updateRelativeZ when the sequence id has not changed.

Test: Blast + Split + SV with no flicker
Change-Id: Icdf9f1fbe12fe77052030aa37d808517c5a6cd38
2020-10-14 17:13:59 -07:00
Siarhei Vishniakou
6b297e943b Merge "Avoid MotionEvent no finish raise unnecessary ANR" am: 0749905967 am: 036d89cd7d am: aa5360b66e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459888

Change-Id: I9d65c7889650df64f1cf122cfa9f6ba38dc4acbb
2020-10-15 00:05:29 +00:00
Soonil Nagarkar
f6a861a34f Add quality to LocationRequest/ProviderRequest
Expose quality APIs publically after refactoring them to match external
usage of quality constants. Removes list of location requests from
provider request, as there is no client that really uses this, and it
feels like too much information to give to providers.

Bug: 168624248
Test: presubmits
Change-Id: Icf8a9f6096da0071d97190d3f7196948492e52a1
2020-10-14 16:53:50 -07:00
Rob Carr
ae00abf8ed Merge changes I0333ab33,I7ae7b27f,If20185ce
* changes:
  SurfaceView Cleanup (3/n): Extract RemoteAccessibilityController
  SurfaceView Cleanup (2/n): Cleanup visible = mVisible
  SurfaceView Cleanup (1/n): Breakup updateSurface()
2020-10-14 23:46:51 +00:00
Amy Zhang
25993ef6b5 Merge "Enable Tuner JNI to use Extended Frontend Settings" 2020-10-14 23:45:40 +00:00
Chavi Weingarten
c843f827df Merge "Removed separate SurfaceControl for Blast" 2020-10-14 23:42:46 +00:00
Amy Zhang
313c4a9958 Merge "Add 1.1 Tuner frontend setting into Tuner java Framework" 2020-10-14 23:21:29 +00:00
Siarhei Vishniakou
aa5360b66e Merge "Avoid MotionEvent no finish raise unnecessary ANR" am: 0749905967 am: 036d89cd7d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459888

Change-Id: I3b3bb881ee2a73bd07cc96574e045582cb1f7d4d
2020-10-14 23:15:37 +00:00
Mark Goldstein
b7c3369be2 Doc: Fix typo the right way. Supersedes cl/318172931 am: d5726423ca am: 0e59503e96 am: 7887b8160b am: 933e9c79ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12828332

Change-Id: I8c6fc94cf291b517949bdc8fd190151490f9170e
2020-10-14 22:57:42 +00:00
Siarhei Vishniakou
036d89cd7d Merge "Avoid MotionEvent no finish raise unnecessary ANR" am: 0749905967
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459888

Change-Id: If0eafb434e3226a2cf2727fdd7111b7b582e6fa3
2020-10-14 22:49:50 +00:00
Mark Goldstein
933e9c79ff Doc: Fix typo the right way. Supersedes cl/318172931 am: d5726423ca am: 0e59503e96 am: 7887b8160b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12828332

Change-Id: I5f44da14f3d028aaf7754d4309fdbda13c649ca3
2020-10-14 22:49:00 +00:00
Mark Goldstein
d892024042 Doc: Fix typo the right way. Supersedes cl/318172931 am: d5726423ca am: 0e59503e96 am: 18d9527af6 am: 69c3cf0bf4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12828332

Change-Id: I89e53c7a69088f5bd805385830ec32a748bcd74f
2020-10-14 22:46:50 +00:00
Philip P. Moltmann
066479a2ad Merge "fix broadcast receivers overflow for system_server" am: 9ba1a0d576 am: ad9467332c am: ea66dd6ca5 am: a942c4780f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1339995

Change-Id: Ie0865afbb416da48da47650139eb72ce91543069
2020-10-14 22:46:30 +00:00
Mark Goldstein
69c3cf0bf4 Doc: Fix typo the right way. Supersedes cl/318172931 am: d5726423ca am: 0e59503e96 am: 18d9527af6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12828332

Change-Id: I0c629ac821d9bf2ee12313f6e41044c3bd07e278
2020-10-14 22:20:47 +00:00
Siarhei Vishniakou
0749905967 Merge "Avoid MotionEvent no finish raise unnecessary ANR" 2020-10-14 22:17:19 +00:00
TreeHugger Robot
bcfbdd28e5 Merge "Launch Panic gesture from SysUI" 2020-10-14 22:15:15 +00:00
Mark Goldstein
dc6a578af9 Doc: Fix typo the right way. Supersedes cl/318172931 am: d5726423ca am: 6c0854d8a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12828332

Change-Id: I736a936f1830e8a6b3044526c0b4939dc36edb91
2020-10-14 22:00:58 +00:00
Mark Goldstein
18d9527af6 Doc: Fix typo the right way. Supersedes cl/318172931 am: d5726423ca am: 0e59503e96
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12828332

Change-Id: Ifd5624dcef44f9b1e65f763d732846f345c32e10
2020-10-14 22:00:34 +00:00
Mark Goldstein
7887b8160b Doc: Fix typo the right way. Supersedes cl/318172931 am: d5726423ca am: 0e59503e96
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12828332

Change-Id: I2cd5851caad56c0922ec0a1c122207ae5baa7409
2020-10-14 22:00:31 +00:00
Philip P. Moltmann
a942c4780f Merge "fix broadcast receivers overflow for system_server" am: 9ba1a0d576 am: ad9467332c am: ea66dd6ca5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1339995

Change-Id: Ibf885fb006911469005ea075e60f8c2d3e8dc8e7
2020-10-14 22:00:02 +00:00
Mark Goldstein
6c0854d8a6 Doc: Fix typo the right way. Supersedes cl/318172931 am: d5726423ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12828332

Change-Id: Iae825b842d283067aaafbc4b48a398450a46ab9c
2020-10-14 21:42:49 +00:00
Philip P. Moltmann
ea66dd6ca5 Merge "fix broadcast receivers overflow for system_server" am: 9ba1a0d576 am: ad9467332c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1339995

Change-Id: Icad186f7a973ebf08a7b506561573a963d762d49
2020-10-14 21:42:28 +00:00
Mark Goldstein
0e59503e96 Doc: Fix typo the right way. Supersedes cl/318172931 am: d5726423ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12828332

Change-Id: Idfff776666d9175a45cea54996d61919f7df3057
2020-10-14 21:41:47 +00:00
Ashwini Oruganti
ecd15ed9a9 Suppress one off errorprone warnings for AndroidFrameworkPendingIntentMutability
These are essentially false positives that are just taking the flags in
as an argument and passing that over to PendingIntent methods. This
change should clear up the noise.

Bug: 160794467
Test: Errorprone builds should no longer show these as violations
Exempt-From-Owner-Approval: Trivial warning suppression
Change-Id: I8ae309fd53140718d41f4d3b94f92e111cdd8955
2020-10-14 21:35:06 +00:00
Pinyao Ting
f7d857c0b6 [automerger skipped] remove sensitive pii from safetynet logging am: 1d50760050 am: 05aa149771 -s ours
am skip reason: Change-Id I8f1be55971672c7e8f5aa8848f65b1b9d9f40fb5 with SHA-1 3b6905bf6a is in history

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

Change-Id: I61136b933b07b4cc1b64aa41cd7dcca947ca9c40
2020-10-14 21:26:48 +00:00
Philip P. Moltmann
ad9467332c Merge "fix broadcast receivers overflow for system_server" am: 9ba1a0d576
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1339995

Change-Id: I21973fa539299a967dc78161a57fa467a99912c3
2020-10-14 21:14:15 +00:00
Pinyao Ting
05aa149771 remove sensitive pii from safetynet logging am: 1d50760050
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12840255

Change-Id: Ib0ac7db188517174efc7c1dd8d477142f3c9f579
2020-10-14 21:12:17 +00:00
Eugene Susla
4587809e21 Merge "Expose get/set notification listeners as a @SystemAPI" 2020-10-14 21:10:06 +00:00
Philip P. Moltmann
9ba1a0d576 Merge "fix broadcast receivers overflow for system_server" 2020-10-14 20:55:14 +00:00
TreeHugger Robot
6312580f8c Merge "Refactor BasePermission.generatePermissionInfo()." 2020-10-14 20:45:13 +00:00
Mark Goldstein
d5726423ca Doc: Fix typo the right way. Supersedes cl/318172931
Bug: 170764224

Change-Id: Iaef1aa4fd3143e6e9019d06834001b3bfa3d887d

Exempt-from-owner-approval: Docs-only typo fix
2020-10-14 20:38:09 +00:00
Amy Zhang
a0267d540a Merge "Add context id setter in the IpFilterConfiguration" 2020-10-14 20:36:46 +00:00
TreeHugger Robot
fe75fc5642 Merge "Fix stack education showing every time" 2020-10-14 20:24:48 +00:00
Songchun Fan
c6924e6861 [pm/incremental/api] exposing package state names and reasons
We would like to expose package states and unstartable reasons to public
APIs. Two main users will be:
1) sys UI, which will display alert windows on top of a foreground app
when the package becomes unstartable, with different contents in the alert
window based on the reason code.

2) Play Store, which will collect package state change information which
will be used to determine future package delivery strategies.

Test: will add CTS tests.
BUG: 162600626
CTS-Coverage-Bug: 168925819
Change-Id: I71bafb36b230ea93b34e8556b57563e4ba3b837d
2020-10-14 20:18:08 +00:00
Kevin Chyn
3ab2454324 Merge "5/n: Add AuthenticationClient for IFingerprint" 2020-10-14 20:04:01 +00:00
Brad Ebinger
36124ac472 Merge "MMS APIs rely on resolveSubscriptionForOperation()" am: e0ae42884d am: 12d3218ef3 am: b7fd7db377 am: 9866c9051a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1456127

Change-Id: I7e4e0f1835516e00d180c42807b1cc887710cda3
2020-10-14 20:01:27 +00:00