Commit Graph

487052 Commits

Author SHA1 Message Date
Jimmy Chen
45c29a38e3 Merge "wifi: add constant for OCSP field" into rvc-dev am: edddaef9a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11970311

Change-Id: I24d438b54afdaaeea3e85eec9ec3debc7df142ad
2020-06-24 08:05:13 +00:00
Jimmy Chen
edddaef9a8 Merge "wifi: add constant for OCSP field" into rvc-dev 2020-06-24 07:52:09 +00:00
TreeHugger Robot
a02b1f5764 Merge "tethering: offload: Netlink Req" into rvc-dev am: b7284f6015
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11970745

Change-Id: I70a9139123e5703607e2c011c7449e37880e78d5
2020-06-24 06:51:09 +00:00
TreeHugger Robot
b7284f6015 Merge "tethering: offload: Netlink Req" into rvc-dev 2020-06-24 06:46:47 +00:00
Kyunglyul Hyun
31353b7e2f Merge "MediaRouter: Defer releasing routing controller when transfer" into rvc-dev am: 82ff3f1472
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11593494

Change-Id: I34aba44e872645e8b5d53ddb8dfa0a5e61fd76db
2020-06-24 06:45:08 +00:00
Svetoslav Ganov
a962563758 Merge "Handle reperenting of InlineContentView" into rvc-dev am: f8b9ddea71
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11907687

Change-Id: I722c85801f7e967f33bf41e08c01f6f3561347fc
2020-06-24 06:44:24 +00:00
Kyunglyul Hyun
82ff3f1472 Merge "MediaRouter: Defer releasing routing controller when transfer" into rvc-dev 2020-06-24 06:41:39 +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
TreeHugger Robot
8521effb87 Merge "Remove the border around the icon when in dark mode" into rvc-dev am: c8c2bf13c5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11970660

Change-Id: I2bced2de37f5909f2e825d2813095584590e71ae
2020-06-24 06:02:44 +00:00
TreeHugger Robot
c8c2bf13c5 Merge "Remove the border around the icon when in dark mode" into rvc-dev 2020-06-24 05:53:07 +00:00
TreeHugger Robot
29c7295caf Merge "Release remove inline suggestion views when session destroyed" into rvc-dev am: 6e3a4d7625
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11972118

Change-Id: Iea1d860438282cc334f179f57eb9a8302500080e
2020-06-24 05:37:58 +00:00
Jing Ji
4673d8e38a Merge "Track the number of PendingIntent per UID" into rvc-dev am: cf084d5a4a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11955282

Change-Id: Ibc1fe87a8add36bd1c87aec2abcdb337c0755cb7
2020-06-24 05:37:34 +00:00
TreeHugger Robot
6e3a4d7625 Merge "Release remove inline suggestion views when session destroyed" into rvc-dev 2020-06-24 05:31:34 +00:00
Jing Ji
cf084d5a4a Merge "Track the number of PendingIntent per UID" into rvc-dev 2020-06-24 05:28:28 +00:00
Lorenzo Colitti
67d68b3245 Merge "Tethering: Add WiGig support" into rvc-dev am: 7852107b29
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11953638

Change-Id: I6ceddc20bdec83e23039b9566187c3cbaff79176
2020-06-24 04:41:15 +00:00
Lorenzo Colitti
7852107b29 Merge "Tethering: Add WiGig support" into rvc-dev 2020-06-24 04:29:07 +00:00
Lorenzo Colitti
8c2e6b8a28 tethering: offload: Netlink Req
Send netlink request over fd for offload config before
completing init sequence. Provides existing conntrack
entries to IPA. Resolves issue where there are NAT
misses in IPA due to IPA only having the conntrack
entries added after tethering starts.

Bug: 149109043
Test: OffloadHardwareInterfaceTest
Original-Change: https://android-review.googlesource.com/1290954
Merged-In: Iaf3e847e92f205b55f10fa85c17b9f3995d52099
Change-Id: Iaf3e847e92f205b55f10fa85c17b9f3995d52099
2020-06-24 04:21:47 +00:00
Tiger Huang
4c3dac8019 Merge "Disable user animations on insets whose visible frame is empty (refined)" into rvc-dev am: 77190b77f6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11908304

