Commit Graph

2362 Commits

Author SHA1 Message Date
TreeHugger Robot
fbb8537997 Merge "Add READ_VOICEMAIL permission to privapp-permissions." into sc-dev am: 880ad9cfb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14276875

Change-Id: I8e00210038178d61ead8b063c3ca7463c4419908
2021-05-10 16:43:43 +00:00
TreeHugger Robot
880ad9cfb1 Merge "Add READ_VOICEMAIL permission to privapp-permissions." into sc-dev 2021-05-10 16:34:29 +00:00
Grace Jia
ff9040693d Add READ_VOICEMAIL permission to privapp-permissions.
For packages don't have READ_VOICEMAIL permission, CallLogProvider will
limit its access to voicemails by applying strict grammar check. Add
this permission to CallLogBackupAgent to avoid exception when backup and
restore.

Bug: 184244328
Test: Manually restore the device
Change-Id: I7848a6b58f4502d4dd9a346e5e3725e5d741c02f
2021-05-10 16:29:29 +00:00
TreeHugger Robot
7d0724dd24 Merge "Add EVS permissions to CarSystemUI." into sc-dev am: 9ff733a0c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14355987

Change-Id: Ic629dceefc0993adea2817d62ef2dacaa3c9963a
2021-05-01 01:49:02 +00:00
TreeHugger Robot
9ff733a0c1 Merge "Add EVS permissions to CarSystemUI." into sc-dev 2021-05-01 01:12:27 +00:00
TreeHugger Robot
7591174a8e Merge "Grant CONTROL_CAR_POWER_POLICY permission to car shell" into sc-dev am: 22fba34bba
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14348129

Change-Id: I23b230765d551fb4d082a9f58d051348467c0bd9
2021-04-29 21:45:51 +00:00
Yuncheol Heo
83a8f97251 Add EVS permissions to CarSystemUI.
- MONITOR_CAR_EVS_STATUS to get the status of EVS.
- CONTROL_CAR_EVS_ACTIVITY to generate the session token.

Bug: 170792252
Test: SystemUI brings up without crash.
Change-Id: Ibc2af746ba699de91ced6866c50c0774af429b51
2021-04-29 11:56:54 -07:00
Eric Jeong
72402519c2 Grant CONTROL_CAR_POWER_POLICY permission to car shell
- The permission is needed to run CarPowerManagerTest in ATS

Bug: 178415284
Test: atest com.google.android.car.ats.CarPowerManagerTest
Change-Id: I200640b7899115d25e1343825186793d86633bcb
2021-04-28 22:21:28 -07:00
TreeHugger Robot
9c129f1e69 Merge "Add Sony DualShock3 controller sensor axes mapping." into sc-dev am: c72ac760e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14277819

Change-Id: I9b238c87e7da1f9db0ac21a5f62d4fa07a1a554b
2021-04-26 17:56:46 +00:00
TreeHugger Robot
c72ac760e1 Merge "Add Sony DualShock3 controller sensor axes mapping." into sc-dev 2021-04-26 17:48:53 +00:00
TreeHugger Robot
643f85aeb5 Merge "Adds shift+capslock key combination to Virtual.kcm." into sc-dev am: 780d7188ff
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14211070

Change-Id: Iaf70805d12df7b00f1d972de7b3082f6a7190f40
2021-04-23 12:52:12 +00:00
mavishsu
b2c772f0b3 Adds shift+capslock key combination to Virtual.kcm.
Bug: 185564467
Test: Manual test.
1. Push modified Virtual.kcm file to the device
2. Check caps+shift can input lowercase letters

Change-Id: I9f78ce7f8f6690db08958241b5baf3c9fce04b10
2021-04-23 08:58:58 +00:00
Hongwei Wang
dc62c4b823 Merge "Apply PictureInPictureSurfaceTransaction upon reparent" into sc-dev am: b899f626b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14269489

