Commit Graph

477958 Commits

Author SHA1 Message Date
Hongwei Wang
f657ae3ee5 Merge "Do not send Runnable via Messenger across processes" into rvc-dev 2020-05-22 04:19:07 +00:00
Ben Lin
a48f73eabe Merge "Adjust PIP Resize handle size and margin." into rvc-dev 2020-05-22 02:18:38 +00:00
Wei Wang
1a8ed6d95c Merge "ThermalManagerService: initialize to THROTTLING_NONE explicitly" into rvc-dev 2020-05-22 02:05:13 +00:00
Julia Reynolds
ec330b7fc4 Merge "Update conversation strings" into rvc-dev 2020-05-22 01:40:08 +00:00
Feng Cao
5d78bf951c Merge "Don't send action suggestion when user starts typing" into rvc-dev 2020-05-22 01:24:07 +00:00
Hongwei Wang
97f28fd64a Do not send Runnable via Messenger across processes
Instead of passing the Message#replyTo to the receiver and let receiver
post back via Messenger.

Video: http://go/recall/-/aaaaaabFQoRHlzixHdtY/cnIejHZmI9hPxzC1bjOixm
Bug: 157241292
Test: expand PiP window in secondary user
Change-Id: I276923d3508f5cce8f5c34cdcf7c11433eb8ee6b
2020-05-21 18:22:38 -07:00
Selim Cinek
47716cba4b Merge "Ensured that the gut's bounds update properly" into rvc-dev 2020-05-22 01:15:07 +00:00
TreeHugger Robot
7b42f2d3e5 Merge "Tuner JNI: fix filter.read and DvrSettings" into rvc-dev 2020-05-22 00:53:38 +00:00
Feng Cao
2e933f474a Don't send action suggestion when user starts typing
* the behavior was changed in ag/11362916 causing it to be
  inconsistent with the dropdown UI.

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

Change-Id: I29b5a2cdfacdeda2d36a488c64e745ea795b01f9
2020-05-21 16:32:49 -07:00
Ben Lin
39419af06a Adjust PIP Resize handle size and margin.
Bug: 156917828
Test: Build and enter PIP
Change-Id: I0e2351fbc357d1ca60ef521886d3e7866dd91335
2020-05-21 16:07:44 -07:00
Julia Reynolds
4959bdd948 Update conversation strings
Test: manual
Bug: 157215227
Change-Id: Ic9f3625451a0546b3b92d7113f91ee7db17b4a9d
2020-05-21 18:52:45 -04:00
Adam Bookatz
535e4abdd2 Merge "UserRestriction doc fix: primary -> admin" into rvc-dev 2020-05-21 22:44:53 +00:00
Selim Cinek
a5a4ee43eb Ensured that the gut's bounds update properly
Because we were using a transition to update the content
and the guts were using getHeight() to infer their
actualHeight, getHeight() was returning the start
value of the animation and only updated later when other
state changed. This is now fixed by returning the
height determined in the layout.

Bug: 157215227
Test: add guts with 3 line priority, switch between them, observe correct measuring
Change-Id: Icdecd022276e1e21b78991cb5de9f3f7972cb490
2020-05-21 15:38:32 -07:00
Ben Lin
f51818a054 Merge "Add PiP Resize drag handle." into rvc-dev 2020-05-21 22:25:44 +00:00
Winson Chung
3abe653962 Merge "Fix crash in pip task org from null params" into rvc-dev 2020-05-21 22:14:14 +00:00
Claudio Martella
674562840b Merge "Revert "Fix AppOps collection bug."" into rvc-dev 2020-05-21 21:58:27 +00:00
TreeHugger Robot
0a90c7b97e Merge "Move StatsPullAtomService pullers to binder thread" into rvc-dev 2020-05-21 21:44:38 +00:00
Eugene Susla
3f24b9cf64 Merge "Correct javadoc for an auto-revoke API" into rvc-dev 2020-05-21 21:07:30 +00:00
Vinit Nayak
83315682fc Merge "Ignore signals from RecentTasks for frozen task list" into rvc-dev 2020-05-21 20:59:25 +00:00
Feng Cao
3ce785b6e5 Merge "Fix a bug where autofill resends inline suggestions in the wrong app" into rvc-dev 2020-05-21 20:29:38 +00:00
Winson Chung
6d8a195656 Fix crash in pip task org from null params
Bug: 156314330
Test: atest PinnedStackTests
Change-Id: I8094c7e29552327f1dd69b4a54c9979d36e57c8b
2020-05-21 13:27:10 -07:00
Ameer Armaly
cee5a21750 Merge "GestureManifold: fix null pointer exception in onGestureCompleted." into rvc-dev 2020-05-21 20:24:30 +00:00
Ryan Mitchell
71765aa97c Merge "Invalidate PackageInfo cache when overlays change" into rvc-dev 2020-05-21 20:22:07 +00:00
Ben Lin
906a02b87c Add PiP Resize drag handle.
We will only display the handle on the first entry.

