Commit Graph

2777 Commits

Author SHA1 Message Date
Andrei-Valentin Onea
ee984194ab Merge "Move out mediaprovider allowlist entries" into tm-dev 2022-03-07 14:34:10 +00:00
Shreshta Manu
99497f45bb Merge "Revert "Move out allowlists for com.android.cellbroadcast"" into tm-dev 2022-03-04 18:05:16 +00:00
Shreshta Manu
0deb7beef2 Revert "Move out allowlists for com.android.cellbroadcast"
Revert "Add allowlist for com.android.cellbroadcast"

Revert "Add dependencies to the proper allowlists"

Revert submission 17044809-cb-allowlist

Reason for revert:  DroidMonitor-triggered revert due to breakage https://android-build.googleplex.com/builds/quarterdeck?branch=git_tm-dev&target=build_test3&lkgb=8255403&lkbb=8255504&fkbb=8255504, bug b/222699462 

Broken build 8255504 on git_tm-dev on build_test3

BUG: 222699462
Reverted Changes:
Ib067db22c:Add dependencies to the proper allowlists
I98c7c5a0f:Move out allowlists for com.android.cellbroadcast
I7c09f43c3:Add allowlist for com.android.cellbroadcast

Change-Id: Ibce1f97cf8678c8397f3b7cde7d06c1471cf35e4
2022-03-04 18:00:05 +00:00
Andrei-Valentin Onea
52165ede02 Merge "Move out allowlists for com.android.cellbroadcast" into tm-dev 2022-03-04 15:25:09 +00:00
Seigo Nonaka
e26eb8ce33 Add legacy emoji font file for compatibility
Bug: 222362958
Test: Manually verified Flutter Gallary shows emoji.
Test: atest CtsTextTestCases CtsGraphicsTestCases
Test: atest FontListParserTest

Change-Id: If5b5ddfb6d0d46cfb8d27cf66843ae95d4b50e03
2022-03-03 18:56:25 +00:00
Naomi Musgrave
472e00b0dc Refactor content recording out of DisplayContent
Bug: 216756854
Test: atest WmTests:ContentRecorderTests
Test: atest WmTests:DisplayContentTests
Change-Id: Idf8f5b22986f889348ca187b2f1f005da163e5e2
2022-03-02 18:34:57 +00:00
Naomi Musgrave
27655e1fc3 MediaProjection sets content recording details in WM directly.
Content recording relies upon a class describing current state.
rather than passing around details from media > display > wm.
WMService keeps track of the session in ContentRecordingController.
ContentRecordingController manages hand-off between different
DisplayContent instances, as the session details are changed.

Manually tested that fold/unfold handling when screen recording
from QS tile still works, and that taking over a screen cast
with a screen recording works.

Refactoring logic from DisplayContent into new recording
delegate will come in a future change.

Bug: 216756854
Test: atest FrameworksCoreTests:ContentRecordingSessionTest
Test: atest WmTests:DisplayContentTests
Test: atest WmTests:ContentRecordingControllerTests
Change-Id: Ib4f125dd703d362ac13fcbe469d00b345827e706
2022-03-02 18:32:34 +00:00
Andrei Onea
17b0b17d35 Move out mediaprovider allowlist entries
These entries will now be bundled inside the apex instead.

Test: boots
Bug: 190375768
Change-Id: I601ddb0662b3f47814689bf94aff467ea688304c
2022-03-02 18:17:29 +00:00
Andrei Onea
8f5e78c0a7 Move out allowlists for com.android.cellbroadcast
This change separates out the allowlist for the
com.android.cellbroadcast mainline module. This apex bundles two apks
(CellBroadcastApp and CellBroadcastServiceModule) that have regular
apk counterparts for non-mainline devices.
The allowlists are now in the projects which contain the source code for
the respective APKs, and are marked as dependencies for them

Test: boots
Bug: 190375768
Change-Id: I98c7c5a0ffb9b16dd859cb586d3afae082981d7c
2022-03-02 14:46:06 +00:00
Andrei-Valentin Onea
cd83f2cd22 Merge "Move permissions allowlist for ExtServices" am: 10d6466dee am: 8ed8b87214 am: 99b9a5a4c7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1986006

