Commit Graph

478147 Commits

Author SHA1 Message Date
TreeHugger Robot
e11be4f667 Merge "Fix GlobalActionsImeTest flakes" into rvc-dev 2020-05-27 09:11:34 +00:00
Chen Zhu
3079748dd9 Merge "Add test config to statsd_test and apply mainline module" into rvc-dev 2020-05-27 07:47:03 +00:00
Paul Duffin
45654cc7a6 Merge "Use tags to access conscrypt sources" into rvc-dev 2020-05-27 06:38:23 +00:00
TreeHugger Robot
148fb0e8c2 Merge "System Bars animation for fixed rotation transform" into rvc-dev 2020-05-27 06:19:51 +00:00
Yanting Yang
cc49bc3357 Merge "Cache label description to improve scrolling of App Info page" into rvc-dev 2020-05-27 05:37:35 +00:00
tim peng
f28c0b6f3a Merge "Add getDeselectableMediaDevice()" into rvc-dev 2020-05-27 05:32:33 +00:00
TreeHugger Robot
f49fa1a9ea Merge "Add support for TvInputManager.acquireTvInputHardware CTS" into rvc-dev 2020-05-27 04:39:45 +00:00
Hongwei Wang
86f8ef1aa8 Merge "Hide PiP menu when expanding" into rvc-dev 2020-05-27 04:23:30 +00:00
Louis Chang
e500c6773b Merge "Do not always report configuration change to activity" into rvc-dev 2020-05-27 04:17:14 +00:00
TreeHugger Robot
9c03ae0623 Merge "Tuner FW: fix filter type check." into rvc-dev 2020-05-27 04:16:50 +00:00
Alex Buynytskyy
4e5ff2eb7d Merge "Lifecycle: detecting blocked and unhealthy." into rvc-dev 2020-05-27 04:15:54 +00:00
Chiachang Wang
7912eb5ef8 Merge "Add TCP info into DataStallEvent" into rvc-dev 2020-05-27 03:53:17 +00:00
TreeHugger Robot
88f572530f Merge "Fix an issue in my last CL" into rvc-dev 2020-05-27 03:25:19 +00:00
TreeHugger Robot
505380e42c Merge "Remove spammy log line." into rvc-dev 2020-05-27 03:01:09 +00:00
TreeHugger Robot
0c5fe51a1a Merge "Made sure that the media section has no background" into rvc-dev 2020-05-27 02:12:57 +00:00
Selim Cinek
02b5b19256 Merge changes I75a386d7,Ica8c2b14 into rvc-dev
* changes:
  Fixes an issue where the media players would animate on screen off
  Replacing MotionLayout with DynamicLayout
2020-05-27 01:43:45 +00:00
TreeHugger Robot
d7d14eb420 Merge "Dump UidRecord's capability and list of ProcessRecord." into rvc-dev 2020-05-27 01:28:45 +00:00
Baligh Uddin
5b49b29350 Migrate apex/sdkextensions to packages/modules/SdkExtensions
BUG: 156286599
Test: TH and Forrest (mainline_modules)
Merged-In: I6f562fe5e01179c48c39cd72ff381fc800d0d14d
Change-Id: I0009d286205d7942c2d681936bfba38e074700d2
2020-05-27 01:19:51 +00:00
Sean Pont
8f22c8727a Fix GlobalActionsImeTest flakes
Ensures that screen is on for testGlobalActions_doesntStealImeControl

Fixes: 157174684
Test: atest com.android.systemui.globalactions.GlobalActionsImeTest
Change-Id: I067ccca29cbbba3831d46ba79d819fda0eb22969
2020-05-26 18:09:14 -07:00
Mady Mellor
c57591f137 Fix an issue in my last CL
Test: manual / treehugger
Bug: 152883583
Change-Id: I14e94748f8868377df877edf4e7836e5f25e8d7f
2020-05-26 17:48:23 -07:00
TreeHugger Robot
80a18c0a7b Merge "Camera: Extend FEATURE_CAMERA_CONCURRENT to old API levels" into rvc-dev 2020-05-27 00:45:04 +00:00
Selim Cinek
4b9710e3c5 Made sure that the media section has no background
The background is unnecessary and UX wise doesn't look
good when scrolling. We therefore remove it from
the media header.
Because the screen animation still depends on having the
bounds calculated correctly, we now make all of the
background views ExpandableViews instead of
ActivatableNotificationRows.

Bug: 154137987
Test: add media notification, observe no background, normal screen on / off animation
Change-Id: Ie18af9d61d8d128c7a9397660910403e87c6fd51
2020-05-26 17:25:59 -07:00
shubang
491eaba9be Tuner FW: fix filter type check.
Java subtype and HAL subtype don't match, which lead to a bug in
configure();