Change-Id: Idb86de8300a243a2e7140a2bba9bb669423645c0
2021-04-23 05:40:45 +00:00
Hongwei Wang
b899f626b6 Merge "Apply PictureInPictureSurfaceTransaction upon reparent" into sc-dev 2021-04-23 05:17:12 +00:00
Hongwei Wang
0df585fb8d Apply PictureInPictureSurfaceTransaction upon reparent
When autoEnterPip from Task with multiple activities, besides passing
the mLastRecentsAnimationBounds we should also try to pass the last
PictureInPictureSurfaceTransaction to the new Task and apply both.

Changed also
- deprecate the last recents animation bounds and use the transaction only
- reset the transform once applied to the original task

Known issue: original task appears transparent in overview once.

Video: http://recall/-/aaaaaabFQoRHlzixHdtY/hNZ0H62PqgVDEUGh1TVMiT
Bug: 184789412
Bug: 185509920
Test: manual with ApiDemos, see Video
Change-Id: I7fb77e41e1963e14ecaf53bd135d6b4cb24493c9
2021-04-22 11:14:44 -07:00
Chris Ye
6d576bf9a2 Add Sony DualShock3 controller sensor axes mapping.
Add sensor axes mapping to Sony DualShock3 key layout files.

Bug: 186075116
Test: Manually pairing Sony DualShock3 game controller and launch the
sensor demo app.

Change-Id: Ibfdeb527542c33a65ca565bc890ab2af34c6c1cc
2021-04-21 22:40:41 -07:00
Treehugger Robot
aa35f6b007 Merge "Grant keystore permission to register pull stats" am: 63788ff48a am: e2d58f3789 am: f42a439274 am: 88d1911f16
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1683905

Change-Id: I32f2545cd6ba89fe46a42b9952a42e7a790b5c6e
2021-04-22 03:37:02 +00:00
Treehugger Robot
88d1911f16 Merge "Grant keystore permission to register pull stats" am: 63788ff48a am: e2d58f3789 am: f42a439274
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1683905

Change-Id: I06580e0443e78eb4ea23e7aa0278b14ae9e8da3c
2021-04-22 03:29:20 +00:00
Treehugger Robot
f42a439274 Merge "Grant keystore permission to register pull stats" am: 63788ff48a am: e2d58f3789
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1683905

Change-Id: I83a3b63a484fa14369297a884aa81253e2c49394
2021-04-22 03:27:34 +00:00
Seth Moore
226b32669c Grant keystore permission to register pull stats
Test: statsd_testdrive 10103
Bug: 172013262
Change-Id: I4d3ad2172b522b79454f5232b6d89c16178593d5
2021-04-21 23:13:43 +00:00
Hall Liu
77e5fcd23d Merge "Remove fixed grant of READ_PHONE_STATE and cleanup" into sc-dev am: cd1a5490ec
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14078185

Change-Id: I6c3870508dad7a92c23c4e46e598b69ea359bcf0
2021-04-21 22:06:03 +00:00
Hall Liu
cd1a5490ec Merge "Remove fixed grant of READ_PHONE_STATE and cleanup" into sc-dev 2021-04-21 21:42:00 +00:00
Nate Myren
daa38f258b Merge "Change Permission Group methods to be callback, gate behind perm" into sc-dev am: f7c1b2721e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14237959

Change-Id: I08ffd0c2ea036b7b419bcebba88398ccdb44b2de
2021-04-21 21:03:51 +00:00
Nate Myren
f7c1b2721e Merge "Change Permission Group methods to be callback, gate behind perm" into sc-dev 2021-04-21 21:01:05 +00:00
TreeHugger Robot
5a824393f3 Merge "Pipe start op throught app ops policy and delegate" into sc-dev am: 16472322f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14259081

Change-Id: I22db432c0f07a8ddb5b1795f86921c380c570316
2021-04-21 15:07:42 +00:00
TreeHugger Robot
16472322f9 Merge "Pipe start op throught app ops policy and delegate" into sc-dev 2021-04-21 15:06:11 +00:00
Svet Ganov
8b1aad623e Pipe start op throught app ops policy and delegate
bug: 185504196

