Commit Graph

480806 Commits

Author SHA1 Message Date
Santiago Seifert
ad7f868f52 Add the "enable emsg" flag
Just in case we need it in a future integration.

Bug: 154120292
Test: Manual.
Change-Id: I53e0db4188359edfb6fd3a641c23e78c5991a6eb
2020-06-24 21:48:55 +01:00
Nate Myren
a9d76001a9 Merge "Update permissions flags for all users before restoring" into rvc-dev 2020-06-24 17:11:00 +00:00
Svetoslav Ganov
dab5588e84 Merge "Address missed comments from previous CL" into rvc-dev 2020-06-24 16:58:15 +00:00
TreeHugger Robot
4b23ea8b74 Merge "Fix CryptoInfo.toString" into rvc-dev 2020-06-24 16:58:11 +00:00
Lyn Han
c25e26ae8a Merge "Remove overflow experiment flags" into rvc-dev 2020-06-24 16:43:48 +00:00
TreeHugger Robot
b41f1aef94 Merge "DO NOT MERGE: Call handleInitialize() in the end of constructor" into rvc-dev 2020-06-24 16:23:27 +00:00
TreeHugger Robot
11e7231a75 Merge "Add string for "See more apps"" into rvc-dev 2020-06-24 16:21:57 +00:00
TreeHugger Robot
3fa2d86fd0 Merge "Add additional info to device ID docs in TelephonyManager and Build" into rvc-dev 2020-06-24 16:15:32 +00:00
TreeHugger Robot
6f8ee88a04 Merge "Fixed a invalid fd issue" into rvc-dev 2020-06-24 16:00:32 +00:00
TreeHugger Robot
51c03c8a31 Merge "Use generated Java bindings for CEC HAL" into rvc-dev 2020-06-24 15:43:48 +00:00
Josh Tsuji
7ca0ea6869 Merge "Only remove bubbles with null shortcutinfo if they have a shortcut ID." into rvc-dev 2020-06-24 15:39:09 +00:00
Patrick Baumann
910575c19c Merge "Fixes ordering on AppsFilter#removePackage" into rvc-dev 2020-06-24 15:16:38 +00:00
Patrick Baumann
155007ab1f Merge "Remove then add during replace to reset vis" into rvc-dev 2020-06-24 15:16:11 +00:00
Fabian Kozynski
91280c30c5 Add string for "See more apps"
Test: manual
Fixes: 159792758
Change-Id: I9b116fef0bfaad7c40bb9a9a109e0abf1b005b4c
2020-06-24 10:57:23 -04:00
TreeHugger Robot
a99dba8be0 Merge "Add parameter for sideloaded caption formats" into rvc-dev 2020-06-24 14:33:57 +00:00
Shraddha Basantwani
f0b07483d9 Use generated Java bindings for CEC HAL
Replace usage of JNI methods with Java bindings.

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

Bug: 150290661
Bug: 156581356
Test: run cts -m CtsServicesHostTestCases
Test: adb shell dumpsys hdmi_control
Change-Id: I43c72ab6cc203da1d935bd51fc0fd11b930255ce
Merged-In: I43c72ab6cc203da1d935bd51fc0fd11b930255ce
2020-06-24 14:27:41 +00:00
Santiago Seifert
3c715d5778 Fix CryptoInfo.toString
It's using the key length when it should use the iv length.

