Commit Graph

2321 Commits

Author SHA1 Message Date
Antonio Kantek
e3c75a1ad5 Merge "Adding com.android.car.cluster.home.xml" into sc-dev am: 56330ddf59
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14910481

Change-Id: I7a7156a1523b9a3ac15184d34265858ea8c3e6ae
2021-06-16 16:45:59 +00:00
Antonio Kantek
56330ddf59 Merge "Adding com.android.car.cluster.home.xml" into sc-dev 2021-06-16 16:31:31 +00:00
Vadim Caen
5376302409 Merge "Release the SurfacePackageViewHost on splash screen removed" into sc-dev am: dc07d29bd0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14775423

Change-Id: I8df810ddd616766a2fa843b5755ae973d7e43361
2021-06-16 12:42:27 +00:00
Antonio Kantek
8e3082fbcd Adding com.android.car.cluster.home.xml
This is required in order to build ClusterHomeSample with CAR_MONITOR_INPUT privileged permission.

Bug: 186676333
Test: atest CarServiceUnitTest
Change-Id: Ie5c81beb142c8f02aa01bdf129320169eed2c00e
2021-06-15 15:02:16 -07:00
Vadim Caen
a46ff113be Release the SurfacePackageViewHost on splash screen removed
The SurfacePackageViewHost was never release, leading to a leak of its
surfaces.

This CL ensure it is released:
  - Directly in the shell if the SplashScreenView was not copied
  - From the client, through the window manger and then to the shell if
  the splash screen was copied in the client process

Test: Manually tested with app setting by checking if the surfaces
are actually removed (winscope + logs) in the following scenarios:
    - When the application registers an OnExitAnimationListener
      and calls remove(),
    - When the application registers an OnExitAnimationListener
      and dies without calling remove()
    - When the applicaiton does not register an OnExitAnimationListener
    and the shell removes the splash screen
Bug: 189759180

Change-Id: Ib68bfffad6720911368739d7dd87d8a03034c589
2021-06-15 15:39:09 +02:00
TreeHugger Robot
61df18427d Merge "Give shell android.permission.GET_TOP_ACTIVITY_INFO" into sc-dev am: 57fcc33111
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14909796

Change-Id: I5eaedc6dc023811b3a1077ab9dd1e0674a893d21
2021-06-09 17:20:16 +00:00
TreeHugger Robot
57fcc33111 Merge "Give shell android.permission.GET_TOP_ACTIVITY_INFO" into sc-dev 2021-06-09 17:15:44 +00:00
Zak Cohen
46e5c0df76 Give shell android.permission.GET_TOP_ACTIVITY_INFO
Grant shell android.permission.GET_TOP_ACTIVITY_INFO for testing Launcher
tests that need access to AssistContentRequester in shell context.

Bug: 190344718
Test: Local build and flash, ran test
Merged-In: I551e0bee413432653f39c91664d716f695311b6f
Change-Id: I551e0bee413432653f39c91664d716f695311b6f
2021-06-09 03:27:58 +00:00
Meng Wang
cd73e55b2d Merge "Allow ImsServiceEntitlement app to schedule jobs" into sc-dev am: 0c1b382ace
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14762972

Change-Id: Ie91543160e851531c1eb84d54b4175df6a3a921c
2021-06-09 00:29:29 +00:00
Meng Wang
0c1b382ace Merge "Allow ImsServiceEntitlement app to schedule jobs" into sc-dev 2021-06-08 23:50:09 +00:00
TreeHugger Robot
5641d653c7 Merge "Use RobotoStatic-Regular for the weight 400 of roboto family" into sc-dev am: 15cc80b39c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14722633

Change-Id: I0078691e5c1ef08de7de35320896964f39b131a1
2021-06-08 18:08:12 +00:00
TreeHugger Robot
15cc80b39c Merge "Use RobotoStatic-Regular for the weight 400 of roboto family" into sc-dev 2021-06-08 17:57:30 +00:00
TreeHugger Robot
06229448e9 Merge "Update com.android.statementservice to support v2 API" into sc-dev am: 53c5d85bef
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13438575