Bug: 156917828
Test: Enter PiP, see drag handle - after fullscreen expand
and re-enter PIP, no longer see the handle

Change-Id: I5b5ec8bf532366525e8696dc3059a75967398323
2020-05-21 13:19:40 -07:00
Mike Digman
7980546c03 Merge "Clean up Sharesheet pinning, add app icon, remove DS pin menu" into rvc-dev 2020-05-21 20:05:58 +00:00
Wei Wang
f5d7e441ce ThermalManagerService: initialize to THROTTLING_NONE explicitly
When there is no HAL connection or HAL malfunctioning, thermal status
will stay in an invalid value, which would be returned when client
register status callback.

This CL will opportunistically assume system is in "NONE" throttling
when in above states such as no HAL connection or HAL malfunctioning.

Bug: 155772239
Test: atest ThermalManagerServiceTest
Test: atest PowerManagerTest
Test: atest thermalmanager-test
Change-Id: I9fceb5ef6f8b9a23983b7b93200f381eaf23a77b
2020-05-21 12:58:51 -07:00
Sudheer Shanka
a2ea714988 Merge "Fix javadoc of BlobStoreManager class." into rvc-dev 2020-05-21 19:58:36 +00:00
Fabian Kozynski
6fad2cc895 Merge "Fix dialog offset" into rvc-dev 2020-05-21 19:36:41 +00:00
Fabian Kozynski
0a49cd2557 Merge "Use rounded corners background in GA Popup menu" into rvc-dev 2020-05-21 19:36:27 +00:00
Stanislav Zholnin
73a8bbb9f5 Revert "Fix AppOps collection bug."
This reverts commit d20eacc040.

Reason for revert: This CL was an error.

Bug: 143519689
Change-Id: I07320f981c0f97615d4c9d312e62b200dba24983
2020-05-21 19:32:29 +00:00
Ben Lin
cb0af9f847 Merge "Avoid #finalResizePip after dismissal of PIP." into rvc-dev 2020-05-21 19:18:26 +00:00
Ben Lin
cd3f2de8b8 Avoid #finalResizePip after dismissal of PIP.
When dismissing PIP via the close button or via dragging to the dismiss
area, #finalResizePip is being called which then sets the PIP task back
to its PIP bounds when it should be set undefined already by the
framework.

Tap to close: The tap UP event causes a double-tap delay callback, which
gets ran shortly after the close button is tapped. Since we are already
dismissing and PipTouchHandler gets that callback, we will simply remove
the double-tap callback. We will also shorten the hideMenu animation to
0 for this case.
Drag to dismiss: The dismissal causes an animation, which then calls for
a Resize-callback. There really is no need to do this for the case of
dismissal, so we will avoid calling it.

Bug: 155794931
Test: Dismiss both PIP and then try to get PIP enter secondary
split-screen, and YouTube no longer stays black screen

