Commit Graph

479962 Commits

Author SHA1 Message Date
Nathan Harold
89796d4936 Allow Background Location Access for Shell
The shell has COARSE and FINE permission, but it
needs background access to support CTS test cases
that must be run with elevated permissions from
the shell.

Bug: 159236070
Test: atest PhoneStateListenerTest#testBarringInfo

Change-Id: Iba3fcb3a43c5df3c30dadf6b7733eaee03d1d0e3
2020-06-19 09:03:29 -07:00
Lucas Dupin
df9b697804 Merge "Hook up media player resumption to UI" into rvc-dev 2020-06-16 01:46:40 +00:00
TreeHugger Robot
87963f6207 Merge "Dump MediaDeviceManager state" into rvc-dev 2020-06-16 00:25:53 +00:00
Lucas Dupin
84f5a0e713 Hook up media player resumption to UI
Fixes: 157926365
Fixes: 158691042
Test: atest MediaControlPanelTest
Test: atest MediaDataCombineLatestTest
Test: atest MediaDeviceManagerTest
Test: atest MediaTimeoutListenerTest
Test: with media playing:
      - got from keyguard to QS
      - got from keyguard to QQS
      - got from QQS to QS
      repeat after media timeout
Change-Id: I3f6ccd69b06c328ce528959b868eb194fbf4ca9e
2020-06-15 17:02:39 -07:00
Hall Liu
3263b53e2f Merge "Add more docs about location permission" into rvc-dev 2020-06-15 23:48:19 +00:00
TreeHugger Robot
8f8af41376 Merge "Revert "decouple Bubble from NotificationEntry"" into rvc-dev 2020-06-15 23:34:01 +00:00
Pinyao Ting
2e73117c0e Revert "decouple Bubble from NotificationEntry"
This reverts commit d07c2deaf0.

Reason for revert: debug test failure in b/158986168

Bug: 158986168
Change-Id: I10cb613e4f160561c06944aebccaf16c090bcd9e
2020-06-15 23:31:57 +00:00
Diego Vela
ada8355bc5 Merge "Downgrade Window JetPack" into rvc-dev 2020-06-15 23:25:38 +00:00
Robert Snoeberger
9b44058249 Dump MediaDeviceManager state
This will help with investigating issues where the output switcher chip
is showing the wrong device name.

Bug: 158813254
Test: manual - cast from Spotify and then take a bug report. Search in
the bug report for `MediaDeviceManager`.

Change-Id: Ia57498363bd0c2520696be90c094b77b91543824
2020-06-15 19:05:54 -04:00
TreeHugger Robot
af5f762072 Merge "Fix disappear animation" into rvc-dev 2020-06-15 23:03:48 +00:00
Nathan Harold
b1755b5e16 Merge "Add TelephonyRegistry LOCATION checks" into rvc-dev 2020-06-15 23:00:57 +00:00
TreeHugger Robot
c311f914d5 Merge "[pm] use abi info from parsedPackage during getNativeLibraryPaths" into rvc-dev 2020-06-15 22:56:13 +00:00
Taran Singh
466a3e5bfa Merge "PIP window cant be ime target." into rvc-dev 2020-06-15 22:42:02 +00:00
Evan Rosky
c5304b1a61 Merge "Track recents like home for times when it is separated" into rvc-dev 2020-06-15 22:30:40 +00:00
Heemin Seog
c8f49d1a42 Merge "Don't use flexible inset mapping yet" into rvc-dev 2020-06-15 22:27:43 +00:00
TreeHugger Robot
f664b6d0d9 Merge "Be super safe" into rvc-dev 2020-06-15 22:09:47 +00:00
Hall Liu
99115ac610 Add more docs about location permission
Add documentation that indicates the requirement for location
permissions to more methods and constants in PhoneStateListener.