Change-Id: I398826e9bd5398c390ba1063cded55b3809d19b1
2020-06-24 04:02:33 +00:00
Tiger Huang
77190b77f6 Merge "Disable user animations on insets whose visible frame is empty (refined)" into rvc-dev 2020-06-24 04:00:09 +00:00
TreeHugger Robot
f4962c4443 Merge "Fix possible NPE" into rvc-dev am: c3260a4c39
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11978927

Change-Id: I86373c421850f03ae9f252b25ba1a049afea27af
2020-06-24 03:50:54 +00:00
TreeHugger Robot
c3260a4c39 Merge "Fix possible NPE" into rvc-dev 2020-06-24 03:48:07 +00:00
Hugh Chen
a7c94ad0e6 Remove the border around the icon when in dark mode
Use same color with background to draw the border color
when in dark mode.

Bug: 159757430
Test: manually test
Change-Id: Ice5bb3f06a4d90ef738fe51da2d7d55e8d2f530a
2020-06-24 11:43:44 +08:00
Charles Chen
e3138eca89 Merge "Enable IMS and its config context to obtain UI component" into rvc-dev am: 8655743001
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11818544

Change-Id: Id863e46abfc8330f089b70af02cb356c9fec7320
2020-06-24 03:37:27 +00:00
Charles Chen
8655743001 Merge "Enable IMS and its config context to obtain UI component" into rvc-dev 2020-06-24 03:33:53 +00:00
Tony Huang
e60b3fc4f1 Merge "Only add divider when it need to show" into rvc-dev am: c27a155d63
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11926259

Change-Id: I2c27d63a31ad0531d9375ae392423102ae0087bb
2020-06-24 03:31:18 +00:00
Tony Huang
c27a155d63 Merge "Only add divider when it need to show" into rvc-dev 2020-06-24 03:17:13 +00:00
TreeHugger Robot
9551b9ad72 Merge "Show secondary home handle in immersive apps" into rvc-dev am: babd08b5b1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11932144

Change-Id: Ia2d58aafc4d0e4a45535a3869229c64cf75971f6
2020-06-24 02:51:09 +00:00
TreeHugger Robot
babd08b5b1 Merge "Show secondary home handle in immersive apps" into rvc-dev 2020-06-24 02:48:38 +00:00
Josh Tsuji
644d1add13 Merge "Hide the IME using InputMethodManagerInternal, because doing it that way actually works." into rvc-dev am: 88e88190eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11948939

Change-Id: If3bb9b5faed4c4604426c5f9cc726394c691ccc2
2020-06-24 02:43:33 +00:00
Josh Tsuji
88e88190eb Merge "Hide the IME using InputMethodManagerInternal, because doing it that way actually works." into rvc-dev 2020-06-24 02:31:47 +00:00
Feng Cao
17ca1ee84e Release remove inline suggestion views when session destroyed
* Attach to each inline suggestion remote view the user id
  and session id, which together identify a session. Then when
  the session is destroyed, we release all the remote views
  associated with the it.
* Worst scenario is that the IME is still showing the UI when
  the remote view is released due to session destroy, in which
  case the suggestion will disappear from the IME window. But
  we also make sure we send an empty response to IME before
  releasing the views, so it should be bad. Plus when a session
  is destroyed, interacting with the suggestion UI doesn't do
  anything, so it's not very helpful to show them.
* Also add a dump method to the InlineSuggestionRenderService
  to help with debugging

Test: atest android.autofillservice.cts.inline
Bug: 154683107

Change-Id: I488fd9d9af08d0df3ffd3c851f96c567d07eed5a
2020-06-23 19:17:42 -07:00
TreeHugger Robot
87ee1802a7 Merge "Set shortcut info even if metadata doesn't have shortcut id" into rvc-dev am: a5ac201acd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11976562

Change-Id: I3fd9b90e2dceb715214514ddf2c5fbfd9b7bc694
2020-06-24 02:07:49 +00:00
TreeHugger Robot
93cf1840ab Merge "Conserve activity flag after notif update" into rvc-dev am: 0d8689233d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11964769

