Commit Graph

477195 Commits

Author SHA1 Message Date
Hall Liu
a853b23c0e Add method to remove test from tracked loopers
Add method to remove a test from the sLoopers map, since keeping them
around forever results in a memory leak for large test suites.

Bug: 156287358
Test: atest FrameworksTelephonyTests
Change-Id: I553ea3a1dac3ff4107e0c7caabee26d21f4c52f8
2020-05-14 01:43:16 +00:00
tim peng
7121bc89c8 Merge "When only one device is selected in dynamic group, the device should be disabled" into rvc-dev 2020-05-14 01:35:44 +00:00
TreeHugger Robot
3f1696a389 Merge "applySyncTransaction: Add to syncSet earlier" into rvc-dev 2020-05-14 00:42:42 +00:00
Remi NGUYEN VAN
2404bc617a Merge "Use the new NetworkStackConnector constructor" into rvc-dev 2020-05-14 00:08:25 +00:00
TreeHugger Robot
8f73970e57 Merge "Overflow labels: higher contrast" into rvc-dev 2020-05-14 00:07:53 +00:00
TreeHugger Robot
d36e74cf82 Merge "Make emergency NFW notification silent" into rvc-dev 2020-05-13 23:57:39 +00:00
Kevin Chyn
6688c811a2 Merge "Fix 'verify it's you' string by using the correct single quote." into rvc-dev 2020-05-13 22:54:28 +00:00
TreeHugger Robot
bc9515e4b9 Merge "Change the timeout for integrity verification from 10 seconds to 30 seconds." into rvc-dev 2020-05-13 22:41:10 +00:00
Yu-Han Yang
8a87d0defb Make emergency NFW notification silent
Bug: 150726516
Test: manual
Change-Id: I1bc00802511c9c715b565ab839aa639d5a4b8dcd
Merged-In: I3d5cb845ddace1cb46bf095d68d7a6d3284b4f45
2020-05-13 22:40:43 +00:00
TreeHugger Robot
6922655496 Merge "Controls UI - Redlines for setup screens" into rvc-dev 2020-05-13 22:39:49 +00:00
TreeHugger Robot
4d857ccce5 Merge "Revert tab key behavior on multiline EditTexts." into rvc-dev 2020-05-13 22:30:21 +00:00
TreeHugger Robot
b7ba8ed645 Merge "Annotate ChargingStatus as a state atom." into rvc-dev 2020-05-13 22:28:50 +00:00
Selim Cinek
2cdb725ba6 Merge "Resetting the scroll position of the media players when allowed" into rvc-dev 2020-05-13 22:24:48 +00:00
TreeHugger Robot
bff3812e82 Merge "SurfaceView: positionLost locking fix" into rvc-dev 2020-05-13 22:04:58 +00:00
TreeHugger Robot
730fb0d97d Merge "Fix inline suggestion ref counting to not over-count" into rvc-dev 2020-05-13 20:58:15 +00:00
TreeHugger Robot
897187dcfa Merge "Controls API - Flag controls support" into rvc-dev 2020-05-13 20:42:42 +00:00
Robert Carr
8e653c8406 applySyncTransaction: Add to syncSet earlier
We need to add modified WindowContainers to the BLASTSync set
before applying any changes. Recall that while participating in
sync window containers stop using the Display global
pending-transaction and instead redirect their changes in to the
BLASTSync-transaction. If we add to the BLAST sync too late, some
changes could go in to the WM transaction while others go in to
the BLASTSync-transaction. This means the effects would not be
applied atomically.

Bug: 149946388
Bug: 155814541
Test: Expand PIP. No flash.
Change-Id: I9b9b8f2308098d045a44004e2cca6dcbf84efcd9
2020-05-13 13:25:51 -07:00
TreeHugger Robot
1bf7804c2a Merge "Revert "Revert "AudioService: fix volume adjustment suppression""" into rvc-dev 2020-05-13 20:13:49 +00:00
Kweku Adams
301f754b9d Annotate ChargingStatus as a state atom.
Charging status is different from plugged status and can be used as a
state for certain metrics.

