Commit Graph

640958 Commits

Author SHA1 Message Date
Steven Moreland
16d2ddd830 libhwui: AnimatedImageThread fix 'UAF' nits
nits from UAF CL:
- we don't need to be careful about destroying this thread
- overly verbose return

Bug: 186468053
Test: N/A
Change-Id: I96b3c5b038529341381865cbd5784ac54ba2fc9e
2021-04-27 20:29:32 +00:00
Yi Jiang
c9be3d120f Cleans up lagecy annotations
Bug: 175334753
Test: None
Change-Id: Id8d60e7bd282a4efcea4eebd4de536e3c4cd63fc
2021-04-27 13:23:18 -07:00
Alan Hurney
8a94148a85 Merge "Load Constellation FTEU ShortCodes 20201" am: 9974b955e5 am: 97ef4addca
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1679495

Change-Id: I27f74571b4c13db1a322d8e180966090a36c4b9a
2021-04-27 20:12:36 +00:00
Stevie Kideckel
cda49ca089 Merge "Fix some potential nullability issues in RemoteViews" into sc-dev 2021-04-27 20:10:27 +00:00
Fabian Kozynski
09fa345cb2 Don't clip tiles as pages as scrolled
Test: manual
Fixes: 186536987
Change-Id: I70365e52c09f634a4ba9c62a84e3d39c412333b7
2021-04-27 15:59:25 -04:00
John Reck
3aa5a8fb72 Merge "Fix that CSL cache hits produce bad drawables" into sc-dev 2021-04-27 19:59:13 +00:00
Yan Yan
e1d6b0872f Merge "Remove TunnelConnectionParams interface" am: b8f67d1bd7 am: b1578de55a am: 92154c7465
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684427

Change-Id: I546b7eecca41d2a745b65f67961a2634be29609f
2021-04-27 19:51:26 +00:00
Chris Li
4bc72c96db Merge "Fix EnterSplitScreenNotSupportNonResizable flaky" into sc-dev 2021-04-27 19:50:35 +00:00
Alan Hurney
97ef4addca Merge "Load Constellation FTEU ShortCodes 20201" am: 9974b955e5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1679495

Change-Id: If1d8ec1c0be840d10c9d338bb6060ce94bb57a54
2021-04-27 19:48:21 +00:00
Julia Reynolds
7ed5b586d6 Notifs need small icons to be in the notif history
Because they need them to appear in the shade

Test: atest
Fixes: 186290531
Change-Id: I95892ce746fce3f3f40e4982d206784b95b0357d
2021-04-27 19:47:46 +00:00
Dave Mankoff
0e78c72a12 Merge "Ensure that the FalsingManager skips falsing when appropriate." into sc-dev 2021-04-27 19:45:55 +00:00
Yan Yan
92154c7465 Merge "Remove TunnelConnectionParams interface" am: b8f67d1bd7 am: b1578de55a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684427

Change-Id: I59c4fdda3f3dcedcf94bdb6bdc826ec64bb78370
2021-04-27 19:32:49 +00:00
Jeff DeCew
ac431bc027 Merge "Change icon alignment for collapsed Conversation groups" into sc-dev 2021-04-27 19:26:55 +00:00
Jeff DeCew
7c45939481 Merge "Fix initial visibility of RemoteInputView causing bad padding below actions." into sc-dev 2021-04-27 19:25:11 +00:00
Leon Scroggins
bc4e5c6c66 Merge "AImageDecoder: only support animation for F16 and 8888 (impl)" into sc-dev 2021-04-27 19:22:23 +00:00
Jeff DeCew
9bb01fdbe7 Enable new shade features in AOSP
Bug: 186403135
Bug: 186117823
Test: manual tesing, including pure aosp build
Change-Id: Ia76f94a26992acb5e407fef4a7d1c6e01b409b1c
2021-04-27 15:16:42 -04:00
Alan Hurney
9974b955e5 Merge "Load Constellation FTEU ShortCodes 20201" 2021-04-27 19:10:53 +00:00
Chris Ye
fcffd552d2 Change the brackets in Arabic keyboard layout.
Change the brackets in Arabic keyboard layout to be consistent with RTL
layout.

Bug: 178953618
Test: Connect a physical keyboard, and choose "Arabic" keyboard layout.
Change-Id: I0e892a643ba28622c042973ecbc37e136d7f9e23
2021-04-27 19:02:21 +00:00
Adam He
50a637b1e5 Changed createOnDeviceTranslator to be asynchronous with callback.
Bug: 176208267
Test: atest CtsTranslationTestCases
Change-Id: Icedc953611e70dc208cbef54b4e459ebb0ccd5a9
2021-04-27 11:56:30 -07:00
Brad Ebinger
33866688e6 Merge "Add String Map for Message Failure causes" am: 53c985aa19 am: 1dc1e1af79 am: c812be6147
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1663522