Bug: 154120292
Test: Manually.
Change-Id: I98d71b974688acbeef0c7112298c5edf37d47ef7
2020-06-24 14:58:47 +01:00
Josh Tsuji
a5d19f6b07 Only remove bubbles with null shortcutinfo if they have a shortcut ID.
Test: manual
Bug: 159719877
Change-Id: Ia46240884b0c8824e03fbcc5c24e0aa8dbb94301
2020-06-24 09:22:29 -04:00
Santiago Seifert
4aa539485d Add parameter for sideloaded caption formats
Bug: 154120292
Bug: 149906115
Test: Manually.
Test: atest CtsMediaParserTestCases
Change-Id: I5dd3117884965786731ac2e475b34e4a9ce36d47
2020-06-24 13:01:43 +01:00
Les Lee
f9836b0186 Merge "wifi: Update API java to match new design" into rvc-dev 2020-06-24 11:31:24 +00:00
Riddle Hsu
e99df6dbec Merge "Use rotation animation for orientation change of non-occluded activity" into rvc-dev 2020-06-24 10:03:41 +00:00
Ryan Lin
18905eb623 Merge "Fix the multi-fingers gesture conflict with TouchExplorer" into rvc-dev 2020-06-24 08:51:50 +00:00
Yunfan Chen
71f139471c Merge "Only apply server visible to split screen" into rvc-dev 2020-06-24 08:09:57 +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
b7284f6015 Merge "tethering: offload: Netlink Req" into rvc-dev 2020-06-24 06:46:47 +00:00
Kyunglyul Hyun
82ff3f1472 Merge "MediaRouter: Defer releasing routing controller when transfer" into rvc-dev 2020-06-24 06:41:39 +00:00
Svet Ganov
4846803547 Address missed comments from previous CL
bug:153826463

Test: atest android.widget.cts.inline.InlineContentViewTest#testReparenting

Change-Id: Iddb1f4d2e0b7043517616d0ec3678a55f9eda34c
2020-06-24 06:39:28 +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
c8c2bf13c5 Merge "Remove the border around the icon when in dark mode" into rvc-dev 2020-06-24 05:53:07 +00:00
ryanlwlin
2047cd4ba1 Fix the multi-fingers gesture conflict with TouchExplorer
TouchExplorer supports multi-finger gestures from R. However,
FullScreenMagnificationGestureHandler has higher priority of
receiving motion events than TouchExplorer. When the screen is
zoomed in, two pointersdown gesture makes it transiting to
PanningScalingState.

To fix it, We post a tap tmeout to transit to PanningScalingState
when receiving two pointers down. In this duration, any pointers
action will make it transiting to DelegatingState. We also add
a condition that is if the movement of any fingers exceeed the
touchSlope, it will transit to PanningScalingState.

Bug: 159508732
Test: atest FullScreenMagnificationGestureHandlerTest
atest MagnificationGestureHandlerTest

Change-Id: Ic72c0da68a6a4f1714da8d05f743d6218793a5da
2020-06-24 13:46:05 +08: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
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
77190b77f6 Merge "Disable user animations on insets whose visible frame is empty (refined)" into rvc-dev 2020-06-24 04:00:09 +00:00
Riddle Hsu
7b5b8cfbcf Use rotation animation for orientation change of non-occluded activity
If there will have orientation change on existing visible activity, it
is better to use rotation animation to cover it, otherwise it may look
as a obvious jump cut.

Also clear fixed rotation launching app if it is removed from display
to ensure the fading animation of system bars can finish.

Bug: 159707982
Bug: 159099239
Test: DisplayContentTests#testApplyTopFixedRotationTransform
      DisplayContentTests#testRecentsNotRotatingWithFixedRotation

Change-Id: I01b6ddf97e9d1025685e6f14f0c05f3a9cc95cfa
2020-06-24 11:59:32 +08: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
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
c27a155d63 Merge "Only add divider when it need to show" into rvc-dev 2020-06-24 03:17:13 +00:00
Michael Groover
e0de018109 Add additional info to device ID docs in TelephonyManager and Build
Android 10 introduced additional restrictions to access persistent
device identifiers. This commit updates the javadocs for
TelephonyManager and Build to provide additional details regarding
the requirements and how to check if these requirements are met.

Fixes: 158471988
Test: m docs -j
Change-Id: I02932a22ecc5b761aa1a92d59d09d31863c34235
2020-06-23 19:52:51 -07: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
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
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
Henry Fang
7f61a67c41 Fixed a invalid fd issue
LinearBlock close the fd why it's recycled, so we need dup the fd to create a LinearBlock.

bug: 159753135
Test: Manual
Change-Id: Ic2b4e3c535e60983b2a4fc5f5ce6e809731fd581
2020-06-23 17:47:51 -07:00