Bug: 140496920
Bug: 143495340
Bug: 145838040
Test: bit statsd_test:*
Change-Id: I1ef41191588b6d26346323203dabe488d488c131
2020-05-13 13:10:34 -07:00
TreeHugger Robot
629ebb174b Merge "Link partial convo controls to Settings" into rvc-dev 2020-05-13 19:49:01 +00:00
TreeHugger Robot
021ceaecf2 Merge "Add day-night-mode permission to Shell." into rvc-dev 2020-05-13 19:41:38 +00:00
TreeHugger Robot
b375d0f628 Merge "Update resources after display size change" into rvc-dev 2020-05-13 19:32:53 +00:00
Song Pan
74b5e72f17 Change the timeout for integrity verification from 10 seconds to 30 seconds.
Context: https://buganizer.corp.google.com/issues/154486093#comment24

Bug: 154486093
Test: N/A
Change-Id: I4fae3401ad7323acfa9cc520aac0cbb6bdbf6ada
2020-05-13 20:27:40 +01:00
TreeHugger Robot
0269ef125c Merge "Dynamically enable readlogs when requested." into rvc-dev 2020-05-13 19:26:06 +00:00
Dave Mankoff
2acde9a908 Merge "Revert "Prevent NPE in PulseExpansionHandler"" into rvc-dev 2020-05-13 19:18:38 +00:00
Dave Mankoff
49b3335e0d Revert "Prevent NPE in PulseExpansionHandler"
This reverts commit 14f069b83c.

Reason for revert: http://b/156204772

Bug: 156204772
Change-Id: Ie47d41d3d6625d3769005bd46b5dfe20171d5d70
2020-05-13 19:18:23 +00:00
Feng Cao
723ba2e82b Fix inline suggestion ref counting to not over-count
* Imagine this event sequence:
  1) the IME tries to re-attach an inline suggestion view to the
  window (e.g. because IME layout changes), it calls into the system
  server which causes recreating the backing view because it was
  destroyed earlier due to 0 ref-count (this happens under the hood
  without IME knowing it happens, so the view is still attached to
  the window).
  2) the IME receives a new inline suggestion pointing to the same
  backing view (perhaps due to filtering kicks in).
  3) the recreation from step 1 finishes, but now it will callback
  to the new inline suggestion, therefore the old view doesn't receive
  the new SurfacePackage. See RemoteInlineSuggestionUi for why.
  4) the view in step 1 is detached from window, since it never
  receives a SurfacePackage from the remote view, its detach shouldn't
  cause a reference count down on the remote view.

Test: atest android.autofillservice.cts.inline (sanity test)
Bug: 154683107

Change-Id: I2e6814ef3889de603f6e170efcb795b69ec9febe
2020-05-13 11:55:58 -07:00
Selim Cinek
0260c7563b Resetting the scroll position of the media players when allowed
Previously the scroll position would never be reset anymore
unless the user actively did so. We're now resetting the position
whenever the visual stability manager tells us we're allowed to
do so.

Bug: 154137987
Test: atest SystemUITests
Change-Id: Ifd5858f47827610a64a9a12cff777bd2440334a9
2020-05-13 11:55:47 -07:00
Agatha Man
b1b07971f1 Merge "Initialize mVolumeDialogComponent onMasterMuteChanged in VolumeUI" into rvc-dev 2020-05-13 18:48:36 +00:00
Jean-Michel Trivi
ac20057c01 Revert "Revert "AudioService: fix volume adjustment suppression""
This reverts commit f4580a24ab.

Reason for revert: someone submitted it by mistake

Bug: 156335617
Bug: 156010854
Test: see bug 156010854 for manual steps

Change-Id: Ia9e6b91eca5f47d35b54393cc7256fb54f58f276
2020-05-13 18:31:34 +00:00
Robert Carr
ebaaca1a46 SurfaceView: positionLost locking fix
positionLost can be called from CanvasContext::destroyHardwareResources
which runs asynchronously to the UI thread. This means we could be
simultaneously executing releaseSurfaces on the UI thread. We need
to expand the scope of mSurfaceControl lock in positionLost. While
we are here we add a block comment explaining the previously
undocumented locking strategy.

Bug: 156264048
Test: Existing tests pass
Change-Id: I9cdb6a0f7aeffd878f1755f240e8896f0fb8bf01
2020-05-13 18:29:59 +00:00
TreeHugger Robot
e0a73b1bb6 Merge "webkit: Update documentation for onJsAlert callback method" into rvc-dev 2020-05-13 18:15:31 +00:00
Matt Pietal
9788fd4afd Controls API - Flag controls support
Add a package manager flag so that apps can programmatically query
whether the device have system interface to support the Controls API