Change-Id: Ib3a55d55d5359ed02b6e04722f68f25fc19bbaff
2021-04-27 18:56:05 +00:00
Yan Yan
b1578de55a Merge "Remove TunnelConnectionParams interface" am: b8f67d1bd7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1684427

Change-Id: I2e1a6d8c02e5208e99ce6387d18062fecb2e9a6d
2021-04-27 18:54:32 +00:00
TreeHugger Robot
1632dd9610 Merge changes Id51293db,Ib7586997 into sc-dev
* changes:
  Tests for media player on the left side on lockscreen in split shade mode
  Moving media player in split shade mode on the lockscreen to the left side
2021-04-27 18:41:29 +00:00
Brad Ebinger
c812be6147 Merge "Add String Map for Message Failure causes" am: 53c985aa19 am: 1dc1e1af79
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1663522

Change-Id: I136fbd995ab64709ae15cb1a89e18d53895685ea
2021-04-27 18:36:28 +00:00
Yan Yan
b8f67d1bd7 Merge "Remove TunnelConnectionParams interface" 2021-04-27 18:34:08 +00:00
Fabian Kozynski
c28fe4101f Merge "New SecurityFooter design" into sc-dev 2021-04-27 18:28:32 +00:00
Fabian Kozynski
c94934404b Use full height (-navbars) for QS
When QS is expanded, it should use full height, so the background covers
the full screen

Test: manual
Fixes: 186427047
Change-Id: Ia7379ce24957b3f98a6c2c0f7f58d4579b295094
2021-04-27 14:27:25 -04:00
Cecilia Hong
602b54fd4c Merge "Add click logging for Smartspace media recommendation card." into sc-dev 2021-04-27 18:24:41 +00:00
Emilian Peev
21b1302c51 Camera: Support advanced extensions
Bug: 179819443
Test: Camera CTS
Change-Id: Ia14f7b4ad40e354b1a433000b1731e648f6398bd
2021-04-27 11:23:33 -07:00
Yuri Lin
acbca16cfa Use an iterator in removeChannelNotifications rather than index.
The index-based implementation is buggy because if an element is removed from the list, the current index will be incorrect, thus both skipping over an element and potentially running off the end of the list.

This change also modifies ArchiveTest to test these edge cases.

Test: atest ArchiveTest (before & after change)
Bug: 186473453

Change-Id: I1611aa6d3630beef60f916d59a76c7976f1648d2
2021-04-27 18:16:51 +00:00
Brad Ebinger
1dc1e1af79 Merge "Add String Map for Message Failure causes" am: 53c985aa19
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1663522

Change-Id: I648379c0fc0eada85ced2eca1b91bcbc063a5c9d
2021-04-27 18:15:02 +00:00
TreeHugger Robot
f10473c64c Merge "Fix NPE on VibratorInfo.getPrimitiveDuration" into sc-dev 2021-04-27 18:12:51 +00:00
Steven Moreland
8fad5d86b9 Merge "libhwui: AnimatedImageThread - UAF" into sc-dev 2021-04-27 18:12:32 +00:00
David Drysdale
390dbd728a Merge "Align KeyMint AIDL with usage" am: 6b8f292b17 am: eb393d45f0 am: 3a19c2f0fc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1682041

Change-Id: I49b837ec97c427131c40fe9a4b88d5383cceb65b
2021-04-27 18:06:44 +00:00
TreeHugger Robot
89126b252c Merge "Add debug log for showSoftInput" into sc-dev 2021-04-27 18:02:04 +00:00
Torne (Richard Coles)
83d73c2eb4 Document WebViewDelegate.getTimestamps() better.
Specify that the values are @ElapsedRealtimeLong and document the
entries in the array via the index constants.

Fixes: 184786485
Bug: 184026615
Test: n/a
Change-Id: I26e3df80e79b14d2301e28da93f7814bc67bdb6a
2021-04-27 13:58:49 -04:00
Beverly
f6346f4513 Support touchExplorationEnabled on udfps
- When touchExplorationEnabled, touch events become hover events. This
updates UdfpsController to handle hover events so the user can still
authenticate when a11y options are enabled
- Update UdfpsView contentDescription
- Update LockIconViewController labels to support a11y

Test: manual
Bug: 185912108
Change-Id: Ic9590607105459506f8ce5d4d73f779853f1ed31
2021-04-27 13:58:44 -04:00
Ilya Matyukhin
bbddf477af Merge changes I165d67bd,I4442db15 into sc-dev
* changes:
  Notify AuthController when fingerprint providers are ready
  Consolidate registration of HIDL and AIDL HALs