Change-Id: I290b84f218bbdc663f77512aa4a8462f4e4d454b
2022-02-28 21:20:58 +00:00
Andrei-Valentin Onea
99b9a5a4c7 Merge "Move permissions allowlist for ExtServices" am: 10d6466dee am: 8ed8b87214
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1986006

Change-Id: I030e224beb54d103badb7651dd809d26da49d6db
2022-02-28 13:10:51 +00:00
Andrei-Valentin Onea
8ed8b87214 Merge "Move permissions allowlist for ExtServices" am: 10d6466dee
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1986006

Change-Id: Ia13247cbcb39fcbb1970b6df091df45379106290
2022-02-28 12:45:40 +00:00
Andrei-Valentin Onea
10d6466dee Merge "Move permissions allowlist for ExtServices" 2022-02-28 12:24:34 +00:00
Rahul Sabnis
a5d87a885b Merge "Make BluetoothHeadset APIs used by Telecom into System APIs" am: c3c651dd07 am: 9a9f985fd2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1932883

Change-Id: Ia2abdf8e49958e089c9ee15816512ae87940b2eb
2022-02-25 23:41:16 +00:00
Rahul Sabnis
9a9f985fd2 Merge "Make BluetoothHeadset APIs used by Telecom into System APIs" am: c3c651dd07
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1932883

Change-Id: I6357b00fff28a1c00796d16c9717f990686fe27d
2022-02-25 23:11:44 +00:00
Rahul Sabnis
90e758afed Make BluetoothHeadset APIs used by Telecom into System APIs
Tag: #feature
Bug: 195156304
Test: Manual
Merged-In: I13d6f553f5b9d6ca7c2ae9a42450875b16cd1490
Change-Id: I13d6f553f5b9d6ca7c2ae9a42450875b16cd1490
2022-02-24 11:24:48 -08:00
HQ Liu
964305e1b2 Remove the current input focused window when ANR
When a freeform app launched and focused, but its window is not ready,
the input focus stays on the window of the previously focused freeform
app. The focus should be removed from the previously foccused app, so
ANR can be triggered correctly.

Bug: 216852742
Test: atest AnrTests#slowOnCreateWithKeyEventTriggersAnr
Change-Id: Id00c147ffab9b11fb2abdf0f3020bc017a31bea7
2022-02-21 20:42:21 +00:00
Hunter Knepshield
6297982e45 Merge "Give shell BIND_TELECOM_CONNECTION_SERVICE for CTS" 2022-02-17 18:55:25 +00:00
Treehugger Robot
08155b3fd2 Merge "p2p: add MANAGE_WIFI_AUTO_JOIN permission for CTS external approver tests" am: 2a491d487f am: 7faee6e286 am: 3cf3a321e6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1985827

Change-Id: Iaec2d433251d6ea1a3c9ece2f73c1202e510fbb2
2022-02-17 05:40:42 +00:00
Treehugger Robot
3cf3a321e6 Merge "p2p: add MANAGE_WIFI_AUTO_JOIN permission for CTS external approver tests" am: 2a491d487f am: 7faee6e286
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1985827

Change-Id: Id4e8c1ecf51c89454142c3b8e5f9eed18d076f12
2022-02-16 23:39:34 +00:00
Treehugger Robot
7faee6e286 Merge "p2p: add MANAGE_WIFI_AUTO_JOIN permission for CTS external approver tests" am: 2a491d487f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1985827

Change-Id: If981308b6291b0df9c250020aea410b343b12e2b
2022-02-16 23:18:31 +00:00
Jimmy Chen
6d7c9fa967 p2p: add MANAGE_WIFI_AUTO_JOIN permission for CTS external approver tests
Wi-Fi Direct external approver APIs require MANAGE_WIFI_AUTO_JOIN
permission and CTS tests need to use Shell to invoke these
privelege APIs.

Bug: 218166551
Bug: 159038892
Test: atest ConcurrencyTest
Change-Id: Ia5c1c749e38fe94992c6364d0fd6117707834eb5
2022-02-16 12:00:16 +08:00
Vadim Caen
a70bdd8739 Merge "Add enableOnBackInvokedCallaback manifest attribute" 2022-02-15 19:07:27 +00:00
Andrei Onea
eea881c5ce Move permissions allowlist for ExtServices
The allowlist will now be in the apex instead.

