Commit Graph

480694 Commits

Author SHA1 Message Date
TreeHugger Robot
dffcd5fe7a Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-23 17:39:39 +00:00
TreeHugger Robot
f33516115a Merge "Remove circular ref from MessagingLinearLayout" into rvc-dev 2020-06-23 17:35:37 +00:00
TreeHugger Robot
24804d2a8f Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-06-23 16:12:29 +00:00
Hongwei Wang
836d2b0fac Merge "Updates internal lock task mode state early" into rvc-dev 2020-06-23 16:01:39 +00:00
Jeff Sharkey
38a6333ff6 Merge "Override MIME type to match MediaStore behavior." into rvc-dev 2020-06-23 15:56:44 +00:00
Galia Peycheva
3a21399c46 Merge "Don't show immersive mode dialog over dream window" into rvc-dev 2020-06-23 15:09:05 +00:00
Evan Rosky
a91a151790 Merge "Report layer boost at all levels, not just Activity" into rvc-dev 2020-06-23 15:04:17 +00:00
Steve Elliott
1b0f20efee Remove circular ref from MessagingLinearLayout
Fixes: 157507646
Test: manual
Change-Id: Ic2b2f99f9f80c11639849128670b335b5ec25566
2020-06-23 10:51:56 -04:00
Madhava Srinivasan
d03a59938e Merge "Persisting setDeviceVolumeBehavior calls" into rvc-dev 2020-06-23 14:51:38 +00:00
TreeHugger Robot
05bf24a6c8 Merge "Ignore enableFullTracking in HAL v1.0" into rvc-dev 2020-06-23 14:13:57 +00:00
Jeff Sharkey
83aaf908a6 Override MIME type to match MediaStore behavior.
Internally, DownloadManager synchronizes its contents with MediaStore,
which relies heavily on using file extensions to determine MIME types.

To prevent these two databases from getting confused, this change
adjusts DownloadManager to force the MIME type of already-completed
downloads based on the file extension, matching what MediaStore does.

Bug: 159594536
Test: atest PublicApiAccessTest#testAddCompletedWithoutExtension
Change-Id: I60c613eafcfe55007dffcac2d7d1fe375b753c19
2020-06-23 07:13:13 -06:00
Issei Suzuki
16868fbef0 Merge "Update virtual display size before turning it on." into rvc-dev 2020-06-23 11:46:16 +00:00
Fiona Campbell
b204ade30c Merge "Remove precision loss on brightness slider." into rvc-dev 2020-06-23 10:41:06 +00:00
Bill Yi
1893253801 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I97b7c350ca8b7a3f0f7f5d433bc6a8961d1b6c00
2020-06-23 08:25:11 +00:00
Adrian Roos
e658c76b5c Merge "IME animation: hide IME-related navbar icons until perceptible" into rvc-dev 2020-06-23 07:06:48 +00:00
TreeHugger Robot
5bbeb33ec9 Merge changes I30a2fa4f,I1abd1561 into rvc-dev
* changes:
  Fix cliping when the media player is fully clipped off
  Fixed some cases where we were animating Qs even though we shouldn't
2020-06-23 06:52:30 +00:00
TreeHugger Robot
b011b82109 Merge "Fix width of Seekbar when enabled but not seekable" into rvc-dev 2020-06-23 06:32:21 +00:00
TreeHugger Robot
a48f9637b7 Merge "Stop sharing ProximitySensor in Doze code." into rvc-dev 2020-06-23 05:34:02 +00:00
TreeHugger Robot
5568049c33 Merge "Statsd logging: notification controls." into rvc-dev 2020-06-23 05:26:55 +00:00
TreeHugger Robot
413150f2ad Merge "Correct RTL layout of media players" into rvc-dev 2020-06-23 03:58:54 +00:00
Fabian Kozynski
1b9ca1ef12 Fix width of Seekbar when enabled but not seekable
Test: manual
Test: atest SeekBarObserverTest
Fixes: 159369236
Change-Id: Iba38e65168b7a748ddc8e3e88267ffbe4ae4e27c
2020-06-23 03:43:41 +00:00
Madhava Srinivasan
b5ed600d41 Persisting setDeviceVolumeBehavior calls
This change does the following
0. Robustly enforce setDeviceVolumeBehavior.
Prior to this change, setDeviceVolumeBehavior could have been overridden
in cases like HDMI_CEC enable/disable, HDMI re-plug, etc.