Test: atest CtsAppOpsTestCases
      atest CtsPermissionTestCases
      atest CtsPermission2TestCases
      atest CtsPermission3TestCases
      atest CtsPermission4TestCases
      atest CtsPermission5TestCases

Change-Id: I5869a3e9719830f59624519f2d54f0765119cf5f
2021-04-21 08:06:35 +00:00
Treehugger Robot
fd03622048 Merge "Adding a permission to Shell for testing" am: 7342dafaa5 am: 23f9ef4d2b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1679721

Change-Id: I6f02958325c6c6a5f944bf4220338e950b7b0d10
2021-04-21 02:52:28 +00:00
Hyundo Moon
e1f62c9a2e Merge changes from topic "system_mr2_media_content_control" into sc-dev am: 013cf241a1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14182411

Change-Id: I0f41527546a7df000279786b8d883f9ffed262eb
2021-04-21 01:54:59 +00:00
Hyundo Moon
013cf241a1 Merge changes from topic "system_mr2_media_content_control" into sc-dev
* changes:
  System MediaRouter2: Resolve API review
  Change MODIFY_AUDIO_ROUTING permission to MEDIA_CONTENT_CONTROL
2021-04-21 01:45:42 +00:00
Suprabh Shukla
508e114192 Adding a permission to Shell for testing
Adding UPDATE_DEVICE_STATS to enable testing alarms with WorkSource
objects.

Test: atest CtsAlarmManagerTestCases

Bug: 185530825
Change-Id: Ia0f8afa6dc1a13c95553b691f352c6d8c7ae5ccf
Merged-In: Ia0f8afa6dc1a13c95553b691f352c6d8c7ae5ccf
2021-04-20 15:32:03 -07:00
Shubang Lu
367516b83e Merge "TIF: Change the isForeground API to isVisible and isMainSession" into sc-dev am: c505cc19a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14205305

Change-Id: Ic6e05c063051a2660d45029b56e200be60f842c6
2021-04-20 20:27:50 +00:00
Shubang Lu
c505cc19a2 Merge "TIF: Change the isForeground API to isVisible and isMainSession" into sc-dev 2021-04-20 20:19:42 +00:00
Naomi Musgrave
9ed4231972 Merge "Introduce config for sandboxing" into sc-dev am: 692496d964
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14127228

Change-Id: I540c2d9a886fdf75b8280924845d61cc7cb11b0d
2021-04-20 15:40:38 +00:00
Naomi Musgrave
692496d964 Merge "Introduce config for sandboxing" into sc-dev 2021-04-20 15:36:32 +00:00
TreeHugger Robot
a94dcb368e Merge "resolve merge conflicts of a3e32c8b4f to sc-dev" into sc-dev am: 81b5c878a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14233654

Change-Id: I44afe26077a4200de37e1440effea315cefb43b0
2021-04-20 13:09:01 +00:00
Ken Chen
e6565f57fc resolve merge conflicts of a3e32c8b4f to sc-dev
Bug: 185071689
Change-Id: I1524a534590361a585469ddf959e582484493e4e
2021-04-20 09:22:10 +00:00
Ken Chen
a3e32c8b4f Merge "Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission to shell" am: 1b06ec2530 am: a96493b7a5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675632

Change-Id: I9a94931334fe162c5f05c6c3a1628a41468a2d82
2021-04-20 08:14:40 +00:00
shubang
e8c3a42409 TIF: Change the isForeground API to isVisible and isMainSession
isForeground is not a good approach to indentify current channel info

And add a permission for tuned info.

Bug: 180482268
Test: atest CtsPermission2TestCases
Test: atest TvInputManagerTest#testGetCurrentTunedInfos
Change-Id: Ib1c1f2da719336ae856684e843b06f8b9b442723
2021-04-20 05:49:14 +00:00
TreeHugger Robot
41ce8b5601 Merge "Adding a permission to Shell for testing" into sc-dev am: 2a499f7ff5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14210831