Test: boots && check permissions.xml is bundled
Bug: 190375768
Bug: 216518774
Change-Id: Ifd4deedaa990a49fd873fe7b103b631c348bf35c
2022-02-15 14:14:41 +00:00
Treehugger Robot
2e1636bca1 Merge "Move permissions allowlist for Tethering" am: e93cdcd163 am: c2e8c114bd am: 197da104af
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1909682

Change-Id: I3dc1dbbde59c71d713ec4c43ce90a8ce90b36fa0
2022-02-15 05:20:51 +00:00
Treehugger Robot
197da104af Merge "Move permissions allowlist for Tethering" am: e93cdcd163 am: c2e8c114bd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1909682

Change-Id: I24c32a211ec67de5f710ae61d5e86856143b85d1
2022-02-15 05:15:13 +00:00
Treehugger Robot
c2e8c114bd Merge "Move permissions allowlist for Tethering" am: e93cdcd163
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1909682

Change-Id: I897da8b5ee78d4c1a78b81730af0cc5a137824e8
2022-02-15 04:55:19 +00:00
Treehugger Robot
e93cdcd163 Merge "Move permissions allowlist for Tethering" 2022-02-15 04:43:27 +00:00
Vadim Caen
625f5e286f Add enableOnBackInvokedCallaback manifest attribute
Add a manifest flag for applications to opt-out of the new back
navigation system.

Test: atest
CtsWindowManagerDeviceTestCases: android.server.wm.BackNavigationLegacyTest
Bug: 217709328
Change-Id: I43d09a37b126e59bdb8f20bb83cf6d99e53a1e91
2022-02-14 22:27:10 +01:00
Shan Huang
642b0d8cdd Invoke callbacks based on back navigation type.
Test: m -j.
Test: Open and swipe back on pre-T and T apps.
Test: atest .../BackNavigationControllerTests.java
Test: atest .../BackAnimationControllerTest.java
Bug: b/195946584
Change-Id: I00cf7ab5b57760d57d30ac74dc5b3443a4203f38
2022-02-11 22:59:04 +00:00
Xin Li
5ad6db7742 Merge sc-v2-dev-plus-aosp-without-vendor@8084891
Bug: 214455710
Merged-In: I8cfa435bb6233818adb9cc99dadeeb06a03443d5
Change-Id: Ib93992d88fd1704179009a3872798b9e7b83a6d1
2022-02-11 07:25:43 +00:00
Kevin Jeon
8e013d9b38 Merge "Remove unnecessary permissions from Traceur" am: adab5c6662 am: e5cc554658 am: e0c387d982
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1965619

Change-Id: Ice894327f25b5d78f4aa3866d7956425f08606a1
2022-02-10 20:16:23 +00:00
Kevin Jeon
e0c387d982 Merge "Remove unnecessary permissions from Traceur" am: adab5c6662 am: e5cc554658
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1965619

Change-Id: I91893776487b3bf941f776d16e51fe0afa2865f1
2022-02-10 19:40:35 +00:00
Kevin Jeon
adab5c6662 Merge "Remove unnecessary permissions from Traceur" 2022-02-10 19:09:46 +00:00
Kevin Jeon
eabd21201e Remove unnecessary permissions from Traceur
This change removes the privapp allowlist from Traceur, which had
previously explicitly granted the DUMP, QUERY_ALL_PACKAGES,
START_FOREGROUND_SERVICES_FROM_BACKGROUND, and STATUS_BAR permissions.
These permissions no longer need to be granted because Traceur is now a
platform app.

Bug: 209476712
Test: - Checked that Traceur can still take normal and long traces on
        AOSP userdebug and internal user/userdebug.
      - Checked that bugreports will stop ongoing traces.
      - Checked that the quick settings tile still stops/starts traces.
Change-Id: I33cd317f9fe00e2e08ae205a832237bfe0df044a
Merged-In: I33cd317f9fe00e2e08ae205a832237bfe0df044a
2022-02-10 17:51:10 +00:00
TreeHugger Robot
bdd4239197 Merge "Allow MediaCodecs to be created on behalf of other client processes." 2022-02-10 10:47:39 +00:00
Kevin Jeon
27f6e1ca15 Merge "Remove unnecessary permissions from Traceur" 2022-02-10 07:28:27 +00:00
Brian Lindahl
6ceeed4fdd Allow MediaCodecs to be created on behalf of other client processes.
Use case is for TV Input Service which creates MediaCodecs when tuning
to TV channels on behalf of operator and OEM apps. Requires the
MEDIA_RESOURCE_PID_OVERRIDE permission.