1. Persist setDeviceVolumeBehavior across AudioService restarts and
system reboots.
Prior to this change, setDeviceVolumeBehavior was lost on AudioService
crash/restart, or system restart.

2. Persist software volume across reboots.
Prior to this change, HDMI_OUT device was initialized as a "Fixed"
Volume device and then updated to either full volume device or
"variable" volume device based on the outcome of HDMI-Sink's CEC
capabilities. However, when connected to a non-CEC capable sink this
would result in audio resetting to 100% on each reboot.

3. Some refactoring around how mFixedVolumeDevices and
mFullVolumeDevices are updated in some instances.

Bug: 153193369
Bug: 155482023
Test: Locally on ADT3
Change-Id: I4adb38c64fe1ae7713992ab83acbd66bce4524a4
2020-06-22 20:22:01 -07:00
Selim Cinek
523022499e Fix cliping when the media player is fully clipped off
Previously we didn't clip when at height 0, but we still
need to as very often the view ill have height 0.
The clipRect should always be up to date.

Also, removing inactive players when resumption is off
to avoid this completely

Fixes: 159414197
Test: turn off resumption, swipe away media, observe no weird clipping
Change-Id: I30a2fa4fe19d142c8a6472f8368d64e6ac4074d8
2020-06-22 20:14:52 -07:00
David Su
151f172b26 Merge "CONFIGURED_NETWORKS_CHANGED_ACTION: update docs since we stop sending WifiConfiguration" into rvc-dev 2020-06-23 03:06:37 +00:00
TreeHugger Robot
c9ca670cf2 Merge "Fix race condition btwn row and shelf icon init" into rvc-dev 2020-06-23 02:14:32 +00:00
TreeHugger Robot
1d1bc0f550 Merge "Change secure setting that controls skipping of user-facing packages" into rvc-dev 2020-06-23 01:52:57 +00:00
TreeHugger Robot
4eddc20048 Merge "Move pointer after dismissing un-expanded bubble" into rvc-dev 2020-06-23 01:47:21 +00:00
Muhammad Qureshi
271cbbd708 Merge "Remove libstatsmetadata" into rvc-dev 2020-06-23 01:21:42 +00:00
Selim Cinek
f630a82955 Fixed some cases where we were animating Qs even though we shouldn't
When collapsing QS, the player should remain in the qs panel,
since notifications are invisible, which would look odd.
Similarly, when unlocking using fingerprint, we should
keep the media experience where it is.

Fixes: 157553726
Fixes: 156105562
Test: expand qs on lock, directly collapse
Change-Id: I1abd1561e878ad57b8cdc435bfacd40897616ff1
2020-06-22 18:17:58 -07:00
Evan Rosky
27c733c7f7 Merge "Don't use sync transactions if not needed" into rvc-dev 2020-06-23 01:15:10 +00:00
Bill Yi
4d3c34d3eb Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ib347947dcc7f7b82ac0c4e20534ed48aebc06672
2020-06-23 00:57:22 +00:00
TreeHugger Robot
8b9d2ed3ac Merge "Adjusted the expand animation to be smooth again" into rvc-dev 2020-06-23 00:52:50 +00:00
Jeff DeCew
afec78f7f1 Correct RTL layout of media players
Bug: 158021340
Test: manual - press RTL tile and look at player layout.
Change-Id: I39b266acd0b0bd9f9388f87accecff42ca62df01
2020-06-22 20:33:12 -04:00
TreeHugger Robot
5dc36b2f9d Merge "libafw: Use std::free explicitly for overlays" into rvc-dev 2020-06-23 00:26:09 +00:00
TreeHugger Robot
1ef59a811a Merge "Fix disappearing HUN when drag down from heads up" into rvc-dev 2020-06-23 00:24:08 +00:00
Kweku Adams
6cca001863 Merge "Disable restricted bucket." into rvc-dev 2020-06-23 00:13:41 +00:00
TreeHugger Robot
6f85ed6d6f Merge "Fix font families in media controls" into rvc-dev 2020-06-23 00:07:40 +00:00
Lyn Han
c62d4e9f3d Move pointer after dismissing un-expanded bubble
Fixes: 159580757
Test: manual
Change-Id: Ice819c2eca5be20e2746dbfc1951ea78a8084171
2020-06-23 00:07:06 +00:00
Jing Ji
471ef84e33 Merge "Fix memory leak in StrictMode violation throttling" into rvc-dev 2020-06-23 00:04:49 +00:00
Steve Elliott
1bf998e24d Fix race condition btwn row and shelf icon init
Fixes: 154228740
Test: manual
Change-Id: I4bedcc9c50817418a49c4a69d3132c01720cd206
2020-06-22 19:48:39 -04:00
TreeHugger Robot
bc334c00c0 Merge "Disable AudioRecordingDisclosureBar" into rvc-dev 2020-06-22 23:45:52 +00:00
Will Brockman
4567a4c68a Statsd logging: notification controls.
Add Statsd logging for notification controls and app ops controls.