Bug: 158523376
Test: docs only
Change-Id: I9d785fd0fc9671652c4edb3bf7cc6184273120b8
2020-06-15 14:54:34 -07:00
Jorim Jaggi
b0c0155a36 Fix disappear animation
Make sure IME animation aligns with overall timing of disappear
animation. Otherwise, there will be jank. For that, we just do
1/4 of the height and fade it out as well.

Bug: 156367695
Change-Id: I9b35cf493895b7206bf12208a531e35dbefff1fc
2020-06-15 23:35:55 +02:00
TreeHugger Robot
97d794084d Merge "Mark bucket as condition_unknown properly" into rvc-dev 2020-06-15 21:22:24 +00:00
Amy Zhang
cea1d98cde Merge "Update media resourceManagerService with the Application pid" into rvc-dev 2020-06-15 21:00:18 +00:00
Mady Mellor
9ec5226416 Be super safe
Test: treehugger
Fixes: 158913439
Change-Id: I741a906a41c3557e048d5b946b893d3369b7175f
2020-06-15 13:58:17 -07:00
Taran Singh
b38e5406b0 PIP window cant be ime target.
Check both Task and ActivityRecord windowing mode to make sure
PIP window can't become IME target.

Bug: 156915118
Test: Manually using steps mentioned in bug.
Change-Id: Ie6de7f31c36978fe8ec5aef2105b5e7edff5fa32
2020-06-15 20:42:21 +00:00
Selim Cinek
fc8443cf9d Merge "Fixed an issue where the Device output chip lost its alpha" into rvc-dev 2020-06-15 20:17:32 +00:00
TreeHugger Robot
7577e1d2cf Merge "Set PageIndicator pages in QSPanel#onMeasure" into rvc-dev 2020-06-15 20:16:38 +00:00
TreeHugger Robot
9ac716fc8b Merge "Properly handle situation when currentOpPackageName returns null." into rvc-dev 2020-06-15 20:06:31 +00:00
TreeHugger Robot
721a3ac836 Merge "Controls UI - Update bg color for Stateless templates" into rvc-dev 2020-06-15 18:55:43 +00:00
Miranda Kephart
3a9ce8d11a Merge "Revert "Post a silent notification if screenshot is dismissed"" into rvc-dev 2020-06-15 18:45:29 +00:00
Heemin Seog
c5dd7df61c Don't use flexible inset mapping yet
Bug: 155126599
Test: atest DialogFrameTests, atest WindowInsetsControllerTests
Change-Id: I6f5332dc605f9f73e41c41c21a11c1e09e978a14
2020-06-15 11:34:46 -07:00
Evan Rosky
40f7d48309 Merge "Adjust drag regions to accomodate split-minimized home" into rvc-dev 2020-06-15 18:12:30 +00:00
Mohammad Samiul Islam
4c11355e08 Merge "Prevent sessions from resuming once boot is completed" into rvc-dev 2020-06-15 18:11:05 +00:00
Winson Chung
813ac747b6 Merge "Minor touch changes for resizing" into rvc-dev 2020-06-15 18:05:48 +00:00
TreeHugger Robot
928625a8b5 Merge "Call the scrim unlock callback when transitioning to BUBBLES_EXPANDED." into rvc-dev 2020-06-15 18:00:33 +00:00
Ben Lin
32724409f5 Merge "PiP: Animate resize even if the bounds are the same." into rvc-dev 2020-06-15 17:44:45 +00:00
Amy Zhang
ccdbc4ddd8 Update media resourceManagerService with the Application pid
This CL updates the media resourceManagerService calling pid with the
real application pid when TunerResourceManager is able to get this
information from TvInputManager. Calling
IResourceManagerService.overridePid to update.

Test: dumpsys media.resource_manager on cuttlefish
Bug: 150989423
Change-Id: Ie811ae15bbcc326ed3a09f97b6b5a57f4b48b094
2020-06-15 17:40:34 +00:00
TreeHugger Robot
c4568caf2c Merge "Catch SqlLiteException if database query throws an exception in CalendarTracker.java" into rvc-dev 2020-06-15 17:35:33 +00:00
Matt Pietal
5a5de403c9 Controls UI - Update bg color for Stateless templates
Provides a basic indication that an action is in progress. Also, do
no tint app icons.

