Commit Graph

17980 Commits

Author SHA1 Message Date
TreeHugger Robot
5d245a5283 Merge "Fix incorrectly assigned constant in AppOpsManager" into rvc-dev am: 7f212788d1 am: f4db961415 am: 241c41c234 am: 283587b36e
Change-Id: Ib74327b9fd3015ae5185816bc044cc8a2462525f
2020-03-31 05:33:00 +00:00
Ryan Mitchell
d5c3aff922 Merge "Synchronize before calling unstableRemoveIf" into rvc-dev am: ad5a070a87 am: 84e64c26ee am: a1a1a212cf am: 61f1cc5152 am: c928850493
Change-Id: I6b6b04dc2ed082852fd1a2903f9e374ac2ff840d
2020-03-31 04:35:52 +00:00
TreeHugger Robot
a2cffc5497 Merge "Remove the @hide from ContextImpl#bindServiceAsUser" into rvc-dev am: 99960a5f79 am: 9a83537d75 am: 05ea8718f0 am: 14fc6c9c6c am: e8446c2595
Change-Id: If71d524ba815dfe45b5e73e92aaabb91525a6905
2020-03-30 23:35:48 +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
Ryan Mitchell
c928850493 Merge "Synchronize before calling unstableRemoveIf" into rvc-dev am: ad5a070a87 am: 84e64c26ee am: a1a1a212cf am: 61f1cc5152
Change-Id: I3cb64c81ee030b2953dacdb16e5fbfab8d5d21be
2020-03-30 18:18:14 +00:00
TreeHugger Robot
e8446c2595 Merge "Remove the @hide from ContextImpl#bindServiceAsUser" into rvc-dev am: 99960a5f79 am: 9a83537d75 am: 05ea8718f0 am: 14fc6c9c6c
Change-Id: Ib6629bd4726d3b36be8f4a50e76704d3c1fe4405
2020-03-30 18:14:34 +00:00
TreeHugger Robot
7f212788d1 Merge "Fix incorrectly assigned constant in AppOpsManager" into rvc-dev 2020-03-30 17:49:17 +00: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
70005b037b Merge changes from topic "foregroundServiceType camera/microphone" into rvc-dev am: 5e089a4af5 am: b9bbcde222 am: 89b0c1e1de am: d80711e75f
Change-Id: Ibe086d300a0e79ace620ed6cc9f4ac60e226dc20
2020-03-28 06:12:46 +00: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
b7247dbfb2 Merge "Only runtime and appop perms need to be in RUNTIME_AND_APPOP_PERMISSIONS_OPS" into rvc-dev am: 03eb7a1bf2 am: 14faaa5790 am: 05a5bb343c am: f449a87593
Change-Id: I7904d3327d07149849987bf91c0f1f2532aad882
2020-03-28 03:37:33 +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
5532a9e34f Merge "Respect app-ops permission in FileIntegrityService" into rvc-dev am: 0e6240f8b9 am: 528f161483 am: 322f3df56f am: 027cf65da8
Change-Id: If725ffa114aca24c10623aa43235b2940cf00231
2020-03-28 00:45:55 +00:00
TreeHugger Robot
322f3df56f Merge "Respect app-ops permission in FileIntegrityService" into rvc-dev am: 0e6240f8b9 am: 528f161483
Change-Id: Ie5281067b09a3e5291f952154fb7203e7a941306
2020-03-28 00:06:45 +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
f5e484ea7a Merge "Report incorrect context usage in ViewConfiguration" into rvc-dev am: c64d21d47a am: 5d0046ee46 am: bcbe1c853b am: bd88785e86
Change-Id: I51e744faf91439f7ed454c67906f7396f97f8c24
2020-03-27 22:16:16 +00:00
Hongwei Wang
8de4327c82 Merge "Start PiP dismiss from SysUI via TaskOrganizer" into rvc-dev am: 37c91d5ef5 am: 90e8db2972 am: c8b9b15c9d am: 73a3b32354
Change-Id: I678f6fcbd402c2c273f9edb5821a73a3770ee771
2020-03-27 20:41:17 +00:00
Chris Li
bcbe1c853b Merge "Report incorrect context usage in ViewConfiguration" into rvc-dev am: c64d21d47a am: 5d0046ee46
Change-Id: I756e272599474af76db88ffd6c6624a62a48b530
2020-03-27 20:36:17 +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
TreeHugger Robot
85f2116091 Merge "Add public API for @hidden Bitmap#createAshmemBitmap" 2020-03-27 16:08:33 +00: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
07b821d68b Merge "Skip excluded MW mode tasks from recents and running tasks" into rvc-dev am: fa6a50484b am: 5dc4cf4d96 am: a64cafdb92 am: 9b89655a97 am: b8877744bf
Change-Id: Ice3d0421496e0c05e231c29a3e5ad58458d78ca8
2020-03-27 04:14:44 +00:00
Winson Chung
b8877744bf Merge "Skip excluded MW mode tasks from recents and running tasks" into rvc-dev am: fa6a50484b am: 5dc4cf4d96 am: a64cafdb92 am: 9b89655a97
Change-Id: I8153929d0366ade23daf0b0a77acbca2842a88a5
2020-03-27 03:37:45 +00: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
Ricardo Correa
e714908e93 Merge "Revert "Include an AppOp to allow dialer role app to record and play audio into calls"" into rvc-dev am: cc25d392fe am: 535d528a35 am: 2dafaee036 am: 6567b7a7d9
Change-Id: I114b06850e7914df4350d3fef2ca439edd93b0d0
2020-03-26 23:41:43 +00: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
Leon Scroggins
2a1b63c7df Merge "Convert ScreenshotGraphicBuffer to ScreenshotHardwareBuffer" 2020-03-26 17:29:14 +00:00
Alex Johnston
d6b347cbd5 Merge "Make FRP APIs callable by Settings" into rvc-dev am: 7bd3e833ce am: 7ef6e63159 am: 42177eba6f am: ac9ccb3fac
Change-Id: Ibefd0a917e4f3a14c4aca9708e0cc56f14194f29
2020-03-26 14:10:31 +00:00
Alex Johnston
42177eba6f Merge "Make FRP APIs callable by Settings" into rvc-dev am: 7bd3e833ce am: 7ef6e63159
Change-Id: Ibabed000b9c8996b315532ab0141d1bbf2810808
2020-03-26 13:38:54 +00: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
Automerger Merge Worker
3b4ff35e1a Merge "Merge "Rename createBaseActivityResources to createBaseTokenResources" into rvc-dev am: 0cb6d3fd3d am: dbba801bcb" into rvc-d1-dev-plus-aosp am: 90c12439ce am: 051bb1ae45
Change-Id: I20c28c57e86a9d76a0c8f872bb74402f77bd73d6
2020-03-26 03:26:46 +00:00
Charles Chen
88c5b9205f Merge "Rename createBaseActivityResources to createBaseTokenResources" into rvc-dev am: 0cb6d3fd3d am: dbba801bcb
Change-Id: I7ab72143719fc564fb7deef6966fc1f0157fff29
2020-03-26 02:53:35 +00:00