Change-Id: I098d600f8a08b791f0bd112fe7bbc52746b488f4
2021-06-07 18:53:34 +00:00
TreeHugger Robot
53c5d85bef Merge "Update com.android.statementservice to support v2 API" into sc-dev 2021-06-07 18:50:45 +00:00
Jahdiel Alvarez
cbce4f35f5 Merge "Add CarWatchdog privileged permissions in allowlist for CarShell package" into sc-dev am: 7a19e4a94e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14752415

Change-Id: I359f481231813e769a81059fee1f9c6a287ed06f
2021-06-07 17:04:06 +00:00
Jahdiel Alvarez
7a19e4a94e Merge "Add CarWatchdog privileged permissions in allowlist for CarShell package" into sc-dev 2021-06-07 16:40:33 +00:00
Winson
374e6d6cc9 Update com.android.statementservice to support v2 API
Brings AOSP up to a true representative implementation which can be
shipped on production devices.

Bug: 171219506

Test: manual, push AOSP, pm enable, pm verify-app-links

Change-Id: I5de6405afe884a19d35d09b266457c4ad4eee91b
2021-06-03 16:37:26 -07:00
samalin
cc01a8a656 Allow ImsServiceEntitlement app to schedule jobs
ImsServiceEntitlement is a headless app for certain carriers requiring
background IMS provisioning only. So the app needs to be allowed to
schedule jobs.

Bug: 189397221
Test: make
Change-Id: Ib910681ef81a417aaa4a13514260cfa26098a048
2021-06-03 16:38:16 +00:00
TreeHugger Robot
8291125946 Merge "Add emergency app to power-save allowlist" into sc-dev am: e36c773634
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14804723

Change-Id: If614f99888ca09ecb89db488757404353ac13d31
2021-06-03 00:00:15 +00:00
TreeHugger Robot
e36c773634 Merge "Add emergency app to power-save allowlist" into sc-dev 2021-06-02 23:47:04 +00:00
Suprabh Shukla
a1812e90a3 Add emergency app to power-save allowlist
Test: Manually run:
adb shell dumpsys alarm
Should show 'com.android.emergency' under 'Exempted bucket packages'.

Bug: 189866352
Change-Id: I485dd3e4d9026e576b670a1a4439ea62eec987f3
2021-06-02 14:08:32 -07:00
Hai Zhang
0f1f6405ef Merge "Remove allowlist for GET_RUNTIME_PERMISSION_GROUP_MAPPING." into sc-dev am: 9e264163d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14782438

Change-Id: I5161e5e1d92aadbb590a62948d42060e2a1b4dd0
2021-06-02 18:57:57 +00:00
Hai Zhang
49ca739329 Remove allowlist for GET_RUNTIME_PERMISSION_GROUP_MAPPING.
The permission has been removed in ag/14670362.

Bug: 182094776
Bug: 185607880
Change-Id: I780d951c57283f0097780fb780afec915c64303c
2021-06-02 05:08:20 +00:00
Jahdiel Alvarez
96d1208d01 Add CarWatchdog privileged permissions in allowlist for CarShell package
Test: atest AtsCarTests:CarWatchdogManagerTest
Bug: 189354222
Change-Id: If87b2eed7d7e183b29e0d9eba9b54505c117218c
2021-05-26 22:05:18 +00:00
TreeHugger Robot
ebb9f1e93e Merge "Check "BIND_HOTWORD_DETECTION_SERVICE" permission before binding HotwordDetectionService" into sc-dev am: 6572539f65
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14540428

Change-Id: Ib9db03805c0a7cbc337824a61434422cff4ffa30
2021-05-26 10:56:56 +00:00
Seigo Nonaka
18c044d31b Use RobotoStatic-Regular for the weight 400 of roboto family
Bug: 189235998
Test: Manually done
Change-Id: I253a72df5641b57d371598cec6853737c5e98ba9
2021-05-25 14:09:52 -07:00
TreeHugger Robot
6572539f65 Merge "Check "BIND_HOTWORD_DETECTION_SERVICE" permission before binding HotwordDetectionService" into sc-dev 2021-05-25 13:24:35 +00:00
Patrick Baumann
43628ca24c Updates OWNERS files
Bug: 186864416
Test: Builds
Change-Id: I04dfc5c2c7143825334ebc62742e335b8c889492
2021-05-21 14:13:18 -07:00
lpeter
e66524d14f Check "BIND_HOTWORD_DETECTION_SERVICE" permission before binding HotwordDetectionService
Bug: 187914415
Test: atest CtsVoiceInteractionTestCases
Test: atest CtsVoiceInteractionTestCases --instant
Change-Id: I4ccd8fd5b153f28fa4b1463f7412bb8067cc4ffd
2021-05-21 10:49:56 +08:00
Matt Reynolds
12bd37c674 Merge "Add keylayout mapping for Luna controller (Bluetooth)" am: 82edb97d6a am: 9002f72215
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1714670

