Michal Olech
eacebb90f6
CEC: Add @CallbackExecutor to HdmiControlManager Listener methods
...
API guidelines recommend adding ability to set the executor
Bug: 156046799
Test: atest HdmiControlServiceTest
Change-Id: I1f6dde6efc498a112ac7da2c61c36fcc2afa6638
2020-07-01 15:28:41 +02:00
lesl
2c8cee82f5
wifi: Add supported channel list in SoftApCapability
...
Support API: get current supported channel list
Bug: 151189102
Test: atest frameworks/base/wifi/tests
Change-Id: I2decc0764243fb61e3b42b83eb04f83fab2270db
2020-06-29 16:54:47 +08:00
Sally Yuen
798d4cbf68
Merge "Unhide global action constants"
2020-06-26 17:08:04 +00:00
Jorim Jaggi
067e04be4d
Merge "Pass in callsite of SurfaceControl constructor explicitly (1/3)"
2020-06-26 16:19:04 +00:00
Changwan Ryu
02f44fdb96
Merge "[WebView] Listen to window insets change"
2020-06-26 16:13:26 +00:00
Jorim Jaggi
543db32125
Pass in callsite of SurfaceControl constructor explicitly (1/3)
...
Creating a new Throwable (and filling in the stack trace) can take
up to 150us. Since we do this on the critical path when sending
over SurfaceControl via binder multiple times, this is too much.
Instead, add an option to pass in callsite manually.
Bug: 159056748
Change-Id: I46c339c15a07192d61c4c546e46f260684a47120
Exempt-From-Owner-Approval: Large scale refactor
2020-06-26 13:40:07 +00:00
Changwan Ryu
47c0a48089
[WebView] Listen to window insets change
...
Overriding these methods in preparation for notch and safe area implementation
for WebView.
A corresponding implementation for Chrome app does this:
https://source.chromium.org/chromium/chromium/src/+/master:components/browser_ui/widget/android/java/src/org/chromium/components/browser_ui/widget/InsetObserverView.java;l=179;drc=b17e62321db0f69a9131d3bb87ab9cef502a0eaf?originalUrl=https:%2F%2Fcs.chromium.org%2F
An alternative would be to call View#setOnApplyWindowInsetsListener(),
but that might not be as straightforward and might conflict with app's own
usage around windowinsets.
Returning null from a default implementation and use super method until
we can actually implement it in the chromium repo.
(Note: I would like to merge this to R if possible.)
Bug: 159610496
Test: CL does not break build/test.
Change-Id: Ic0421d7347e8091e02af6c9d5a24fdb334f37c47
2020-06-25 17:15:26 -07:00
Sally Yuen
f55b5b9620
Unhide global action constants
...
Bug: 158004529
Test: Builds
Change-Id: Ida65a458767417536975519b89afc2a81a9034e9
2020-06-24 18:03:41 +00:00
Svetoslav Ganov
3e38462491
Merge "Handle reperenting of InlineContentView" into rvc-dev am: f8b9ddea71 am: a962563758 am: bf50afcb4e am: e6e30d2948
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11907687
Change-Id: Id8c4a07af383ef3f58bad760b28fdb5a69dc3e03
2020-06-24 07:22:38 +00:00
Svetoslav Ganov
bf50afcb4e
Merge "Handle reperenting of InlineContentView" into rvc-dev am: f8b9ddea71 am: a962563758
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11907687
Change-Id: Ia18fc12a4015296d59985b376b159a1560717d90
2020-06-24 06:56:18 +00:00
Svetoslav Ganov
f8b9ddea71
Merge "Handle reperenting of InlineContentView" into rvc-dev
2020-06-24 06:28:59 +00:00
Svet Ganov
a5b4990d96
Handle reperenting of InlineContentView
...
When an inline content view is reparented its surface is
getting offset and not being under the view itelf. This is
because the surface views manage the postion of their
surface and are assuming a location based off the window's
surface position. However after a reparenting the inline
content view's surface position becomes relative to that
of the new parent surface view. For example, two surface
views at position (10, 10) being reparented would reslut
in the surface of the parent being at (10, 10) while the
surface of the child being at (20, 20) while both views
would still be at (10, 10).
To address this we are intecepting when an inline content
view's surface is reparented and get a weak reference to
the view that owns the new parent surface. We then position
the inline content view's surface relative to the view that
owns the new parent surface, i.e. we position the surface
such that its location would not change because of the
fact it is being reparented.
While at this make sure the inline content view is marked
as not important for a11y to ernsure the a11y plugins don't
try to click on the view tree in the app's process but
insted on the views in the remote proccess, i.e. on the
embedded view tree.
bug:153826463
Test: atest android.widget.cts.inline.InlineContentViewTest#testReparenting
Change-Id: I2cff4b88d404a740bc447668e948eabccad084d2
2020-06-24 06:27:17 +00:00
Joanne Chung
1a990d9656
Merge "Made AutofillId.withoutSession is testable." into rvc-dev am: 234a31e2f5 am: d199a42291
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11716078
Change-Id: I0310cca11efa125868f8f3a981912874e38a1110
2020-06-23 23:10:58 +00:00
Joanne Chung
234a31e2f5
Merge "Made AutofillId.withoutSession is testable." into rvc-dev
2020-06-23 22:56:59 +00:00
TreeHugger Robot
9bc8e57bbe
Merge changes from topic "featureIdCleanup"
...
* changes:
Do not allow invalid attribution tags
Remove legacy support for "featureId".
2020-06-23 16:20:57 +00:00
Joanne Chung
24abde551e
Made AutofillId.withoutSession is testable.
...
We add new test in stage-aosp-rvc-ts-dev for R2, we need make this API
testable.
Bug: 156408900
Test: atest android.autofillservice.cts.inline.\
InlineAugmentedWebViewActivityTest
Change-Id: I27d1227f858aac83b3de1cb8ef719edf177524dc
Merged-In: I27d1227f858aac83b3de1cb8ef719edf177524dc
2020-06-23 00:38:40 +00:00
Galia Peycheva
e01e83861b
Merge "Make config_assistantOnTopOfDream a TestApi" into rvc-dev am: 60d5549eda am: 991261951a am: 5b255ed02a am: 07ad38c1ca
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11931079
Change-Id: Ic97abe3f8434f4f894c7ecb654f7e1d158678197
2020-06-22 11:03:56 +00:00
Galia Peycheva
991261951a
Merge "Make config_assistantOnTopOfDream a TestApi" into rvc-dev am: 60d5549eda
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11931079
Change-Id: Ia2bcaf8dad86cc4f35211ba88e922a14af4c3ccb
2020-06-22 10:13:24 +00:00
Philip P. Moltmann
a51c2ef3ea
Do not allow invalid attribution tags
...
Fixes: 151105954
Test: atest CtsAppOpsTestCases
Change-Id: I2b210172bd042300cc8aa54edf3f68b6aa3420fe
2020-06-19 19:57:27 -07:00
Jack Yu
ca0f56c553
Merge "Removed the hardcoded database column string"
2020-06-19 17:23:32 +00:00
Galia Peycheva
ce6270f532
Make config_assistantOnTopOfDream a TestApi
...
Test: atest AssistantStackTests
Bug: 158117282
Change-Id: I154e8b7d3fbf842fa9f1bef82a59193550af5620
2020-06-19 16:25:58 +02:00
Jack Yu
322467efec
Removed the hardcoded database column string
...
Made the ETWS isPrimary column name a system API
Bug: 157699377
Test: CtsTelephonyTestCases & CellBroadcastServiceTests
Change-Id: Ic4c78a12fb7e85328e6dea31b927f5f39420fbea
2020-06-18 17:17:58 -07:00
Hall Liu
3293dd1e64
Merge "Mark TelecomManager#isRinging as a TestApi" am: 94091aceaa am: 1ab98f185e
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1340753
Change-Id: Ic643ef7b31f62a6771c1f1ba5aa0e4c0a16e7e0c
2020-06-17 01:34:55 +00:00
Hall Liu
ae6a918ba9
Mark TelecomManager#isRinging as a TestApi
...
Bug: 150320750
Test: atest BackgroundCallAudioTest
Change-Id: I048960feb97cd6cf081056ee649e7ea8dacdc8e3
Merged-In: I048960feb97cd6cf081056ee649e7ea8dacdc8e3
2020-06-16 16:52:24 -07:00
Les Lee
8d0299b31f
Merge "wifi: Add bssid in SoftApInfo"
2020-06-16 15:14:09 +00:00
Charles Chen
8f6b6dffe7
Merge "Trust System UI owned display to receive keys" into rvc-dev am: 94deecfda2 am: d09b0f10bf am: 8fccd6e144 am: a7050e9667
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11570100
Change-Id: I6fcea62dffe51d3cbc522beb8e63e90ab27fb6d1
2020-06-16 14:56:54 +00:00
Charles Chen
a7050e9667
Merge "Trust System UI owned display to receive keys" into rvc-dev am: 94deecfda2 am: d09b0f10bf am: 8fccd6e144
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11570100
Change-Id: I75db01ccbe3e051b0fe21522efe771387632e31f
2020-06-16 14:37:56 +00:00
Charles Chen
dd7e0fded2
Merge "Trust System UI owned display to receive keys" into rvc-dev am: 94deecfda2
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11570100
Change-Id: I93a7522c1ce94e379269b9a1a0de802916dcbb32
2020-06-16 14:14:14 +00:00
Les Lee
b80f93214e
Merge "wifi: Add bssid mac randomization control"
2020-06-16 07:03:27 +00:00
Charles Chen
b28fb721f5
Trust System UI owned display to receive keys
...
A11y service cannot get focus of bubbles because it's not a
System owned display. This patch makes System UI owned display
a trusted display. Moreover, this patch refactors the logic to
identify a trusted display by introducing FLAG_TRUSTED and
removes the trusted display check along with supportsSystemDecorations()
because the check has been included in supportsSystemDecorations().
fixes: 155823002
Bug: 152416787
Test: atest DisplayContentTests
Test: atest WindowFocusTests
Test: atest TaskDisplayAreaTests
Test: atest MultiDisplaySystemDecorationTests
Test: atest DisplayTest
Change-Id: Ie684c6488904e5aa8cae166a455c6d55455e5f55
2020-06-16 02:10:21 +08:00
lesl
29b7919239
wifi: Add bssid mac randomization control
...
Bug: 151189102
Test: atest frameworks/base/wifi/tests
Change-Id: I61db2a5d540fafd4cb8b2a05ddffc79538223417
2020-06-15 12:10:04 +08:00
lesl
83bdcefe4d
wifi: Add bssid in SoftApInfo
...
Support API: get current AP macaddress since
current AP macaddress might be ramdomized.
Bug: 151189102
Test: atest frameworks/base/wifi/tests
Change-Id: If3907521e4c98738480ed58d209e567f618466c9
2020-06-15 10:25:59 +08:00
Hall Liu
c6fc7c6ca8
Merge "Rename addServiceAnnouncement-related methods" am: 6f68b4bf53 am: c31fa35b94
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1311925
Change-Id: Ib3d1a0773170168cb3f2a1aa3c906d5a47286fe3
2020-06-12 23:14:46 +00:00
Hall Liu
6f68b4bf53
Merge "Rename addServiceAnnouncement-related methods"
2020-06-12 22:47:53 +00:00
TreeHugger Robot
80e217699f
Merge "Settings: make SHOW_IME_WITH_HARD_KEYBOARD TestApi" into rvc-dev am: 7883b53e28 am: 42c810bd0b am: 9d8332613a am: 9c0f429dc5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838104
Change-Id: I6cdaa006a7e8777f4fc48f55242f4eb20888bcff
2020-06-12 18:07:18 +00:00
TreeHugger Robot
9c0f429dc5
Merge "Settings: make SHOW_IME_WITH_HARD_KEYBOARD TestApi" into rvc-dev am: 7883b53e28 am: 42c810bd0b am: 9d8332613a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838104
Change-Id: I7179ff57b899a67561422a8cdfb97e60a655fc31
2020-06-12 17:45:34 +00:00
TreeHugger Robot
147c54f9a0
Merge "Settings: make SHOW_IME_WITH_HARD_KEYBOARD TestApi" into rvc-dev am: 7883b53e28
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11838104
Change-Id: If75d4ad04b34ec43542ade9b9589f359007bd10b
2020-06-12 17:16:51 +00:00
Adrian Roos
cb32080a8f
Settings: make SHOW_IME_WITH_HARD_KEYBOARD TestApi
...
Bug: 158637229
Test: atest WindowInsetsAnimationControllerTests
Change-Id: Ic4e1c97e728aa170670356db22d66677710ac2a3
2020-06-12 15:31:20 +02:00
Kweku Adams
7cca3d35c4
Merge "Remove deprecated method."
2020-06-10 15:26:28 +00:00
Adrian Roos
7e703b445e
API: Remove ViewDebug.ExportedProperty and CapturedViewProperty from current.txt
...
Bug: 144284873
Test: make checkapi
Change-Id: I99ed93e96f7465f1f7c9a32c3715a874055dc809
Merged-In: I99ed93e96f7465f1f7c9a32c3715a874055dc809
2020-06-09 15:18:10 +02:00
Adrian Roos
0f06c99d3a
API: Remove ViewDebug.ExportedProperty and CapturedViewProperty from current.txt
...
Bug: 144284873
Test: make checkapi
Change-Id: I99ed93e96f7465f1f7c9a32c3715a874055dc809
Merged-In: I99ed93e96f7465f1f7c9a32c3715a874055dc809
2020-06-09 15:14:18 +02:00
Adrian Roos
96cc26a21c
API: Remove ViewDebug.ExportedProperty and CapturedViewProperty from current.txt
...
Bug: 144284873
Test: make checkapi
Change-Id: I99ed93e96f7465f1f7c9a32c3715a874055dc809
2020-06-09 15:12:36 +02:00
Charles Munger
bc2260794c
Merge "Deprecate public PackageManager constructor." am: 2b745800a8 am: 061ce932ce am: d3c43f0789 am: b0f12b4b89 am: 981761c088
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1314369
Change-Id: I9922765a6d2355a488db34d32fec35a44bf8d564
2020-06-09 01:10:47 +00:00
Charles Munger
d3c43f0789
Merge "Deprecate public PackageManager constructor." am: 2b745800a8 am: 061ce932ce
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1314369
Change-Id: I232e22992440b51dcd41b77cc76e0db3dd83787e
2020-06-09 00:44:29 +00:00
Hall Liu
70afad6952
Rename addServiceAnnouncement-related methods
...
Address feedback on the API
Fixes: 155926142
Test: CTS
Change-Id: I69e17faf4d09ab686fdd97975bc7f069597b87b3
2020-06-08 16:32:47 -07:00
Charles Munger
e73a6a704e
Deprecate public PackageManager constructor.
...
BUG=63112905
Change-Id: I0277737eb9e683073f27d2ddea30c93f78ec4b91
2020-06-08 17:37:31 +00:00
Leon Scroggins
2abf550d14
Merge "Clean up ColorSpace.java"
2020-06-08 17:18:48 +00:00
Svetoslav Ganov
f74f28160d
Merge "Correctly offset app op history on reboot" into rvc-dev am: 0ce4fba38f am: d9f92e4666 am: deb797776a am: 2191f1c2e5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11747376
Change-Id: I4405ec52394c0093d0f37da512e5a2fd827a4e1b
2020-06-06 15:49:46 +00:00
Svetoslav Ganov
deb797776a
Merge "Correctly offset app op history on reboot" into rvc-dev am: 0ce4fba38f am: d9f92e4666
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11747376
Change-Id: Iba05ad9051487dfe285997e97b5075579602a88d
2020-06-06 15:21:45 +00:00
Svetoslav Ganov
2d56a15699
Merge "Correctly offset app op history on reboot" into rvc-dev am: 0ce4fba38f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11747376
Change-Id: I3cd684c2f48b456efe4831a1bcb1dbffa9857c8c
2020-06-06 15:06:03 +00:00