Other minor fixes.

Bug: 157278203
Test: make; cts;
Change-Id: I791d3a06c68499cf359fd718d2ca24a20ac35796
2020-05-27 00:07:12 +00:00
Mady Mellor
82e64ff476 Merge changes from topic "canBubble_isBubble_nuances" into rvc-dev
* changes:
  Always open bubble for bubble notifs + fix issue
  canBubble only true when it can actually bubble
2020-05-27 00:06:58 +00:00
Mady Mellor
8ae7155756 Merge "Removing groups & ongoing from bubble ordering" into rvc-dev 2020-05-27 00:06:33 +00:00
TreeHugger Robot
c6d6c0b466 Merge "Avoid setting a barrier on layers that will not render frames" into rvc-dev 2020-05-26 23:55:19 +00:00
Sudheer Shanka
61a459d77a Merge "Update a couple of blobstore params to be configurable." into rvc-dev 2020-05-26 23:54:33 +00:00
Hongwei Wang
cc946e8fc0 Hide PiP menu when expanding
When expanding the PiP window, hide first the close/resize button/handle
if applicable to eliminate possible jankiness.

Vide: http://go/recall/-/aaaaaabFQoRHlzixHdtY/fNFmYOXaILVu0OpHtBNDey
Bug: 157303621
Test: manually expand PiP window
Change-Id: Ic15173f96fc02e38728957e64bb8d90cada8e974
2020-05-26 16:52:58 -07:00
TreeHugger Robot
dbc5e64b68 Merge "ShellRoot: Hold lock during binder death." into rvc-dev 2020-05-26 23:42:46 +00:00
Hui Yu
39e99108d1 Dump UidRecord's capability and list of ProcessRecord.
For example:
    UID u0a148: UidRecord{4b1bf83 u0a148 BTOP procs:3 seq(0,0,0)}
      curProcState=3 curCapability=LCM
      proc=ProcessRecord{eaf5d6f 3854:com.google.android.googlequicksearchbox:interactor/u0a148}
      proc=ProcessRecord{9b68072 4143:com.google.android.googlequicksearchbox:search/u0a148}
      proc=ProcessRecord{3eaef29 5665:com.google.android.googlequicksearchbox:assistant/u0a148}

UID u0a148's capability is "LCM", it has 3 processes.

Bug: 157269041
Test: "adb shell dumpsys activity -a", looking for "UidRecord"
Change-Id: I564193f47292b8ebf0e239e8da50536931fc3d75
2020-05-26 16:32:21 -07:00
Selim Cinek
7f657604e5 Fixes an issue where the media players would animate on screen off
Because qs collapses when we start dozing, we triggered an animation
that looked janky. We now instead don't reattach them at all
and block the animation.

Test: atest SystemUItests
Bug: 154137987
Change-Id: I75a386d7f1dfb65c040d42b8d7aeaf34314b5d10
2020-05-26 16:30:42 -07:00
Selim Cinek
2de5ebb44a Replacing MotionLayout with DynamicLayout
Motionlayout had a few limitations because we didn't have
any control over the measure cache and the resizing
behavior wasn't very performant for our usecase.
We therefore implement a new Layout called DyanmicLayout
that dynamically allows you to move between different
ViewStates in a performance optimized way.

A new controller is introduced that is responsible
for caching the individual viewstates and react to
possible changes in the view hosts. This will make
sure that our layout is more stable than ever while
beeing fully optimized for multiple players with
various different viewstates, allowing us to implement
usecases much easier where players are conditionally
hidden or replaced when long-pressing.

MediaLocationStates are now fully owned by the
MediaStatesManager and the hiearchyManager only
operates on the bounds of the views, making it more
generic and resuable for future usecases.

Fixes: 156465387
Test: atest SystemUITests
Change-Id: Ica8c2b1404df52d3cc3bf3d0ee5dabbc886557cf
2020-05-26 16:30:40 -07:00
TreeHugger Robot
57e977a585 Merge "Fix notif section header/footer alignment" into rvc-dev 2020-05-26 22:42:45 +00:00
Ben Lin
125bdd8ca1 Merge "PIP: Ensure we move some slop before pilfering for touches for resize." into rvc-dev 2020-05-26 22:18:35 +00:00
Sudheer Shanka
90ac4a69db Update a couple of blobstore params to be configurable.
Instead of hardcoding values for IDLE_JOB_PERIOD_MS and
SESSION_EXPIRY_TIMEOUT_MS, make them configurable.

