Steve Elliott
f80e65cb74
Merge changes Ie5bfc2f6,I38e7dc8c,I9308a15a into rvc-dev am: 4605ca9daa am: 33449a1a70
...
Change-Id: I58b798384785d423588389e8365f862e7e630815
2020-04-01 18:11:22 +00:00
Steve Elliott
4605ca9daa
Merge changes Ie5bfc2f6,I38e7dc8c,I9308a15a into rvc-dev
...
* changes:
Reinflate notif when [un]marked as conversation
Update conversation UI when importance changed
Add unread count badge to conversation layout
2020-04-01 17:34:36 +00:00
Wale Ogunwale
f8385e93f1
Merge "Add TestApi interfaces for window organizers" into rvc-dev am: 1df5eb0130 am: d5c303746b
...
Change-Id: Iaeb7bc6426c4e0c3fc423b39804cd43f5ec7b00a
2020-04-01 13:56:24 +00:00
Wale Ogunwale
adf116ec95
Add TestApi interfaces for window organizers
...
Enables testing the API surfaces from CTS.
Bug: 149338177
Test: they pass!
Change-Id: I7e1f2852585a10c20d299bd87e9a87f828d06d6a
2020-04-01 13:25:23 +00:00
Winson Chung
2fd7d58492
Merge "Add task organizer based task embedder" into rvc-dev am: a531f922c9 am: 885c9c1431
...
Change-Id: I46d9405466c0553f4776175242a121262f002eed
2020-03-31 21:12:08 +00:00
Winson Chung
a531f922c9
Merge "Add task organizer based task embedder" into rvc-dev
2020-03-31 20:59:17 +00:00
Selim Cinek
d318667715
Merge changes I0d79642d,If8756ac8,I29e73897,Ia8c5121a,I533b8f06 into rvc-dev am: 9bad85af2b am: 3bd1a83e56
...
Change-Id: Ife8cc27b7c9be4042b332c45425a43f17dbc6ef2
2020-03-31 20:22:31 +00:00
Steve Elliott
239e6cb1df
Add unread count badge to conversation layout
...
Fixes: 152303800
Test: manual, visual
Change-Id: I9308a15ab223086398ba073b08d60cb7c50d8c30
2020-03-31 16:20:39 -04:00
Selim Cinek
9bad85af2b
Merge changes I0d79642d,If8756ac8,I29e73897,Ia8c5121a,I533b8f06 into rvc-dev
...
* changes:
Indented the conversation action list
Fixed some issues where conversation badges would not be visible
Improved the animations of the conversation badges
Important conversations now also transform into the shelf
Adapted Shelf algorithm to also use conversation icons
2020-03-31 20:02:01 +00:00
Neil Fuller
71271db6bf
Merge "Misc tidy up before adding geolocation classes" into rvc-dev
2020-03-31 14:52:09 +00:00
Winson Chung
a1f869d10e
Add task organizer based task embedder
...
- Split TaskEmbedder into its current VirtualDisplay implementation
and an implementation that uses task org to create and manage
the task
- Use the task org embedder implementation in separate bubble task view
- Skip task org tasks from triggering task resizing
- Add task org callback for back press on task root if requested
Bug: 148977538
Test: atest CtsWindowManagerDeviceTestCases:ActivityViewTest
Test: atest WmTests:TaskOrganizerTests
Change-Id: Id422bb2547197c617f914ed7cf5085e02a1c3fb5
2020-03-30 23:29:08 +00:00
Selim Cinek
79d9863ebc
Adapted Shelf algorithm to also use conversation icons
...
Previously the algorithm would only work with a header
and the icon wouldn't transform into the shelf.
This is now fixed.
Bug: 150905003
Test: add conversation notification, observe normal transition
Change-Id: I533b8f06bee29ee93888d748808b4313fef338e8
2020-03-30 16:18:09 -07:00
Michael Wright
b7daef2c6b
Merge "Remove replaced BubbleMetadata methods from SDK." into rvc-dev am: 603713009e am: 40a333403b
...
Change-Id: I54bdda02a0ef2b3cdb55c7a7144e21d0c8f0e0cb
2020-03-30 21:38:03 +00:00
Automerger Merge Worker
c6727fa8d8
Merge "Merge "Whitelist for package broadcasts" into rvc-dev am: 3dfc45e593" into rvc-d1-dev am: 880d82c121
...
Change-Id: Id09572a73f0d482e4d9643040fdbb0b2ec7f17fd
2020-03-30 21:37:15 +00:00
Michael Wright
603713009e
Merge "Remove replaced BubbleMetadata methods from SDK." into rvc-dev
2020-03-30 20:58:43 +00:00
Patrick Baumann
3dfc45e593
Merge "Whitelist for package broadcasts" into rvc-dev
2020-03-30 20:28:59 +00:00
TreeHugger Robot
241c41c234
Merge "Fix incorrectly assigned constant in AppOpsManager" into rvc-dev am: 7f212788d1 am: f4db961415
...
Change-Id: Iae5789424c1c375681ab3467767260060d75b876
2020-03-30 19:25:00 +00:00
Ryan Mitchell
bee05d03c0
Merge "Synchronize before calling unstableRemoveIf" into rvc-dev am: ad5a070a87 am: 84e64c26ee
...
Change-Id: I4cbd38c8e7909e0202b331078d61e95e1c4304f2
2020-03-30 19:10:43 +00:00
TreeHugger Robot
ca6a8479fa
Merge "Remove the @hide from ContextImpl#bindServiceAsUser" into rvc-dev am: 99960a5f79 am: 9a83537d75
...
Change-Id: I3e19b093b1c0e101bbe2a1a60ea5369256bd505c
2020-03-30 18:57:55 +00:00
Michael Wright
b6ffb2293e
Remove replaced BubbleMetadata methods from SDK.
...
Prior to finalization, we need to remove all methods which were
replaced but kept around for short-term compatibility purposes.
BubbleMetadata had a few methods that fell into this category that had
yet to be removed.
Bug: 152761169
Test: build
Change-Id: Ic9f8d600721e15119fc28d308ff1bc444d61e399
2020-03-30 19:02:37 +01:00
TreeHugger Robot
7f212788d1
Merge "Fix incorrectly assigned constant in AppOpsManager" into rvc-dev
2020-03-30 17:49:17 +00:00
Patrick Baumann
b66d65fa18
Whitelist for package broadcasts
...
This change adds a whitelist of UIDs that package change broadcasts may
be sent to. This must be pre-calculated and stored in memory before the
package is updated or modified as the visibility may change during that
transaction.
Test: atest PackageManagerTests AppsFilterTest AppEnumerationTests
Fixes: 143534210
Change-Id: I003c54528141d8b03033f8241559dd5895df064a
2020-03-30 09:47:55 -07:00
Ryan Mitchell
ad5a070a87
Merge "Synchronize before calling unstableRemoveIf" into rvc-dev
2020-03-30 15:44:00 +00:00
Stanislav Zholnin
5c88c73306
Fix incorrectly assigned constant in AppOpsManager
...
Fix: 152268751
Test: atest AppOpsUpgradeTest#testUpgradeFromNoVersion
Change-Id: Ie2bbe6d23d8860e15091b24040c2473151ca24fd
2020-03-29 21:46:35 +01:00
Alex Kershaw
9a8bf9a7f9
Remove the @hide from ContextImpl#bindServiceAsUser
...
The method is already public in Context, but the @hide wasn't removed
from the javadoc of the subclass.
Fixes: 150123286
Test: m -j
Change-Id: I53f999f99d2ad64f930beedb262affffbe13764f
2020-03-29 15:07:23 +01:00
Hui Yu
b9bbcde222
Merge changes from topic "foregroundServiceType camera/microphone" into rvc-dev am: 5e089a4af5
...
Change-Id: I259b6e1547a31fcfbc72112511fadcd52c956754
2020-03-28 05:26:30 +00:00
Hui Yu
5e089a4af5
Merge changes from topic "foregroundServiceType camera/microphone" into rvc-dev
...
* changes:
Turn on foregroundServiceType camera/microphone feature in enforcement mode.
Exempt device owner uid from FGS BG restriction.
2020-03-28 05:14:47 +00:00
TreeHugger Robot
14faaa5790
Merge "Only runtime and appop perms need to be in RUNTIME_AND_APPOP_PERMISSIONS_OPS" into rvc-dev am: 03eb7a1bf2
...
Change-Id: Ie1ac35bdf9f0f34d0da9b89bfe3a5eccb63a1cb1
2020-03-28 02:59:12 +00:00
TreeHugger Robot
03eb7a1bf2
Merge "Only runtime and appop perms need to be in RUNTIME_AND_APPOP_PERMISSIONS_OPS" into rvc-dev
2020-03-28 02:49:48 +00:00
TreeHugger Robot
a17b77c14b
Merge "Respect app-ops permission in FileIntegrityService" into rvc-dev am: 0e6240f8b9
...
Change-Id: I794029bf4ae9c4bb0fed47afbbb8100e9cc8de58
2020-03-28 00:00:49 +00:00
TreeHugger Robot
0e6240f8b9
Merge "Respect app-ops permission in FileIntegrityService" into rvc-dev
2020-03-27 23:52:59 +00:00
Chris Li
1ec1c6f420
Merge "Report incorrect context usage in ViewConfiguration" into rvc-dev am: c64d21d47a
...
Change-Id: I52468deb202f7254804f3a7733d20361c636f9c7
2020-03-27 20:31:25 +00:00
Chris Li
c64d21d47a
Merge "Report incorrect context usage in ViewConfiguration" into rvc-dev
2020-03-27 20:19:15 +00:00
Hongwei Wang
90e8db2972
Merge "Start PiP dismiss from SysUI via TaskOrganizer" into rvc-dev am: 37c91d5ef5
...
Change-Id: Ib7263b33fac023197834b1c189d865329ebdae3d
2020-03-27 19:40:53 +00:00
Hongwei Wang
37c91d5ef5
Merge "Start PiP dismiss from SysUI via TaskOrganizer" into rvc-dev
2020-03-27 19:27:08 +00:00
Philip P. Moltmann
db4f83732e
Only runtime and appop perms need to be in RUNTIME_AND_APPOP_PERMISSIONS_OPS
...
Test: TH
Bug: 146513245
Change-Id: I69d9154a32c36a31115570cd958aa338db64ea27
2020-03-27 12:10:04 -07:00
Victor Hsieh
b07f4854b5
Respect app-ops permission in FileIntegrityService
...
Previous permission doesn't consider REQUEST_INSTALL_PACKAGES permission
as an app-ops permission.
Bug: 152009905
Test: atest GtsPlayFsiTestCases
Test: remove appops setup from AndroidTest.xml, the same test failed
Change-Id: Icdbf6bb35fe146c5be8a97e29c4c554b3ce91b5d
2020-03-27 09:23:41 -07:00
Chris Li
bfe1b70fcd
Report incorrect context usage in ViewConfiguration
...
Before, the documentation said that the passed context is an application context, which is incorrect to get the density, window metrics, and window manager. We should use visual context to get these instead.
Bug: 151474461
Test: StrictModeTest#testIncorrectContextUse_GetViewConfiguration
Change-Id: Iea28d727cafbb3ec8536742c6a0e594f73fe5a51
2020-03-26 22:09:28 -07:00
Winson Chung
f8d6b4b3b6
Merge "Skip excluded MW mode tasks from recents and running tasks" into rvc-dev am: fa6a50484b
...
Change-Id: I4a4cb4e44ea59d420f49b6fff173df38f5653615
2020-03-27 03:03:18 +00:00
Winson Chung
fa6a50484b
Merge "Skip excluded MW mode tasks from recents and running tasks" into rvc-dev
2020-03-27 02:37:10 +00:00
Ryan Mitchell
c23b0165f8
Synchronize before calling unstableRemoveIf
...
The call to unstableRemoveIf should be synchronized on the
ResourcesManager instance since the collection belongs to the instance.
Also remove dead code from the loader refactor to prevent apps from
creating AssetManagers that return InputStreams instead of
AssetInputStreams.
Bug: 145510133
Test: boots
Change-Id: I50bcfc8e882f3d8a7827688e32f68790dd226801
2020-03-26 19:28:09 -07:00
Hui Yu
7cfe82b0ba
Exempt device owner uid from FGS BG restriction.
...
Bug: 136219221
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java
Change-Id: Ic7c592d711e89fcea0ebd7ccc5e33512a0bf03dc
2020-03-26 16:07:42 -07:00
Ricardo Correa
535d528a35
Merge "Revert "Include an AppOp to allow dialer role app to record and play audio into calls"" into rvc-dev am: cc25d392fe
...
Change-Id: Ia603d14c71cb565a082f471a8b1c04a76a47f900
2020-03-26 22:25:06 +00:00
Ricardo Correa
cc25d392fe
Merge "Revert "Include an AppOp to allow dialer role app to record and play audio into calls"" into rvc-dev
2020-03-26 22:23:54 +00:00
Ricardo Correa
acdc827501
Revert "Include an AppOp to allow dialer role app to record and play audio into calls"
...
This reverts commit e96b5668b3 .
Reason for revert: Feature has been postponed
Bug: 151761909
Change-Id: I7db5fb79d52b3da33b84bb07d1f612be760299c2
2020-03-26 11:57:01 -07:00
Alex Johnston
36fdaed643
Merge "Make FRP APIs callable by Settings" into rvc-dev am: 7bd3e833ce
...
Change-Id: I20f4d085bdbf299526353ba8d595ae72ca8a8f27
2020-03-26 13:19:43 +00:00
Alex Johnston
7bd3e833ce
Merge "Make FRP APIs callable by Settings" into rvc-dev
2020-03-26 12:58:48 +00:00
Charles Chen
f46d21bb0f
Merge "Rename createBaseActivityResources to createBaseTokenResources" into rvc-dev am: 0cb6d3fd3d
...
Change-Id: Id06e5833d203df88550fe400a739dcd288b67494
2020-03-26 02:45:49 +00:00
Charles Chen
0cb6d3fd3d
Merge "Rename createBaseActivityResources to createBaseTokenResources" into rvc-dev
2020-03-26 02:40:47 +00:00
Jing Ji
d96595a092
Merge "Update doc for ApplicationExitInfo.getDefiningUid" into rvc-dev am: 52f4d8d9f2
...
Change-Id: Ic66e2a57d7978fe65bc568501d8994d45e5f53ed
2020-03-26 01:05:24 +00:00