Change-Id: I019008720e8d1df788f07acf7f580af417fbf55f
2021-04-20 04:44:57 +00:00
Nate Myren
7590ff96f0 Change Permission Group methods to be callback, gate behind perm
Create a GET_RUNTIME_PERMISSION_GROUP_MAPPING permission to gate the
permission group methods behind, and changes the methods to have
callbacks.

Test: atest GetPermissionGroupInfoTest
Fixes: 185177089
Change-Id: Ifd2ebc74f16e51b62068bdc6c8748f69bc63e923
2021-04-19 16:44:33 -07:00
Suprabh Shukla
b0db699780 Adding a permission to Shell for testing
Adding UPDATE_DEVICE_STATS to enable testing alarms with WorkSource
objects.

Test: atest CtsAlarmManagerTestCases

Bug: 185530825
Change-Id: Ia0f8afa6dc1a13c95553b691f352c6d8c7ae5ccf
2021-04-19 23:35:39 +00:00
Hall Liu
f4562b5cee Remove fixed grant of READ_PHONE_STATE and cleanup
No longer grant READ_PHONE_STATE as a fixed permission to all apps
holding READ_PRIVILEGED_PHONE_STATE. Also clean up the previous grants
by un-fixing the permission if the app requests it in the manifest, and
removing it altogether if the app only requests READ_PRIV.

Bug: 183537857
Test: manual -- prepare two system apps, one with READ_PRIV and
READ_PHONE and one with only READ_PRIV, then go through the upgrade flow
with this CL.

Change-Id: Id1fac0f9f4391857f46c7109eadafd60420b279d
2021-04-19 15:00:01 -07:00
Changyeon Jo
33c1862f9b Merge "Add CarEvsService permissions" into sc-dev 2021-04-19 20:00:15 +00:00
Alex Buynytskyy
33255cf959 Merge "API feedback: make DataLoader API System." into sc-dev am: 910f855fe0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14187676

Change-Id: Ie4180e92c678c3366f46ade615e7275aba9bef99
2021-04-19 04:04:58 +00:00
Changyeon Jo
2ea54f48b7 Add CarEvsService permissions
This change adds privileged permissions to use CarEvsService to the
allowlists of CarShell and EmbeddedKitchenSink packages.

Bug: 179508501
Test: atest CarEvsManagerTest -c
Change-Id: Ia84c36e0305de5a7fcc282519694896d131253dd
Merged-In: Ia84c36e0305de5a7fcc282519694896d131253dd
(cherry picked from commit d575da1167)
2021-04-18 12:30:55 -07:00
Alex Buynytskyy
e7339d98df API feedback: make DataLoader API System.
Bug: 184713911
Fixes: 184713911
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I00107102eb2e98004ed0a5db2a318a052ab60220
2021-04-18 15:48:21 +00:00
TreeHugger Robot
e993b8bef0 Merge "Add FontConfig.Font.getPostScriptName API" into sc-dev am: 0566ee964d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14208581

Change-Id: Ie4ce9adc2b28fb1f7841c35219a999cce96e4c1e
2021-04-17 22:43:13 +00:00
Seigo Nonaka
5681124abb Add FontConfig.Font.getPostScriptName API
Bug: 184003133
Bug: 185508395
Test: atest FontManagerTest#fontManager_PostScriptName
Change-Id: Ie44e0d500c61b37035a0b39039891da13cd6a5ce
2021-04-17 00:46:04 -07:00
Naomi Musgrave
cbdd8bdb9f Introduce config for sandboxing
Bug: 184838306
Bug: 185004937
Test: atest WmTests:SizeCompatTests
Change-Id: I031463f4bf8c8d87a829f1f03603e376bd44c082
2021-04-16 13:21:27 +01:00