Bug: 157503601
Test: atest --test-mapping apex/blobstore
Change-Id: I4846a98144224873444d4d73b2bedde258992ac4
2020-05-26 15:02:00 -07:00
Jeffrey Huang
8eaf1aba00 Merge changes Id23aea5b,I9b5655a2,I17bb6b9f into rvc-dev
* changes:
  Avoid coverage gaps from forced bucket splits
  Update ValueMetric to use NO_DATA
  Add a new bucket drop reason for no data.
2020-05-26 21:59:00 +00:00
Sarah Chin
8300a64490 Merge "Add Setting for NR screen off indications" into rvc-dev 2020-05-26 21:56:42 +00:00
Amit Mahajan
5c5635ac7d Remove spammy log line.
Test: TH
Bug: 157172358
Change-Id: Ib76bd317bdd21ef6c1272d38f102f8e40b66d9b8
2020-05-26 14:51:21 -07:00
Chavi Weingarten
d91929d91f Merge "Force reportResized when useBlastSync enabled" into rvc-dev 2020-05-26 21:45:03 +00:00
TreeHugger Robot
851415b693 Merge "Disabled DEBUG_USER constant on SystemService." into rvc-dev 2020-05-26 21:37:46 +00:00
TreeHugger Robot
6e63bf8d84 Merge "Get device icon without background." into rvc-dev 2020-05-26 21:25:05 +00:00
TreeHugger Robot
beb13f0f26 Merge "RESTRICT AUTOMERGE Ensure that DozeFactory uses Main Thread Handler." into rvc-dev 2020-05-26 21:15:04 +00:00
Vishnu Nair
1a7075f235 Avoid setting a barrier on layers that will not render frames
Fixes an issue where a barrier is set on a layer that will not
submit a buffer and transactions will get queued up causing
the system to eventually watchdog.

Fixes: 150578848
Test: Run manual repro steps in bug
Test: go/wm-smoke

Change-Id: Icba60e60fa9e62cca2fb3ff06d73f1975485a91d
2020-05-26 21:09:35 +00:00
Mady Mellor
76343014ce Always open bubble for bubble notifs + fix issue
Clicking on the notification will only redirect to the
bubble if the notification has FLAG_BUBBLE. This changes
the logic so that it will happen if the notification is
allowed to bubble.

This also includes a fix for an issue where we would
remove the bubble (and notification) incorrectly on updates:
Previously we'd always remove a bubble if the notif was
updated & no longer had FLAG_BUBBLE. There are some
situations where a notif might not have the flag but also
shouldn't be removed (e.g. bubble dismissed). This CL alters
it so that the bubble is removed when canBubble is false
instead of FLAG_BUBBLE being removed.

Test: atest SystemUITests
Bug: 149033291
Bug: 152883583
Change-Id: If9c61295d09dfa9f36360b02bcd66967bcb7d667
2020-05-26 14:02:43 -07:00
Mady Mellor
db0a602465 canBubble only true when it can actually bubble
If the notif is unable to present as a bubble:
  - set the record#canBubble value to false
  - null out bubble metadata if present (we show bubble
    button if there is metadata, so shouldn't show it
    if it can't present for some reason)

Because bubble metadata is now null'd out we don't have
the shortcutId to check / update the tracked shortcut
list, so instead if it's null check for that entry in
the list and remove it. Also fixes one spot where we
weren't unregistering the listener before and adds a
test for it.

Test: atest ShortcutHelperTest BubbleExtractorTest NotificationManagerServiceTest
Bug: 152883583
Change-Id: I29e993c01a8fb9fcdf2386b18a94adc712fe101f
2020-05-26 14:02:36 -07:00
Mady Mellor
a55133daa7 Removing groups & ongoing from bubble ordering
* We don't allow ongoing bubbles so remove logic
* We were still grouping bubbles by app and this is
  something we're no longer supposed to do as per ux
  so removed this code

Bug: 155515999
Test: atest BubbleDataTest
Change-Id: I5de5dec6d8be70f638c0cc6121e859a51e44c563
2020-05-26 13:56:35 -07:00
Steve Elliott
311c4e7d39 Fix notif section header/footer alignment
Fixes: 157392546
Fixes: 150168459
Test: manual, visual
Change-Id: I7ea6b6712cb80c3914b5b1aea60e5d065f005e8e
2020-05-26 20:55:58 +00:00
TreeHugger Robot
58c7846f6a Merge "WindowlessWindowManager: Set size when creating surface" into rvc-dev 2020-05-26 20:41:22 +00:00
TreeHugger Robot
40d3143c8a Merge "Add zakcohen to OWNERS" into rvc-dev 2020-05-26 20:33:53 +00:00
Todd Kennedy
edd9383a90 Merge "Add check for cross user permission" into rvc-dev 2020-05-26 20:16:41 +00:00