TreeHugger Robot
c00e70d0fb
Merge "Camera: Add a maximum size flag to MandatoryStreamInformation" into sc-dev am: dd6adbf3f8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13998121
Change-Id: I12a6ae9c76e94bb947fd89bd9ce2509f45409a88
2021-04-02 21:52:17 +00:00
TreeHugger Robot
dd6adbf3f8
Merge "Camera: Add a maximum size flag to MandatoryStreamInformation" into sc-dev
2021-04-02 21:40:22 +00:00
Jeff Sharkey
7c53d59c13
Merge changes from topic "uwb_ranging_permission" into sc-dev am: a1d8bbb3ba
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14066462
Change-Id: Ibdfb032d0e0726cc6d593ce2a8a6225aa6de7107
2021-04-02 15:02:01 +00:00
Jeff Sharkey
a1d8bbb3ba
Merge changes from topic "uwb_ranging_permission" into sc-dev
...
* changes:
Add a new uwb ranging app-ops
Add a new uwb ranging runtime permission
2021-04-02 14:45:57 +00:00
Hyundo Moon
821bf0f4bc
Merge "System MR2: Check MODIFY_AUDIO_ROUTING permission" into sc-dev am: 8b40c9b344
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13970972
Change-Id: Ibb5f397945dc8444581e1a943bb9a3fd909852fd
2021-04-02 06:52:19 +00:00
Hyundo Moon
cd83e77ea5
System MR2: Check MODIFY_AUDIO_ROUTING permission
...
This CL adds a permission check for
MediaRouter2#getInstance(Context, String)
which creates the system MediaRouter2 instance.
Bug: 183428114
Test: CTS only passes with the right permission.
Change-Id: I38561dd6525d9e3c4514829662483d2c7a08dda1
2021-04-02 12:00:54 +09:00
Shuzhen Wang
eba86e45b8
Camera: Add a maximum size flag to MandatoryStreamInformation
...
The maximum size flag indicates whether the mandatory stream
information contains a maximum size from stream configuration map.
Test: Camera CTS
Bug: 156254356
Change-Id: I197716d4174d6c9630042f8120e0248fec281e50
2021-04-01 16:52:21 -07:00
Cody Kesting
fe5908cef4
Merge changes from topic "gateway-connection-id" am: 03f00e5a52 am: 2fa4b7b757 am: 1230749c35 am: 803668c0a3
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1659162
Change-Id: I462a19b1bc6cca60d65b01604bb337bf6b8932bd
2021-04-01 20:36:38 +00:00
Roshan Pius
5a24bb9f91
Add a new uwb ranging runtime permission
...
This will be part of the nearby devices permission group.
Bug: 183904955
Test: Compiles
Change-Id: I83ce43a893cef699b2c40918998cf9c6d3131507
2021-04-01 13:32:46 -07:00
Cody Kesting
803668c0a3
Merge changes from topic "gateway-connection-id" am: 03f00e5a52 am: 2fa4b7b757 am: 1230749c35
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1659162
Change-Id: Ic60a32e6cefab3807102f1ee2d6565a15e053a15
2021-04-01 20:20:59 +00:00
Ryan Mitchell
8bd9bf4f7e
Merge "Use staging-public-group in framework SDK" into sc-dev am: d4f0220d29
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14021315
Change-Id: Id2b353a9d717daa7648f274d93198e7004a4a054
2021-04-01 18:47:36 +00:00
Ryan Mitchell
d4f0220d29
Merge "Use staging-public-group in framework SDK" into sc-dev
2021-04-01 18:36:33 +00:00
Cody Kesting
03f00e5a52
Merge changes from topic "gateway-connection-id"
...
* changes:
Expose API for identifying GatewayConnections.
Update identification for onGatewayConnectionError().
2021-04-01 18:27:28 +00:00
Nate Myren
4a58495383
Merge "Add Api to get permission group info from PermissionController" into sc-dev am: 41886ea17c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14038044
Change-Id: I35bafecbb81b3e6a385af14f8fc24c41d89f1559
2021-04-01 15:44:26 +00:00
Nate Myren
41886ea17c
Merge "Add Api to get permission group info from PermissionController" into sc-dev
2021-04-01 15:21:09 +00:00
Aaron Huang
ef74312993
Merge "Expose BIP and VSIM relavent definitions"
2021-04-01 11:38:17 +00:00
Ryan Mitchell
ca3b4f7633
Use staging-public-group in framework SDK
...
To make S finalization easier, this changes the framework SDK so that
apps linking against it will be able to continue working as expected
after the first phase of SDK finalization.
During the first phase of SDK finalization, the resource ids of
resources that have not been removed are finalized.
staging-public-group tags are converted to staging-public-group-final
tags in order to encode into the framework what the staged resource id
of a finalized resource was. When an app recompiles, it will use the
finalized resource id. Then after all apps recompile, phase 2 of
finalization begins, in which the staging-public-group-final tags are
removed so apps can no longer use the staged resource ids.
Apps that link against the SDK (provided they are using a recent
version of aapt) will encode references to staged resources as
TYPE_DYNAMIC_REFERENCE and TYPE_DYNAMIC_ATTRIBUTE. The values of R
fields for staged resources are defined out-of-line to prevent them
from being inlined into apps linking agsint the SDK. This allows the
resource ids to change during phase 1 of API finalization.
Bug: 183413192
Test: `aapt2 diff` and resource ids stayed the same
Test: `aapt2 dump` of framework-res.apk and observe staged resources
Change-Id: Ie2275c608297a5f63dde8b1cf795415112cbcc24
2021-03-31 23:04:57 -07:00
Amy Zhang
057c08a71e
Merge "Rename IS_MISO and IS_SHORT_FRAME constants name to align with the getter" into sc-dev am: 026e109c50
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14054065
Change-Id: Iafd9bf6533a5b3c7f183c8f685ab7593da8d28ed
2021-04-01 01:52:30 +00:00
Amy Zhang
026e109c50
Merge "Rename IS_MISO and IS_SHORT_FRAME constants name to align with the getter" into sc-dev
2021-04-01 01:22:39 +00:00
TreeHugger Robot
277b6a507e
Merge "Update doc to reflect actual permission" into sc-dev am: 75b795f4a3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14040170
Change-Id: Ia0e20c5abf6ad3650d8670a235e2ce1333ee291e
2021-04-01 00:28:08 +00:00
TreeHugger Robot
75b795f4a3
Merge "Update doc to reflect actual permission" into sc-dev
2021-04-01 00:11:26 +00:00
Jack Yu
74342d0f65
Merge "Moved getId API from system to public" am: ffb09e11c1 am: afefc4e426 am: f7a4c40e88 am: 8297a09b3c
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1640623
Change-Id: I4b2ecd419af94443eab18b105dad3333505a6366
2021-03-31 23:49:55 +00:00
Jack Yu
8297a09b3c
Merge "Moved getId API from system to public" am: ffb09e11c1 am: afefc4e426 am: f7a4c40e88
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1640623
Change-Id: I9f1a24505b270989dd1d2dd575c19781054d798f
2021-03-31 23:30:15 +00:00
Jack Yu
ffb09e11c1
Merge "Moved getId API from system to public"
2021-03-31 21:56:53 +00:00
Cody Kesting
5926d20e03
Expose API for identifying GatewayConnections.
...
This CL exposes the updated APIs for identifying GatewayConnections via
a user-configured String set in VcnGatewayConnectionConfig.Builder, as
requested by the API Council.
Bug: 182345902
Bug: 180522464
Test: atest FrameworksVcnTests
Change-Id: I10afd074906bc0f3831157dcee1da813b4cfce78
2021-03-31 14:23:29 -07:00
Nikita Dubrovsky
d30f2ff54c
Merge "Rename getOnReceiveContentMimeTypes (drop "On")" into sc-dev am: 2bb75a4007
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14006645
Change-Id: I3b69523049d5de47f3c7f68bbd6d12d439ce44ae
2021-03-31 21:12:51 +00:00
Nikita Dubrovsky
2bb75a4007
Merge "Rename getOnReceiveContentMimeTypes (drop "On")" into sc-dev
2021-03-31 21:06:21 +00:00
Amy Zhang
965f18912b
Rename IS_MISO and IS_SHORT_FRAME constants name to align with the
...
getter
This CL also adds some exception messages to share more details on
the Frontend Status getter exceptions.
Test: atest android.media.tv.tuner.cts
Bug: 184017539
Change-Id: I0117dd48de21a7c77e1ae55f6ee67e0bbbda8076
2021-03-31 10:22:42 -07:00
Mady Mellor
40ab95e018
Merge "API: Expose whether bubbles are enabled or not" into sc-dev am: 3da85d8e80
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13985823
Change-Id: Ic71bcdac893a8525e9557c2acfaa0118fbb55a90
2021-03-31 17:09:53 +00:00
Mady Mellor
3da85d8e80
Merge "API: Expose whether bubbles are enabled or not" into sc-dev
2021-03-31 16:53:16 +00:00
Nate Myren
6d7cbf74f6
Add Api to get permission group info from PermissionController
...
Bug: 182094776
Test: atest GetPermissionGroupInfoTest
Change-Id: I872b0658ea0d8a5aca80a83cff1e29f25b7d6d3d
2021-03-31 09:31:47 -07:00
Marin Shalamanov
efa80cb436
Merge "setFrameRate: Make shouldBeSeamless an enum" into sc-dev am: d15b4b5473
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13887167
Change-Id: Ib54c185eb9feaf67d5962a485e2743d496a11ccc
2021-03-31 15:05:43 +00:00
Marin Shalamanov
d15b4b5473
Merge "setFrameRate: Make shouldBeSeamless an enum" into sc-dev
2021-03-31 14:30:23 +00:00
Kholoud Mohamed
71c5019038
Merge "Create new permission SET_AND_VERIFY_LOCKSCREEN_CREDENTIALS"
2021-03-31 11:29:12 +00:00
Kholoud Mohamed
0969f50292
Merge "Remove no longer needed QUERY_USERS permission"
2021-03-31 11:28:40 +00:00
Kholoud Mohamed
ddf5a7dc62
Merge "Create new permission QUERY_AUDIO_STATE"
2021-03-31 10:28:01 +00:00
Kholoud Mohamed
531fcd63ca
Merge "created FORCE_DEVICE_POLICY_MANAGER_LOG and CLEAR_FREEZE_PERIOD"
2021-03-31 10:27:23 +00:00
Zhen Zhang
e6fe3ee1d5
Merge "Create package-level last time usage stats for app hibernation" into sc-dev am: eed249828f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13933089
Change-Id: I0ba03547e92c28ee32d7938beca4f30b287f807c
2021-03-31 09:20:05 +00:00
Zhen Zhang
eed249828f
Merge "Create package-level last time usage stats for app hibernation" into sc-dev
2021-03-31 09:04:50 +00:00
Joanne Chung
582ded91be
Merge "Bug fix: allow to create ViewTranslationRequest for virtual AutofillId." into sc-dev am: 72cf07d1cc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14031650
Change-Id: I340fef698af319d1c86d9308e632d18af8ebba5a
2021-03-31 04:18:23 +00:00
Joanne Chung
72cf07d1cc
Merge "Bug fix: allow to create ViewTranslationRequest for virtual AutofillId." into sc-dev
2021-03-31 03:41:39 +00:00
Yohei Yukawa
5c0c433891
Merge "Avoid IME restart for configChanges" into sc-dev am: 12e4fde793
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13885361
Change-Id: I25e694142090ece30cb15cde33124e094e0cf944
2021-03-31 02:41:58 +00:00
Yohei Yukawa
12e4fde793
Merge "Avoid IME restart for configChanges" into sc-dev
2021-03-31 02:28:22 +00:00
Svet Ganov
2434b922a4
Addressing comments from commit:8d2ed5 am: 7d058d62e5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14037325
Change-Id: Icdd2a654130cd7d0d12c0bc30d4e654078a14b69
2021-03-31 02:18:32 +00:00
Svet Ganov
7d058d62e5
Addressing comments from commit:8d2ed5
...
bug:158792096
bug:180647319
bug:184051153
bug:184027531
Test:atest CtsPermissionTestCases
atest CtsPermission2TestCases
atest CtsPermission3TestCases
atest CtsPermission4TestCases
atest CtsPermission5TestCases
atest CtsAppOpsTestCases
atest CtsAppOps2TestCases
atest CtsAlarmManagerTestCases
Change-Id: Id324ed0e2a653dface6ba273bba27e92bea14f99
2021-03-31 02:11:46 +00:00
Rob Carr
7f89042c95
Merge "Expose API for using SurfaceControl with ViewRootImpl" into sc-dev am: 2b434b28b0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13842193
Change-Id: I991c351464b0b4fa27a68ee065b3057bd6ec3a01
2021-03-31 02:00:38 +00:00
Mady Mellor
c5561c9c5c
API: Expose whether bubbles are enabled or not
...
There's no way for devs to check whether the user has
disabled or enabled bubbles at the feature level. This
adds an API for devs to make this query.
Test: atest NotificationManagerTest NotificationManagerServiceTest
Bug: 171162184
Change-Id: I3b201e8267f36b45473987db773c08663b8d8126
2021-03-30 18:59:11 -07:00
Rob Carr
2b434b28b0
Merge "Expose API for using SurfaceControl with ViewRootImpl" into sc-dev
2021-03-31 01:35:49 +00:00
Jordan Liu
4d1289346b
Update doc to reflect actual permission
...
Bug: 157650894
Test: make
Change-Id: Ic8385b2cebfaf65d0cc8c078b951090c2babff01
2021-03-31 00:56:18 +00:00
Zhen Zhang
b8b107372a
Create package-level last time usage stats for app hibernation
...
Create a user-agnostic package-level last time used usage stats for app
hibernation. Usage is updated when USER_INTERACTION or
APP_COMPONENT_USED event reported. Also moved checkAndGetTimeLocked and
convertToSystemTimeLocked methods up to UsageStatsService class and
refactored usages.
Bug: 183142974
Test: atest CtsUsageStatsTestCases:UsageStatsTest
Test: atest UsageStatsServiceTest
Test: atest UserUsageStatsServiceTest
Change-Id: I93d8653bb92b98af8f6b57156eb1139fbd7e562a
2021-03-30 16:16:08 -07:00