Change-Id: I912ca3a1e09d4de5fd3fcd954bdd15bfbbf531a1
2021-05-21 01:06:36 +00:00
Matt Reynolds
82edb97d6a Merge "Add keylayout mapping for Luna controller (Bluetooth)" 2021-05-21 00:32:19 +00:00
Matt Reynolds
552dfe5c29 Add keylayout mapping for Luna controller (Bluetooth)
Add a keylayout mapping to support gamepad buttons and axes on the
Amazon Luna controller.

Buttons and axes are mapped according to
https://www.kernel.org/doc/Documentation/input/gamepad.txt except for
the Alexa Push-To-Talk button which is mapped to MEDIA_RECORD.

Bug: 183990549
Test: used the "Gamepad Tester" app and https://gamepad-tester.com in
Chrome to verify all mappings work.

Change-Id: I1921e501eea0ce398b79a32809efa63456074ed5
2021-05-20 15:01:11 -07:00
Neil Fuller
55f4ea8068 Merge "Add permission to shell for CTS test" 2021-05-20 13:13:27 +00:00
TreeHugger Robot
2b25f043b8 Merge "Revert "Revert "Remove GET_ACCOUNTS_PRIVILEGED from PermissionCo..."" into sc-dev am: 92c4b3d31d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14645039

Change-Id: I7f51c736bd0c5e79225c059ffa69ea34885c032f
2021-05-19 20:29:32 +00:00
TreeHugger Robot
92c4b3d31d Merge "Revert "Revert "Remove GET_ACCOUNTS_PRIVILEGED from PermissionCo..."" into sc-dev 2021-05-19 20:11:21 +00:00
Neil Fuller
17ba82b205 Merge "Add permission to shell for CTS test" into sc-dev am: bc9061fdf3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14621137

Change-Id: Ia3343e4f04533f59f56e0e02464f354fa1230418
2021-05-19 16:24:03 +00:00
Hai Zhang
0bd63263db Revert "Revert "Remove GET_ACCOUNTS_PRIVILEGED from PermissionCo..."
Revert "Revert "Remove GET_ACCOUNTS_PRIVILEGED from PermissionCo..."

Revert "Revert "Remove GET_ACCOUNTS_PRIVILEGED from PermissionCo..."

Revert submission 14640417-revert-14608710-pc-account-permission-YZYJDZRTJD

Reason for revert: Reversion didn't fix test.
Reverted Changes:
I5b3cd130e:Revert "Remove GET_ACCOUNTS_PRIVILEGED from Permis...
I38aa53cc5:Revert "Remove GET_ACCOUNTS_PRIVILEGED from Permis...
Ibed0af2c7:Revert "Remove GET_ACCOUNTS_PRIVILEGED from Permis...

Bug: 185607880
Bug: 188643368
Change-Id: Iee9e3f4b01ad1f3d5285e712a70cf218886c8de9
2021-05-19 16:18:31 +00:00
Neil Fuller
22472c6361 Add permission to shell for CTS test
This grants the shell app the SUGGEST_EXTERNAL_TIME permission needed
for the TimeManagerTest (CTS) to invoke the
TimeManager.suggestExternalTime() method during tests.

Bug: 184947690
Bug: 177079827
Test: See associated cts change
Merged-In: Ia1995ec9503dbd2b12e0b5b5f92a96e02f85beec
Change-Id: Ia1995ec9503dbd2b12e0b5b5f92a96e02f85beec
2021-05-19 16:11:32 +00:00
Neil Fuller
bc9061fdf3 Merge "Add permission to shell for CTS test" into sc-dev 2021-05-19 16:11:12 +00:00
TreeHugger Robot
141a4e0455 Merge "Revert "Remove GET_ACCOUNTS_PRIVILEGED from PermissionController."" into sc-dev am: 393cd159ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14640418

