Commit Graph

17783 Commits

Author SHA1 Message Date
Yara Hassan
5781186727 Merge "Enabled Content Capture in Service" into rvc-dev am: e081caae5f
Change-Id: I9caf74b18f4138eed5b1669de700d27b9d6d509d
2020-04-03 16:55:48 +00:00
Yara Hassan
e081caae5f Merge "Enabled Content Capture in Service" into rvc-dev 2020-04-03 16:53:42 +00:00
Amith Yamasani
c8cc71a091 Merge "Mark secondary lockscreen API as SystemApi." into rvc-dev am: 040563da5f
Change-Id: Idd633967cc9eb5f16d7dbf29de9f2ea6efb09e1e
2020-04-03 14:28:23 +00:00
Amith Yamasani
040563da5f Merge "Mark secondary lockscreen API as SystemApi." into rvc-dev 2020-04-03 14:13:43 +00:00
Bernardo Rufino
f2c0580ea2 Merge "Rename test in TEST_MAPPING" into rvc-dev am: 884e9515d6
Change-Id: Ia0c52ca3580daec1ed4392fbf1b2f11f9ba9ef0c
2020-04-03 10:21:09 +00:00
Bernardo Rufino
884e9515d6 Merge "Rename test in TEST_MAPPING" into rvc-dev 2020-04-03 10:02:09 +00:00
Bernardo Rufino
434c17c0e6 Rename test in TEST_MAPPING
ToastTest became ToastWindowTest in ag/10919524, updating TEST_MAPPING
to reflect that.

Test: croot frameworks/base/core/java/android/app && atest --dry-run --test-mapping
Test: croot frameworks/base/core/java/android/widget && atest --dry-run --test-mapping
Test: croot frameworks/base/services/core/java/com/android/server && atest --dry-run --test-mapping
Bug: 152973950
Change-Id: I5b9e9b83d17c4a93a1e830c26d7f44001ccf175d
2020-04-03 08:48:00 +01:00
Jing Ji
2173365c0e Merge "Fix some Java doc errors" into rvc-dev am: 0cfca4a3c4
Change-Id: I948baf8f73c4ccec44574dc167ae34219e432be1
2020-04-03 07:46:54 +00:00
Jing Ji
e2757e64b7 Fix some Java doc errors
Bug: 148413462
Test: Manual
Change-Id: Idfabf5ac6548fd821bc69afb3588c1d124d0011b
2020-04-02 14:27:04 -07:00
Makoto Onuki
36bfe3e01c Merge "Add WTF when a system server wrapper can't be found" into rvc-dev am: bea34c409f
Change-Id: I046320bca3c7faa63fb296ceb36f3c0e5559e765
2020-04-02 20:51:09 +00:00
Makoto Onuki
bea34c409f Merge "Add WTF when a system server wrapper can't be found" into rvc-dev 2020-04-02 20:39:32 +00:00
Adam Bookatz
08da76161c Merge "Avoid getUserBadgeNoBackgroundResId if no badge" into rvc-dev am: 2f559add63
Change-Id: I703ba5f4dd669f4461aca1597763e4ba05336400
2020-04-02 19:00:17 +00:00
Adam Bookatz
2f559add63 Merge "Avoid getUserBadgeNoBackgroundResId if no badge" into rvc-dev 2020-04-02 18:42:07 +00:00
Yara Hassan
6b6c4b1889 Enabled Content Capture in Service
Bug: 150451947
Fix: 150451947
Test: Locally
Change-Id: Icbcbe4c46c4c5eb39b176b80c01dcce96f9dfbbd
2020-04-02 12:25:35 +01:00
Yvonne Jiang
70a62376d0 Mark secondary lockscreen API as SystemApi.
It is currently not meant for use by general enterprise device admins.

Bug: 152478326