Change-Id: If706e50a3119aeff04e7a61ffb1392f93e149d37
2020-06-24 02:06:50 +00:00
TreeHugger Robot
a5ac201acd Merge "Set shortcut info even if metadata doesn't have shortcut id" into rvc-dev 2020-06-24 02:00:20 +00:00
TreeHugger Robot
0d8689233d Merge "Conserve activity flag after notif update" into rvc-dev 2020-06-24 01:49:48 +00:00
Jing Ji
7b82cbecbf Track the number of PendingIntent per UID
Log a warning if there are too many PendingIntent from a UID

Bug: 148238407
Bug: 159460420
Test: Manual - Get & release tons of PendingIntent, check the logs
Test: atest \
FrameworksMockingServicesTests: com.android.server.am.PendingIntentControllerTest
Change-Id: I47d2c7c3557be352b1af6c957067e9418a24ced2
2020-06-24 01:34:33 +00:00
Mady Mellor
e1ee90edbf Fix possible NPE
Test: treehugger
Bug: 159754859
Change-Id: I6de78cd0b7e27eaeab8d1673f12aa948d93f603a
2020-06-23 18:32:05 -07:00
TreeHugger Robot
c75db79427 Merge "Import translations. DO NOT MERGE" into rvc-d1-dev 2020-06-24 00:45:15 +00:00
TreeHugger Robot
5ebc819640 Merge "Use reference equality for AnimatableScaleMatrix equals()." into rvc-dev am: e948137a18
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11975965

Change-Id: I31f30dc3fd4de4a709830ba230a5c618b018d10c
2020-06-24 00:20:09 +00:00
TreeHugger Robot
58789f6cd8 Merge "Updating SysUI state when back enabled/disabled state change" into rvc-dev am: d71e76fd7b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11965840

Change-Id: I45773b216a2b93a3b0e1955eedccc497e1c12cd1
2020-06-24 00:19:38 +00:00
TreeHugger Robot
e948137a18 Merge "Use reference equality for AnimatableScaleMatrix equals()." into rvc-dev 2020-06-24 00:19:29 +00:00
TreeHugger Robot
4064cfb411 Merge "DO NOT MERGE: Fix array casting bug" into rvc-dev am: e632c246fa
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11971856

Change-Id: Id86eb27ddcf9a1ea61e5c75f228407779e143bad
2020-06-24 00:18:51 +00:00
Soonil Nagarkar
4be3f755e4 DO NOT MERGE: Fix array casting bug am: e007303822
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11971856

Change-Id: If540972b625345139eae68d1bca98675fdf63813
2020-06-24 00:18:46 +00:00
TreeHugger Robot
d71e76fd7b Merge "Updating SysUI state when back enabled/disabled state change" into rvc-dev 2020-06-24 00:18:17 +00:00
Lucas Dupin
e267f4da77 Conserve activity flag after notif update
When reloading the metadata or changing the stream state, let's conserve
the previous activity state.

Fixes: 159642373
Test: manual
Test: atest MediaDataManagerTest
Test: atest MediaTimeoutListenerTest
Change-Id: I23cc9485c36be31c3fc2d6b3935dc829f2131afd
2020-06-23 17:12:00 -07:00
TreeHugger Robot
e632c246fa Merge "DO NOT MERGE: Fix array casting bug" into rvc-dev 2020-06-24 00:04:05 +00:00
Hai Zhang
ca81664327 Merge "Don't sync app op mode for root and system uid." into rvc-dev am: 797afd58f8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11897532

Change-Id: I5e005123290b56c421858c26f44e0fc5b4f16ade
2020-06-23 23:41:30 +00:00
TreeHugger Robot
b2c4377ddb Merge "Fix lifecycle states in QSTileImpl" into rvc-dev am: ebb0640c62
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11973243

Change-Id: Ia577bbd10a0a8b112eda05400899b083769ffac0
2020-06-23 23:40:51 +00:00
Lyn Han
efbaa978e4 Set shortcut info even if metadata doesn't have shortcut id
Fixes: 159540176
Test: overflow labels set to chat name instead of app name
Test: only bubbles with metadata shortcut persist after phone reboot
Change-Id: Ia102f257953c7ba09cacb37aa1915f1dd1798d5f
2020-06-23 16:38:32 -07:00