Bug: 156096063
Test: manual
Change-Id: I2dab2ecb762b59308c51615137f89733ff42caeb
2020-05-13 14:11:34 -04:00
Antoan Angelov
b98da91c63 Merge "Initialize workProfileUserHandle before initial check for work tabs" into rvc-dev 2020-05-13 18:06:06 +00:00
TreeHugger Robot
43d32906a8 Merge "Don't tell expanded controller about gestures unless we are expanded." into rvc-dev 2020-05-13 17:44:59 +00:00
TreeHugger Robot
4d504ec83a Merge "a11y for controls management" into rvc-dev 2020-05-13 17:32:59 +00:00
Steve Elliott
4ba34ed680 Merge "Uprank colorized FSNs over Conversations" into rvc-dev 2020-05-13 17:27:32 +00:00
Suren Baghdasaryan
49644a3404 Merge "Fix Lost RAM calculation by accounting for ION mapped heaps" into rvc-dev 2020-05-13 17:09:39 +00:00
Suren Baghdasaryan
b55e856e59 Fix Lost RAM calculation by accounting for ION mapped heaps
ION mapped heaps are not reflected in process PSS because ION driver
maps them using remap_pfn_range that sets VM_PFNMAP flag for each
mapped ION heap VMA and consequently excludes these VMAs from PSS
calculation. Change memory accounting to consider ION mapped heaps
as part of kernel used memory which fixes the Lost RAM calculation
that currently includes mapped ION heaps.

Bug: 155409819
Test: verify Lost RAM after opening camera app
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I2bad40bbe7d14b1c61534d661b612200ef1084e4
2020-05-13 17:09:19 +00:00
TreeHugger Robot
2619a020dd Merge "add westworld log to global actions dismiss" into rvc-dev 2020-05-13 16:58:24 +00:00
Ryan Mitchell
c6f43cdfb0 Merge "Move OverlayHostTests back to general-tests" into rvc-dev 2020-05-13 16:56:38 +00:00
Changwan Ryu
31e2db92ce webkit: Update documentation for onJsAlert callback method
Fix documentation to clearly indicate that the default behavior is to
show WebView's own default dialog.

Also, change some wording to avoid confusion.

Bug: 154014645
Test: m -j offline-sdk-docs seems unbroken
Change-Id: I3f6676094e5472aa99bb014cf2b489f59133d094
2020-05-13 16:52:24 +00:00
Alex Buynytskyy
74247b9b8e Dynamically enable readlogs when requested.
Bug: 153874006
Test: external/chromium-trace/systrace.py adb
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest

Change-Id: I810d46e059b73502ff34dc4fc490d9879f4e5bfc
2020-05-13 09:48:50 -07:00
TreeHugger Robot
1daf6ea6a3 Merge "Add try/catch to prevent NPE in PagedTileLayout" into rvc-dev 2020-05-13 16:21:21 +00:00
TreeHugger Robot
c9ffc840f5 Merge "Provide isLocked to wallet instead of isUnlocked" into rvc-dev 2020-05-13 16:20:34 +00:00
Miranda Kephart
a4b9474647 Merge "Fix NPE in ScreenshotHelper" into rvc-dev 2020-05-13 16:20:14 +00:00
Julia Reynolds
435a7a42af Link partial convo controls to Settings
Test: atest
Fixes: 156410505
Change-Id: I9e3493ab672d44b558f4aef9d1d9ef309e9fb273
2020-05-13 12:05:52 -04:00
TreeHugger Robot
eb191392e6 Merge "Don't try to recreate IncrementalFileStorages on re-commit." into rvc-dev 2020-05-13 16:01:39 +00:00
TreeHugger Robot
d060004e6a Merge "Streaming installation: allow non-v4-signed files (e.g. .dm)" into rvc-dev 2020-05-13 15:59:15 +00:00
Fabian Kozynski
b3c393f723 a11y for controls management
Use state description to indicate if a control is a Favorite and its
position for when it can be rearranged.

Also, remove a hardcoded string.

Test: manual
Fixes: 155995940
Change-Id: Ia908558a9108e895457e9847f52744f27fe177c3
2020-05-13 11:45:00 -04:00