Test: atest FrameworksServicesTests:DevicePolicyManagerTest
Test: atest KeyguardUpdateMonitorTest
Test: atest AdminSecondaryLockScreenControllerTest
Change-Id: I6d60bc35a4e8f74b1da55b042582a2f2fa89d57f
2020-04-02 08:41:04 +00:00
Makoto Onuki
a455e5e281 Add WTF when a system server wrapper can't be found
2nd try -- enable it only within the system server.

This is to detect someone trying to access system services too
early during a boot.

Bug: 149406139
Test: Boot with "adb logcat | grep -w SystemServiceRegistry" and make sure no wtf is logged
Change-Id: I64c6776cedaeb534d98621db2955d585e6846b8d
2020-04-01 17:27:58 -07:00
Steve Elliott
4c89ecc3c4 Merge changes Ie5bfc2f6,I38e7dc8c,I9308a15a into rvc-dev am: 4605ca9daa
Change-Id: I154229f393c1d32d2f9774423937d25157716dac
2020-04-01 17:52:59 +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
1bdc601c4f Merge "Add TestApi interfaces for window organizers" into rvc-dev am: 1df5eb0130
Change-Id: I2bbb327fede2bb789669e55f8dedb586e4384999
2020-04-01 13:43:41 +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
cc679e9085 Merge "Add task organizer based task embedder" into rvc-dev am: a531f922c9
Change-Id: Ic9e56948f6afc0449c0c5383c009947e1c4a707e
2020-03-31 21:02:13 +00:00
Winson Chung
a531f922c9 Merge "Add task organizer based task embedder" into rvc-dev 2020-03-31 20:59:17 +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
7476896ef3 Merge changes I0d79642d,If8756ac8,I29e73897,Ia8c5121a,I533b8f06 into rvc-dev am: 9bad85af2b
Change-Id: Ib0602cec00fb8468fa46cc233cbc141d51871d01
2020-03-31 20:12:57 +00: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
Adam Bookatz
9b6d51e688 Avoid getUserBadgeNoBackgroundResId if no badge
Checks whether there actually is a badge before
calling getUserBadgeNoBackgroundResId.
(Otherwise a logcat error would have been logged, since
it is only expected to be called if there is indeed
a badge.)

Test: manual confirmation that logcat error is gone
Bug: 142482943
Change-Id: I635529d9c114b399e5626bdbb143aab29ae81a4b
2020-03-31 19:35:57 +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
d4922dbf83 Merge "Remove replaced BubbleMetadata methods from SDK." into rvc-dev am: 603713009e
Change-Id: I68e991a45ac39a98b2aa74cd5cd914f21e10149f
2020-03-30 21:15:23 +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
f6f7c191c7 Merge "Whitelist for package broadcasts" into rvc-dev am: 3dfc45e593
Change-Id: I9188b90f6c552e93c0d563b966e806dbe9a76aea
2020-03-30 20:33:23 +00:00
Patrick Baumann
3dfc45e593 Merge "Whitelist for package broadcasts" into rvc-dev 2020-03-30 20:28:59 +00:00
TreeHugger Robot
d9a6cf2ac6 Merge "Fix incorrectly assigned constant in AppOpsManager" into rvc-dev am: 7f212788d1
Change-Id: I00bf1495611e31ad88251eed6bb3a59599cd9d39
2020-03-30 18:10:44 +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
ac009ade58 Merge "Synchronize before calling unstableRemoveIf" into rvc-dev am: ad5a070a87
Change-Id: I415b3511766737263102258000b4be147342171f
2020-03-30 15:49:03 +00:00
Ryan Mitchell
ad5a070a87 Merge "Synchronize before calling unstableRemoveIf" into rvc-dev 2020-03-30 15:44:00 +00:00
TreeHugger Robot
e528b63957 Merge "Remove the @hide from ContextImpl#bindServiceAsUser" into rvc-dev am: 99960a5f79
Change-Id: Ib08500fa9e663426ae118ceb2d59cb7678490c5e
2020-03-30 10:53:44 +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