Fixes: 158289112
Test: manual, mock app with TYPE_ROUTINE
Change-Id: I7f9db43dd895dd94ac1ec32d1f0339d84c414938
2020-06-15 13:29:57 -04:00
TreeHugger Robot
14a02055eb Merge "Remove obsolete string resource." into rvc-dev 2020-06-15 17:20:40 +00:00
TreeHugger Robot
7566f6d34c Merge "Properly collapse QQS header when QQS is disabled" into rvc-dev 2020-06-15 17:06:17 +00:00
Evan Rosky
910089a8ab Track recents like home for times when it is separated
when using 3p launchers, recents is a separate stack. As
such we need to make sure that the recents root is provided
when asked for just like home is.

Bug: 158851728
Test: Using 3p launcher in split-secondary, open recents
Change-Id: I90dc6e75a718aa142c870b87bd93081e259acdea
2020-06-15 10:05:26 -07:00
Songchun Fan
96044c8186 [pm] use abi info from parsedPackage during getNativeLibraryPaths
BUG: 158795052
Test: manual
Change-Id: I4b85136a278790bc7f5676bf353ef836b657e65f
2020-06-15 09:58:29 -07:00
Selim Cinek
addcaf9f51 Merge "Fading in edit button much later" into rvc-dev 2020-06-15 16:48:02 +00:00
TreeHugger Robot
e0ba6d9dff Merge "Don't provide read logs for shell-initiated installations." into rvc-dev 2020-06-15 16:38:32 +00:00
Eugene Susla
4b3418bfed Merge "Exempt companion apps from auto revoke" into rvc-dev 2020-06-15 16:38:27 +00:00
Jay Aliomer
284afca897 Merge "Dark theme twilight mode not initializing properly" into rvc-dev 2020-06-15 16:30:02 +00:00
Stanislav Zholnin
9edce64ef2 Properly handle situation when currentOpPackageName returns null.
Fixes: 158309330
Test: adb shell content query --uri content://com.android.contacts/data --projection  contact_id:raw_contact_id:_id:display_name:last_time_used:data1:account_type:mimetype
Change-Id: I6c5d0c4fef150ba45721d474ac0f83778d543467
2020-06-15 17:28:33 +01:00
Ned Burns
59a62fc264 Properly collapse QQS header when QQS is disabled
In landscape, we need to fully hide the QQS when the user starts to do
an inline reply, otherwise nothing fits on the screen. This CL adds back
in some of the old Q behavior wherein we set the height of the header to
essentially zero when the QQS has been disabled (in this case, by the
inline reply logic).

Fixes: 157150870
Test: manual
Change-Id: Ib14603eb2e67bf4bf3b624b677a74754d4e54f41
2020-06-15 11:55:40 -04:00
Beverly
8c736aa4f9 Set PageIndicator pages in QSPanel#onMeasure
Pre-emptively update PageIndicator's numPages before measuring in
QSPanel so that views will be appropriately measured. Previously, new
PageIndicator child views would be added in the middle of a QSPanel layout pass
after already being measured, so the new PageIndicator child wouldn't be
measured.

Test: manually add and remove new QS tiles. rotate between landscape +
portrait modes. observe the PageIndicator is correct.
Fixes: 157542221

Change-Id: Ic1bb29039dd12993a50758bf48a4ad792d8cdfc3
2020-06-15 15:51:42 +00:00
Will Brockman
0e93473703 Merge "More accurate notification panel logs." into rvc-dev 2020-06-15 15:44:29 +00:00
Steve Elliott
c744ad246e Merge "Fix occasional bad placement of Conversation header" into rvc-dev 2020-06-15 14:56:14 +00:00
Riddle Hsu
541633e3d6 Merge "Set pillar box bounds in fixed orientation display" into rvc-dev 2020-06-15 14:36:32 +00:00