Commit Graph

104777 Commits

Author SHA1 Message Date
TreeHugger Robot
3aac79bd05 Merge "Get the instance count as the initial value" into rvc-dev am: d5fb11a761
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11473225

Change-Id: Id7f1364cf789acb458d158616174e23653a9269c
2020-06-05 03:36:55 +00:00
TreeHugger Robot
d5fb11a761 Merge "Get the instance count as the initial value" into rvc-dev 2020-06-05 03:34:32 +00:00
Amy Zhang
96b40c3613 Merge "Expose necessary SystemApi as test API for CEC CTS" into rvc-dev am: a7dc4defd3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11625493

Change-Id: I6e2a47711651d9902bc05bf96f5b3ef780ec3630
2020-06-05 02:56:20 +00:00
Charles Chen
84bf8d437c Merge "Make InputMethodService be an UI context" into rvc-dev am: f3a7bc8e31
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11700778

Change-Id: I9950fd52ff633983e7b3325ba528fb35fc901968
2020-06-05 02:55:45 +00:00
Amy Zhang
a7dc4defd3 Merge "Expose necessary SystemApi as test API for CEC CTS" into rvc-dev 2020-06-05 02:49:54 +00:00
Charles Chen
f3a7bc8e31 Merge "Make InputMethodService be an UI context" into rvc-dev 2020-06-05 02:40:17 +00:00
Charles Chen
d74aad1eaf Merge "Add an incorrect context violation on GestureDetector" into rvc-dev am: f843a85226
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11593841

Change-Id: I822cebb05569beec5ce230715fa30a2a9b9f53d8
2020-06-05 02:21:22 +00:00
Charles Chen
f843a85226 Merge "Add an incorrect context violation on GestureDetector" into rvc-dev 2020-06-05 02:08:48 +00:00
Jeff Sharkey
26f1e23340 Merge "Logging to aid bug investigation." into rvc-dev am: bb9ea4e1fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11745078

Change-Id: Iac93d71dce312d955d76ca7b6b011720ccb5e7f0
2020-06-04 23:51:07 +00:00
Jeff Sharkey
bb9ea4e1fa Merge "Logging to aid bug investigation." into rvc-dev 2020-06-04 23:47:14 +00:00
Jeff Sharkey
0a8e32c124 Logging to aid bug investigation.
We're trying to figure out where volumes are disappearing.

Bug: 158059178
Test: none
Change-Id: I68959f0a163e2fece13fcb08a6c9f55ec1beb0f6
2020-06-04 17:35:38 -06:00
Matt Pietal
3c731d4928 Merge "Controls UI - Handle 'not found' better" into rvc-dev am: 8761fbb501
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11738038

Change-Id: I97687ddc6194d0e76313e6935cfec9920f4492ce
2020-06-04 23:32:59 +00:00
Matt Pietal
8761fbb501 Merge "Controls UI - Handle 'not found' better" into rvc-dev 2020-06-04 23:22:54 +00:00
TreeHugger Robot
3f7b358868 Merge "Add permission requirement" into rvc-dev am: 2ea259c04e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11727209

Change-Id: Ib783ef840e9b3512e9fe93d6cdc9031c55ec6ebc
2020-06-04 22:37:32 +00:00
TreeHugger Robot
2ea259c04e Merge "Add permission requirement" into rvc-dev 2020-06-04 22:29:09 +00:00
Matt Pietal
370db8771d Controls UI - Handle 'not found' better
Show a more informative error to the user on touch/long press about
how to handle this situation. Properly animate status changes.

Fixes: 154737944
Test: TYPE_DISPLAY in mock app simulates not found error
Change-Id: I15ce2d2621ea29c97936f9d9022d917637693288
2020-06-04 17:20:42 -04:00
Amy Zhang
e151e60843 Expose necessary SystemApi as test API for CEC CTS
This CL annotates multiple APIs in the HdmiControlManager as Test APIs.
Also creates a Test api wrapper for aidl interface IHdmiControlService.
HdmiPortInfo is the param under test that is also annotated as Test API.

Test: atest android.hardware.hdmi.cts
Bug: 155113872
Change-Id: I58b483eaaa5fe08f90415a7e044c30a28dc7d7c2
2020-06-04 13:47:37 -07:00
Felipe Leme
0a8e4234ad Merge "Removed Settings.Global.LAST_ACTIVE_USER_ID." into rvc-dev am: 3bf4ec139b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11723878