Change-Id: Ic93b210f9f3f7d8947f3fe36f5fa32886f8170ee
2020-05-21 19:17:50 +00:00
TreeHugger Robot
2f988b5a82 Merge "Don't truncate an app's own label when forcing safe label." into rvc-dev 2020-05-21 19:06:51 +00:00
Govinda Wasserman
f90980db10 Merge "Adds Assistant invocation time stamp to ActivityManagerWraper" into rvc-dev 2020-05-21 19:05:40 +00:00
Feng Cao
523dca0729 Fix a bug where autofill resends inline suggestions in the wrong app
* This is broken by ag/11443581 where we remove clearing the
  suggestions when view exit. The problem is that we cache the
  suggestions across onFinishInput/onStartInput events and resends
  the suggestions when autofill id matches. But the autofill id
  can be the same for different apps, so we ended up resending
  the old suggestion in the new app field with the same autofill id
  but doesn't have its own autofill suggestions.
* The fix is to clear the suggestions cache in the autofill side,
  but to avoid flickering the IME UI we don't send an empty response
  to the IME when observing ACTION_VIEW_EXITED

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

Change-Id: I156eecab3cae0b0684f3c5f5e0f852bf73e93a19
2020-05-21 12:04:25 -07:00
TreeHugger Robot
059d812ef9 Merge "Use shortcut long labels if available in Sharesheet" into rvc-dev 2020-05-21 19:01:42 +00:00
Julia Reynolds
28c3a34faa Merge "Update conversation labels" into rvc-dev 2020-05-21 18:53:24 +00:00
Robert Snoeberger
de793a8f26 Merge "Disable output switcher based on available routing" into rvc-dev 2020-05-21 18:24:47 +00:00
Chris Li
b075b709ed Merge "Prevent ZBoost of TaskDisplayArea" into rvc-dev 2020-05-21 18:20:20 +00:00
Mike Digman
64c704390d Clean up Sharesheet pinning, add app icon, remove DS pin menu
Remove "App info" item from all long-press menus as it's no
longer needed. Prevent DS targets from showing a long-press
menu. Simplify code surrounding this, in part, for future
migration to a popup menu.

Fixes: 157156399
Test: manual
Change-Id: I3e29e3dd46268cc344dcc93059f2bda1eeef32f1
2020-05-21 11:17:51 -07:00
Eugene Susla
44753b4c8f Correct javadoc for an auto-revoke API
Test: presubmit
Bug: 153607914
Change-Id: Ie271ecfbb3e9356080c28103df658b411ebd61ec
2020-05-21 11:03:37 -07:00
Fabian Kozynski
d6a4a88cd4 Merge "Fixed threading issue in LocationControllerImpl" into rvc-dev 2020-05-21 17:53:22 +00:00
TreeHugger Robot
c86de6f965 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-21 17:52:38 +00:00
TreeHugger Robot
ffbfb1c34a Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-05-21 17:48:02 +00:00
Fabian Kozynski
1038e9601f Fix dialog offset
Test: manual
Fixes: 156775638
Change-Id: Id70d8773c309a272052234d72734ba6d91279dde
2020-05-21 13:21:14 -04:00
Evan Rosky
cc9410f341 Merge "Support split-screen modes on freeform displays" into rvc-dev 2020-05-21 17:18:43 +00:00
Fabian Kozynski
1144c971f2 Use rounded corners background in GA Popup menu
Test: manual
Fixes: 156660115
Change-Id: I24827bb0b83668faf6b193d0e6c3bfc407218a0d
2020-05-21 13:04:08 -04:00
Alex Kershaw
ad13440a6f Merge "Remove protection levels from INTERACT_ACROSS_PROFILES" into rvc-dev 2020-05-21 16:41:17 +00:00
TreeHugger Robot
5d6cf38cd1 Merge "Prevent DPCs from requesting INTERACT_ACROSS_PROFILES" into rvc-dev 2020-05-21 16:25:25 +00:00
TreeHugger Robot
4586885a63 Merge "Camera: Query default display size from display manager" into rvc-dev 2020-05-21 16:12:40 +00:00