Logging with UiEventLogger events with instance IDs.

A UiEventLogger is injected into NotificationGutsManager which sends
it to NotificationInfo and AppOpsInfo when binding to SBN.

Add tests for both.

Bug: 156398451
Test: atest NotificationInfoTest
Change-Id: I0e77519d7612634faab7666f3b14614b1bbfcb41
Merged-In: I0e77519d7612634faab7666f3b14614b1bbfcb41
2020-06-22 23:40:40 +00:00
TreeHugger Robot
f4b12ac2d3 Merge "Disable output switcher in resumption controls" into rvc-dev 2020-06-22 23:36:28 +00:00
Ruslan Tkhakokhov
7346d708a8 Change secure setting that controls skipping of user-facing packages
Bug: 159648065
Test: N/A

Change the setting key to be 'backup_skip_user_facing_packages'. See the
bug for context.

Change-Id: I315141a509976821c7db311544a5c0f4e6fd1917
2020-06-22 23:31:20 +00:00
Hongwei Wang
d816329580 Updates internal lock task mode state early
When removing a lock task, LockTaskController callbacks status bar on
the lock task mode state change. On the receiver side, SysUI queries
ActivityTaskManager#getLockTaskModeState to updates its SysUiState.

This raises a race condition that SysUI gets a staled lock task state
and uses that info to disable Recents.

PinnedStackTests#testPinnedStackWithDockedStack is flaky since it's
running after PinnedStackTests#testDisallowEnterPipActivityLocked and
relies on Recents being functional.

Bug: 156003518
Test: atest --iteration 5 PinnedStackTests
Change-Id: I1ff3c75c4ad37ee8f3951b8f2d7f2a3b0f8334ce
2020-06-22 16:24:29 -07:00
TreeHugger Robot
7bf84ecb6a Merge "Fix issues with bubbles crashing/removing during expansion." into rvc-dev 2020-06-22 23:24:19 +00:00
TreeHugger Robot
8ebd6996c3 Merge "Update colors on action row." into rvc-dev 2020-06-22 23:18:27 +00:00
Steve Elliott
0c904c32ee Fix disappearing HUN when drag down from heads up
Fixes: 158876811
Test: manual
Change-Id: I88f4debbcce7dd82942eca00118b0e918a0c6540
2020-06-22 19:07:12 -04:00
Ryan Mitchell
c4142d91f5 libafw: Use std::free explicitly for overlays
Currently we rely on libc to call std::free on the malloced pointer to
the overlay table entry. Rather than relying on the libc implementation
to call std::free instead of trying to delete the pointer as if it was
created using "new", explicitly pass std::free as the deleter to the
data held by the std::shared_ptr.

Bug: 159562360
Test: Observed no heap growth while looping infinitely and retrieving
      a string resource overlaid using an inline xml value
Change-Id: I9a2ebaf9a993ad9c44fab8f052430c8142d4347d
2020-06-22 15:50:14 -07:00
Jean-Michel Trivi
38c2ca7698 Merge "Audio: Add CEC volume feature callback" into rvc-dev 2020-06-22 22:20:44 +00:00