2021-04-27 17:50:35 +00:00
Brad Ebinger
53c985aa19 Merge "Add String Map for Message Failure causes" 2021-04-27 17:47:22 +00:00
Siim Sammul
58f933471d Add a version of SettingsObserver to BinderCallsStats and make it public so it could be
used to collect binder latency data from bluetooth and telephony.

Test: latency collection is unit tested, this is just an alternative settings configuration
Bug: 180584913
Change-Id: Ide51afb7eb26a96c7692bceb0a22585a74f08aa7
2021-04-27 18:47:00 +01:00
Julia Reynolds
fd89965284 Merge "Restrict alarm broadcast" into oc-mr1-dev am: 3b0fc6bd38 am: d749dc3510
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14103469

Change-Id: I7b6b2e75984b4b643f51750f9ac8c8f2a59ef0db
2021-04-27 17:42:52 +00:00
David Drysdale
3a19c2f0fc Merge "Align KeyMint AIDL with usage" am: 6b8f292b17 am: eb393d45f0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1682041

Change-Id: I0fac9054cf9432bdac30fe3d4b4934b1dae5c61f
2021-04-27 17:41:13 +00:00
Paul Crowley
336b5db809 Tell keystore which SIDs can unlock this user
If biometric unlock is enabled, we tell keystore at lock time so that
a key can be set up in KM which unlocks UNLOCKED_DEVICE_REQUIRED keys
based on auth tokens carrying those SIDs. This also has the effect that
if there is no biometric unlock, UNLOCKED_DEVICE_REQUIRED keys have
full cryptographic protection, per NIAP requirements.

Test: aosp/1686345
Bug: 163866361
Change-Id: Ia4d01faa998c76b2b33ad3520730466ac59e6d8d
2021-04-27 10:34:33 -07:00
Paul Crowley
4459123d49 Use UserHandle.myUserId() to look up user
BiometricManager runs in the app, not in system server, so use
the appropriate call to look up the current user.

Test: aosp/1686345
Bug: 163866361
Change-Id: I10c1ddacf14bd6b77ecfc1cb8235c42b8a7fbcfe
2021-04-27 10:34:33 -07:00
[6;7~
6e14fdc46b Specify UID in getAuthenticatorIds
Allow the caller to get authenticator IDs for a specific UID. If
that UID is not the caller UID the USE_BIOMETRIC_INTERNAL permission
is required; this is enforced by AuthService.

Test: aosp/1686345
Bug: 163866361
Merged-In: I0eef28ecefb85f1c10a73a354d08c38087d59814
Change-Id: I0eef28ecefb85f1c10a73a354d08c38087d59814
2021-04-27 10:34:32 -07:00
Siim Sammul
909042e9a4 Merge "Enable binder latency collection from system_server for dogfood." into sc-dev 2021-04-27 17:32:02 +00:00
Stanislav Zholnin
c5f09f687b Bug fixes and testing support for DiscreteRegistry
Fixed following bugs:
- in certain cases deduplication could fail
- while requesting discrete ops, beginTimeMillis parameter was
  ignored
- device_config parameters above guardrails were
  still applied after reboot

Added support tests (coming in next CL):
- ability to offsetHistory for test
- ability to change quantization parameter to any value for tests

Test: coming in next CL
Bug: 183238944
Bug: 183239281
Bug: 176965672
Change-Id: I838a7897058b38aa0957a3666d4b37a5378e36be
2021-04-27 18:31:30 +01:00
TreeHugger Robot
31cb707f00 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into mainline-prod am: db64c6d9a6 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I2ebb9787834b81299e4902a1e369b3adc7986b09
2021-04-27 17:25:17 +00:00
Julia Reynolds
d749dc3510 Merge "Restrict alarm broadcast" into oc-mr1-dev am: 3b0fc6bd38
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14103469

Change-Id: I2a933b691bfc17ed88f60e21c1083bc947d5b329
2021-04-27 17:24:27 +00:00
David Drysdale
eb393d45f0 Merge "Align KeyMint AIDL with usage" am: 6b8f292b17
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1682041

Change-Id: Ifbfee047de1cd0abb68723ede408658286cfae0a
2021-04-27 17:12:14 +00:00
TreeHugger Robot
564ef6e7e0 [automerger skipped] Merge "Import translations. DO NOT MERGE ANYWHERE" into rvc-qpr-dev am: d26d62e3af -s ours am: cb2afcb262 -s ours
am skip reason: subject contains skip directive

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

Change-Id: I1d2e8519be7f70fb7ca7168317cad42fee9ccf65
2021-04-27 17:10:24 +00:00