Change-Id: I63c23432a6411e580449ff53e3be2fa7194638ac
2020-06-04 19:17:59 +00:00
Felipe Leme
3bf4ec139b Merge "Removed Settings.Global.LAST_ACTIVE_USER_ID." into rvc-dev 2020-06-04 19:13:20 +00:00
Nick Chalko
1ce1702e90 Merge "CEC: Add listener for HDMI CEC volume control feature" into rvc-dev am: 75ef06daa5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11246196

Change-Id: Ibf2ba76de1e0b162230af06c134179154cdd1c7f
2020-06-04 19:11:30 +00:00
Nick Chalko
75ef06daa5 Merge "CEC: Add listener for HDMI CEC volume control feature" into rvc-dev 2020-06-04 19:03:05 +00:00
TreeHugger Robot
eaf090e664 Merge "Fix up discrepancies between v1 and v2 package parsing" into rvc-dev am: 9f15ba2e1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11688819

Change-Id: I16d7715f9392649329a90ec2e04f5b9a44978938
2020-06-04 18:25:06 +00:00
TreeHugger Robot
9f15ba2e1a Merge "Fix up discrepancies between v1 and v2 package parsing" into rvc-dev 2020-06-04 18:12:56 +00:00
TreeHugger Robot
0cba355c41 Merge "VirtualDisplayTaskEmbedder: Post background color change callback" into rvc-dev am: 5c53f0af8b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11726785

Change-Id: I19903b4a4acafb3e7824dffc0c4a429d950f6f51
2020-06-04 15:41:55 +00:00
TreeHugger Robot
5c53f0af8b Merge "VirtualDisplayTaskEmbedder: Post background color change callback" into rvc-dev 2020-06-04 15:28:56 +00:00
Riddle Hsu
d8eb1df3d7 Merge "Override application display adjustments while launching activity" into rvc-dev am: 1421b3dace
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11716091

Change-Id: Id9c1d43e6d117ac77f1917642cf12c2799a6f747
2020-06-04 06:29:07 +00:00
Riddle Hsu
1421b3dace Merge "Override application display adjustments while launching activity" into rvc-dev 2020-06-04 06:20:45 +00:00
Vinit Nayak
b0d73832e3 Merge "Add new callback for when activity rotates" into rvc-dev am: 38dbc97939
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11396809

Change-Id: I16d2689f35a21899955b9913e34c373d2a2954b6
2020-06-04 04:33:03 +00:00
Vinit Nayak
38dbc97939 Merge "Add new callback for when activity rotates" into rvc-dev 2020-06-04 04:21:10 +00:00
Eugene Susla
5ec84ee3a3 Merge "Deprecate docs for auto revoke manifest and Intent APIs" into rvc-dev am: c43f49dfc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11722408

Change-Id: Ibe454019a44a84252ce7a06e042ad7769670d188
2020-06-04 01:22:39 +00:00
Eugene Susla
c43f49dfc4 Merge "Deprecate docs for auto revoke manifest and Intent APIs" into rvc-dev 2020-06-04 01:08:10 +00:00
Jack Yu
74f7d0ffda Merge "Store ETWS primary information in the database" into rvc-dev am: dc9e545bd1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11712801

Change-Id: I49aaee5a46645a554989cd5f1332606f7dda0d0f
2020-06-04 00:54:08 +00:00
Peiyong Lin
f7acfa876c Merge "Allow to load implicit layer from /vendor/app." into rvc-dev am: 1371b76afd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11688191

Change-Id: I9c2d8ff45956fd8c6b922d2dc13272b6c1711ee5
2020-06-04 00:53:46 +00:00
Jack Yu
dc9e545bd1 Merge "Store ETWS primary information in the database" into rvc-dev 2020-06-04 00:46:07 +00:00
Peiyong Lin
1371b76afd Merge "Allow to load implicit layer from /vendor/app." into rvc-dev 2020-06-04 00:40:15 +00:00
Jack Yu
43b2bf71a5 Add permission requirement
Fixed the API comment

Fix: 158111427
Test: Build
Change-Id: I2c4754ca4dd8f38eae70dc572d06045cb2949efa
2020-06-03 17:36:12 -07:00
Robert Carr
e52f809126 VirtualDisplayTaskEmbedder: Post background color change callback
Otherwise we will end up calling SurfaceView#setResizeBackgroundColor
from a Binder thread and potentially cause a crash. This mirrors the
behavior of TaskOrganizerTaskEmbedder.