Bug: 217746837
Test: atest MediaCodecResourceTest
Change-Id: I191ff13c5730970664a818a9333c160e6e773c7d
2022-02-09 23:34:44 +01:00
Elliot Sisteron
cb0b947bd3 Merge "Add SafetyCenter permissions" 2022-02-08 17:21:15 +00:00
Henry Fang
5dbd4b27ed Merge "Guard TIF vendor extension APIs by new permission" 2022-02-08 17:19:28 +00:00
Siyamed Sinir
3cfdfab6c6 Merge "Partial Revert "Update the following fonts NotoNaskhArabic NotoNaskhArab..."" 2022-02-08 01:22:20 +00:00
Elliot Sisteron
01c175fca2 Add SafetyCenter permissions
Add SafetyCenter privileged permissions
to PermissionController

Bug: 217689758
Test: atest CtsSafetyCenterTestCases
Change-Id: I22531512ea29086da2025e5274a90aca23dbfc50
2022-02-07 21:39:40 +00:00
Kyeongkab.Nam
5e4c395cdb Guard TIF vendor extension APIs by new permission
Guard TvInputManager#getAvailableExtensionInterfaceNames() and
TvInputManager#getExtensionInterface() by
android.Manifest.permission.TIS_EXTENSION_INTERFACE.

Bug: 215189795
Bug: 193052431
Test: run cts -m CtsTvTestCases -t
android.media.tv.cts.TvInputManagerTest

Change-Id: I43d4f063b0a602f00f7f71e8fe08fb09c7a763bf
2022-02-07 12:19:54 -08:00
Siyamed Sinir
dda3283ccc Partial Revert "Update the following fonts NotoNaskhArabic NotoNaskhArab..."
Revert submission 16731679-noto20220127

Reason for revert: NotoNaskhArabic and NotoNaskhArabic UI have localization issue. This CL reverts
changes related to only those two fonts.

Reverted Changes:
I7679f7cd9:Update the following fonts NotoNaskhArabic NotoNas...
I6c194eb7d:Updated the following fonts NotoNaskhArabic NotoNa...

Test: No test, treehugger only
Bug: 216571265

Change-Id: If5322f5017e8bde24e290f24710676fcfe50c095
2022-02-07 19:14:59 +00:00
Dave McCloskey
994e4e4b70 Merge "Add TRUST_LISTENER to the shell for use in CTS tests" am: f4a4508e64 am: 9845deb4e9 am: 911482e768 am: 1a22e966e5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1962480

Change-Id: Icfd3343b7a629878201f04013afa3d9dfc4f499a
2022-02-05 00:09:28 +00:00
Dave McCloskey
1a22e966e5 Merge "Add TRUST_LISTENER to the shell for use in CTS tests" am: f4a4508e64 am: 9845deb4e9 am: 911482e768
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1962480

Change-Id: I2cdfa296b377a573584ec9c09245a4ff23e396c4
2022-02-04 23:49:20 +00:00
Dave McCloskey
911482e768 Merge "Add TRUST_LISTENER to the shell for use in CTS tests" am: f4a4508e64 am: 9845deb4e9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1962480

Change-Id: I1e44c4359dabe2333353f55e0c42afe04efedc78
2022-02-04 23:28:44 +00:00
Dave McCloskey
f4a4508e64 Merge "Add TRUST_LISTENER to the shell for use in CTS tests" 2022-02-04 22:58:26 +00:00
TreeHugger Robot
fb7919b9d4 Merge "Allow Shell to access MANAGE_GAME_ACTIVITY." 2022-02-04 22:51:40 +00:00
Jay Sullivan
be2bd69f06 Merge changes from topic "t-media-permissions"
* changes:
  Define splits for AUDIO/VIDEO/IMAGE permissions
  Define new AUDIO/VIDEO/IMAGE permissions
2022-02-04 18:18:37 +00:00