Change-Id: I941f58b34b30fab29bbc2da5bb6fa142fdecf11e
2021-05-19 15:34:14 +00:00
Ard Biesheuvel
e6c75ec2dc Revert "Remove GET_ACCOUNTS_PRIVILEGED from PermissionController."
Revert "Remove GET_ACCOUNTS_PRIVILEGED from PermissionController."

Revert "Remove GET_ACCOUNTS_PRIVILEGED from PermissionController."

Revert submission 14608710-pc-account-permission

Reason for revert:
Causes kernel presubmit breakage (b/188643368)
[avd/avd_boot_test_kernel_triggered-stable-host-image] DeviceBootTest.DeviceBootTest#DeviceBootTest

Reverted Changes:
I5ed894f7d:Remove GET_ACCOUNTS_PRIVILEGED from PermissionCont...
I2e765abb8:Remove GET_ACCOUNTS_PRIVILEGED from PermissionCont...
Ia11eb94f8:Remove GET_ACCOUNTS_PRIVILEGED from PermissionCont...

Change-Id: I5b3cd130e3d541cd2d97e74bd9da158c47dc0ea8
Bug: 188643368
2021-05-19 13:29:43 +00:00
Patrick Baumann
62bf50bbd8 Merge changes I04dfc5c2,Idc7e1f3c am: 1ef34e9022 am: 4c56bac295
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1705089

Change-Id: Ibea92e6623d660b0bcbc324c8f188642841160dd
2021-05-18 23:16:02 +00:00
Neil Fuller
bc4a843f18 Add permission to shell for CTS test
This grants the shell app the SUGGEST_EXTERNAL_TIME permission needed
for the TimeManagerTest (CTS) to invoke the
TimeManager.suggestExternalTime() method during tests.

Bug: 184947690
Bug: 177079827
Test: See associated cts change
Merged-In: Ia1995ec9503dbd2b12e0b5b5f92a96e02f85beec
Change-Id: Ia1995ec9503dbd2b12e0b5b5f92a96e02f85beec
2021-05-18 14:04:55 +01:00
Hai Zhang
4147b7f3bb Remove GET_ACCOUNTS_PRIVILEGED from PermissionController.
It was only added for debugging in ag/12255967, and now that we no
longer need that info, we should remove it before S release.

Change-Id: I2e765abb8fbb9277a7a1ff4e0226161eeb3d5eed
Fixes: 185607880
Test: presubmit
2021-05-18 00:53:58 +00:00
Aaron Huang
63fd72154c Merge "Split out NetworkStack and Tethering permission" into sc-dev 2021-05-17 14:15:53 +00:00
Patrick Baumann
e6c0a4f8ce Updates OWNERS files
Bug: 186864416
Test: Builds
Change-Id: I04dfc5c2c7143825334ebc62742e335b8c889492
2021-05-14 15:45:42 +00:00
Zhomart Mukhamejanov
1aa8e74d5c Merge "Add android.car.permission.CONTROL_CAR_CLIMATE to bugreport app" into sc-dev 2021-05-13 22:10:13 +00:00
Jeff Chang
5c62d1f9d6 Merge "Make no-history activity be finished with different tasks" into sc-dev 2021-05-13 02:35:37 +00:00
Zhomart Mukhamejanov
01f50a208d Add android.car.permission.CONTROL_CAR_CLIMATE to bugreport app
This is to allow closing the HVAC menu when bugreport is opened,
required by CLOSE_SYSTEM_DIALOG broadcast.
See bugreport app's AndroidManifest.xml for details.

Bug: 187471256
Test: run locally
Change-Id: I9630ca46ed7ea9cc536bf390a07d95d980701c69
2021-05-11 16:02:12 +00:00
TreeHugger Robot
793ae837f5 Merge changes from topic "ClusterState.displayId" into sc-dev
* changes:
  Adds car.permission.CAR_INSTRUMENT_CLUSTER_CONTROL to CarSystemUI.
  Removes car.permission.ACCESS_PRIVATE_DISPLAY_ID from ClusterHome.
2021-05-11 02:20:28 +00:00