Bug: 157605189
Test: Existing tests pass
Change-Id: Iafe9e4c3eb4d32a52a6a1479aa9a2b295cd4ad6f
2020-06-03 15:41:34 -07:00
Peiyong Lin
eb1c5a4c28 Allow to load implicit layer from /vendor/app.
Currently when loading implicit layers from apks, NativeLoaderNamespace
doesn't allow to dlopen the binaries if they come from apks from
/vendor/app. Implicit layers ship within /vendor/app should work like
other implicit layers. This patch extracts the construction of library
paths of the implicit layers and includes those paths when
NativeLoaderNamespace is created as the part of the permitted library
paths.

Bug: b/157832445
Test: atest android.gputools.cts.CtsRootlessGpuDebugHostTest
Test: setup debug layer and use adb logcat to check vulkan loader output
Change-Id: Ie2ca989bcab890578b5aa540d07f2aee2a0182bd
2020-06-03 21:30:08 +00:00
Jack Yu
059be24240 Store ETWS primary information in the database
ETWS primary/secondary flag needs to be saved in the
database in order to perform duplicate check later. Used the
hardcoded database column name because Android R API freezes.
Will remove the hardcode in the next Android release.

Fix: 157699377
Test: CtsTelephonyTestCases & CellBroadcastServiceTests
Change-Id: Iedec92a1f435f60ceb9f36637a1718adbbd7e2ae
2020-06-03 21:18:54 +00:00
Eugene Susla
c7cae60a64 Deprecate docs for auto revoke manifest and Intent APIs
Test: presubmit
Bug: 153607914
Change-Id: I9c8d0aa1432ca00b729f19749e751cb117374b0a
2020-06-03 13:46:00 -07:00
Robert Snoeberger
10ec898b25 Merge "Revert "Exception if receive move withouth down"" into rvc-dev am: b1d2c79448
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11694777

Change-Id: I36fcbb6dde614e332a88805827e1eabcf2356b96
2020-06-03 20:20:01 +00:00
Robert Snoeberger
b1d2c79448 Merge "Revert "Exception if receive move withouth down"" into rvc-dev 2020-06-03 20:17:09 +00:00
Robert Snoeberger
0ef6f01bd1 Revert "Exception if receive move withouth down"
This reverts commit a0a20dc23b.

Reason for revert: This is causing a number of fatal crashes in SystemUI. See b/158081578, b/158057055, b/158060735, and b/158061923.

Fixes: 158081578
Fixes: 158057055
Fixes: 158060735
Fixes: 158061923
Change-Id: If7e6cd4ade3df540ba7d97d9265564132a235292
2020-06-03 20:15:44 +00:00
Felipe Leme
4bf9bc6ab0 Removed Settings.Global.LAST_ACTIVE_USER_ID.
This property was only used by Automotive and was added on frameworks/base
because it used be accessed by a class on frameworks/opt/services/car, but
it's now only accessed under packages/services/car (so it was moved to
CarSettings).

Test: atest SettingsBackupTest
Bug: 156567994

Change-Id: Idaff4a249600517c5250cd3821d75ce85fc9eeee
2020-06-03 12:34:07 -07:00
Vinit Nayak
66bf45ffa8 Add new callback for when activity rotates
Launcher needs to distinguish display changes
that result naturally vs apps that launch
in a fixed portrait/landscape rotation during
the quickstep gesture.This callback helps anticipate
if a subseqent onDisplayChanged() will
have resulted from a natural rotation or not.

Bug: 154580671
Change-Id: I59ee7985a9f367e8fc5826c08476c1a25d1426b0
2020-06-03 10:55:42 -07:00
TreeHugger Robot
5c14c53394 Merge "Fix a bug to handle the touch ACTION_DOWN properly when inline suggestion view is obscured" into rvc-dev am: 931c0ce463
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11712623

Change-Id: I2f5d69c14649e80c870d43f731badd7442d8dffb
2020-06-03 17:44:17 +00:00
TreeHugger Robot
931c0ce463 Merge "Fix a bug to handle the touch ACTION_DOWN properly when inline suggestion view is obscured" into rvc-dev 2020-06-03 17:37:21 +00:00
TreeHugger Robot
bedf7e5161 Merge "webkit: add a note regarding FLAG_SECURE for default dialogs" into rvc-dev am: f7484457cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11617993

Change-Id: I8004b435177750c5b3364dfd4ccbaf71121841d4
2020-06-03 17:31:59 +00:00
Zhen Zhang
934f9fafe3 Merge "Allow low ram device to have multiple users and managed profies" into rvc-dev am: 2260f7102f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11667418

Change-Id: I4da2988bb257d6d3aeac9a43e9e78aa766cd6f99
2020-06-03 17:31:35 +00:00
TreeHugger Robot
f7484457cd Merge "webkit: add a note regarding FLAG_SECURE for default dialogs" into rvc-dev 2020-06-03 17:23:26 +00:00