Commit Graph

2010 Commits

Author SHA1 Message Date
Bernardo Rufino
0a80905457 Merge "[Attempt #2] Add privileged to BROADCAST_CLOSE_SYSTEM_DIALOGS" 2021-01-21 17:07:20 +00:00
Hall Liu
bf1c45fea5 Merge "Add new columns in CallLog" 2021-01-20 18:32:26 +00:00
Bernardo Rufino
5e390e7998 [Attempt #2] Add privileged to BROADCAST_CLOSE_SYSTEM_DIALOGS
Original CL got reverted because target aosp_arm64-userdebug was failing
to boot. Apparently, the right place to put the permission for launcher3
is in frameworks/base/data/etc/com.android.launcher3.xml, not
frameworks/base/data/etc/privapp-permissions-platform.xml (despite it
having an entry on the latter) because launcher3 lives in system_ext.

-- Original CL description

CellBroadcastReceiver, a mainline module signed with the networkstack,
needs it before showing emergency alerts to the user.

This is inline and ok with the rest of of the restrictions given that
STATUS_BAR that allows calls to StatusBarManager.collapsePanels() also
has "privileged" protection level.

Also adding permission to privapp-permissions-platform for Launcher3
because of b/177506944, despite it getting it via "recents" protection
level.

Bug: 177346942
Bug: 159105552
Test: atest PermissionPolicyTest
Test: Run DeviceBootTest for aosp_arm64-userdebug in forrest.
Change-Id: Ie3298c839003aeaca3cc84782e8846374beca5b8
2021-01-20 09:20:28 +00:00
Ivan Chiang
61b1b4e80f Merge "Revert "Add privileged to BROADCAST_CLOSE_SYSTEM_DIALOGS"" 2021-01-20 01:53:15 +00:00
Ivan Chiang
0c2c8dab31 Revert "Add privileged to BROADCAST_CLOSE_SYSTEM_DIALOGS"
Revert "Add BROADCAST_CLOSE_SYSTEM_DIALOGS to launcher via privi..."

Revert "Udpate BROADCAST_SYSTEM_DIALOGS permission in CTS"

Revert submission 13328953-acsd-privileged

Reason for revert: DeviceBootTest#REBOOT_TEST fail on b/177952808.
Reverted Changes:
Id3fdaf36f:Udpate BROADCAST_SYSTEM_DIALOGS permission in CTS
I40a28210f:Add BROADCAST_CLOSE_SYSTEM_DIALOGS to launcher via...
If027c6824:Add privileged to BROADCAST_CLOSE_SYSTEM_DIALOGS

Change-Id: I2a2e12af9075727e0d6f0be07467c4ba9285b2d3
2021-01-20 01:46:08 +00:00
Keun-young Park
81eb442457 Merge changes from topic "carshell"
* changes:
  add Shell-package-library to allow product type level update
  Change target package for com.android.car.shell
2021-01-20 01:27:49 +00:00
Hall Liu
6b7885f153 Add new columns in CallLog
Add new column definitions in the call log db to support storing the new
call composer elements in the call log. Also refactor addCall to use a
builder pattern, and add READ_VOICEMAIL for shell in order to support
new CTS tests

Test: atest CallLogTest
Bug: 174798736
Change-Id: I00e127510c382d9ff0ffc70f4c5ad7179ac7319a
2021-01-19 16:06:13 -08:00
Bernardo Rufino
ee605b6465 Merge "Add privileged to BROADCAST_CLOSE_SYSTEM_DIALOGS" 2021-01-19 17:44:55 +00:00
Bernardo Rufino
4d62bdba97 Add privileged to BROADCAST_CLOSE_SYSTEM_DIALOGS
CellBroadcastReceiver, a mainline module signed with the networkstack,
needs it before showing emergency alerts to the user.

This is inline and ok with the rest of of the restrictions given that
STATUS_BAR that allows calls to StatusBarManager.collapsePanels() also
has "privileged" protection level.

Also adding permission to privapp-permissions-platform for Launcher3
because of b/177506944, despite it getting it via "recents" protection
level.

Bug: 177346942
Bug: 159105552
Test: atest PermissionPolicyTest
Change-Id: If027c6824a58c8b9a917f9995e34bf8b306cab54
2021-01-14 12:23:19 +00:00
Meng Wang
e74bc55417 Add privapp permissions for ImsServiceEntitlement
Bug: 176127289
Test: make
Change-Id: Ic322a097ef2d33f52da593fbc4e3acd78674b220
2021-01-13 14:38:51 -08:00
Adam Bookatz
185089663b Merge "Add User* OWNERS file (part 2)" am: da79da08f0 am: b9b73d26db am: 9ac98ffa59
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1543926

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3fc005c69350f13002ceea055c7b97b8486eb484
2021-01-12 21:04:55 +00:00
Adam Bookatz
9ac98ffa59 Merge "Add User* OWNERS file (part 2)" am: da79da08f0 am: b9b73d26db
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1543926

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I87bc14c52e4aa4ed42f73496e104f0f3182c613b
2021-01-12 20:55:13 +00:00
Adam Bookatz
6cd4cd01fb Add User* OWNERS file (part 2)
Part 1 was aosp/1546301.
Two parts are required due to b/175318571.

Test: N/A
Change-Id: I1a89f7d26da70dce36d1e891a8e8ebc4042dc56c
2021-01-12 01:03:39 +00:00
Keun young Park
2bd010b7e5 Change target package for com.android.car.shell
- It now overrides shell package itself

Bug: 177099512
Test: Check if shell package has all necessary permissions
Change-Id: I139b47fcb2992e42da020aaac8680ae8dd2efac0
2021-01-11 15:54:54 -08:00
Jordan Liu
a37c840348 Merge "Update allowlist for shell and BIND_CARRIER_SERVICE" 2021-01-07 19:53:36 +00:00
Evan Rosky
c08017775a Merge "Add per-change flags and wallpaper windows to transitions" 2021-01-07 18:15:56 +00:00
Louis Chang
fb8dad4f27 Merge "Provide alternative find-task method without ActivityRecord" 2021-01-07 04:43:01 +00:00
Collin Fijalkovich
bd764f7af8 Merge "Allow Traceur to take START_FOREGROUND_SERVICES_FROM_BACKGROUND" am: c9edda6886 am: 2159e77523 am: ac67934dae
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1541332

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie627bd4e5f0fd6352870b49c35c7eb24f5f7c8df
2021-01-07 01:48:54 +00:00
Collin Fijalkovich
ac67934dae Merge "Allow Traceur to take START_FOREGROUND_SERVICES_FROM_BACKGROUND" am: c9edda6886 am: 2159e77523
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1541332

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I608ab5f1f324c5aff31e552bb5575b1e81a1f240
2021-01-07 01:09:02 +00:00
Collin Fijalkovich
c9edda6886 Merge "Allow Traceur to take START_FOREGROUND_SERVICES_FROM_BACKGROUND" 2021-01-06 23:35:54 +00:00
Jordan Liu
dac5abcd4c Update allowlist for shell and BIND_CARRIER_SERVICE
Bug: 175043978
Test: atest PrivappPermissionsTest#privappPermissionsNeedToBeWhitelisted
Change-Id: I4153770218c0cae39882b80266183d74af6622fe
2021-01-06 14:55:09 -08:00
Quang Luong
f4b607ca69 Merge "Add wifi coex permissions to Shell for CTS tests" am: c7dfd602ee am: 50b86c5fb3 am: 21b3306247
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1532972

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I65d6ea9dde2429efc8a8ba1eb90a3a7a36c80bee
2021-01-06 20:17:32 +00:00
Collin Fijalkovich
89ff2a3fac Allow Traceur to take START_FOREGROUND_SERVICES_FROM_BACKGROUND
As part of targetting the Android S API level, we need to explicitly
allow the privapp Traceur to start services from the background.

Test: atest TraceurUiTest
Bug: 176849372
Change-Id: I58c2a23653541f8516beedf0971d60403eedbb02
2021-01-06 12:05:35 -08:00
Quang Luong
21b3306247 Merge "Add wifi coex permissions to Shell for CTS tests" am: c7dfd602ee am: 50b86c5fb3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1532972

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I148fffadc82704d4f4c508f880c2a39fe7e37f89
2021-01-06 19:55:22 +00:00
Quang Luong
c7dfd602ee Merge "Add wifi coex permissions to Shell for CTS tests" 2021-01-06 19:08:24 +00:00
Evan Rosky
dba8bbfd5e Add per-change flags and wallpaper windows to transitions
This CL adds flags per-change in a transition so that
extra meta-information (like is-wallpaper, shows-wallpaper,
translucent, starting-window-transfer) can be passed to
shell.

This then treats wallpaper like other activities WRT to
transitions (collect/send to shell) except for a couple
differences:
1. When any window is collected, if it shows wallpaper, then
   the wallpaper will be automatically collected too.
2. During TransitionInfo construction, wallpaper containers
   are excluded from promotion and root-leash calculation.

This also adds starting-window transfers to the transition
and adds support in the example player.

Bug: 169035082
Test: launch any non-wallpaper app (eg. messages), then press
      home-button to bring home to front. The wallpaper should
      be included with the home fading-in.
Change-Id: I7ceea614e16c2686f533937db10436f66764255e
2021-01-05 17:36:03 -08:00
Treehugger Robot
fd5dc026b7 Merge "Add key layout and device file for Reference RCU" am: 9d396145ef am: eb20fced3d am: e5b4ebe3f4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1521837

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If4e82d9c80739684faa3638d207b805c95153dbd
2021-01-05 23:21:26 +00:00
Treehugger Robot
e5b4ebe3f4 Merge "Add key layout and device file for Reference RCU" am: 9d396145ef am: eb20fced3d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1521837

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9558def867e5a0566b2e211c4e71c4aeb1589c7c
2021-01-05 23:06:17 +00:00
Treehugger Robot
9d396145ef Merge "Add key layout and device file for Reference RCU" 2021-01-05 21:39:05 +00:00
Etan Cohen
f3c551f4a4 Merge "Grant shell permissions for Airplane Mode to Shell to support CTS" am: a8cc70b502 am: d1d3e03659 am: c031e12c7f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1539421

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2a31950f7409d3a907448b05d334f5888fc06cc5
2021-01-05 21:09:27 +00:00
Etan Cohen
c031e12c7f Merge "Grant shell permissions for Airplane Mode to Shell to support CTS" am: a8cc70b502 am: d1d3e03659
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1539421

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia5fb1ea1ca298cd0f4275c42b94d027c9c3c53b7
2021-01-05 20:38:35 +00:00
Max Zhang
c8ae8840a9 Add key layout and device file for Reference RCU
Adding key layout and device configuration file
for Google Reference RCU.
The VID/PID pair used in file name is speicifically for
Reference RCU, which supports both G10 and G20.

b/173100313
test: manually on custom build for ADT-3

Change-Id: I2048012fb91adfc6a2f61065ba262d5ed344c673
2021-01-05 18:24:49 +00:00
Louis Chang
4bce80f1f3 Provide alternative find-task method without ActivityRecord
Restructure the task looks-up methods to allow finding tasks
without passing in an ActivityRecord. This opens the opportunity
of looking reusable tasks before building an ActivityRecord, which
is the first step of stand-in activity replacement.

Bug: 175354896
Test: presubmit
Change-Id: Ic769790f0e5cbc921e144e1bb3d696519fc13555
2021-01-05 13:07:35 +08:00
Etan Cohen
ddb4902597 Grant shell permissions for Airplane Mode to Shell to support CTS
New permission is needed to allow CTS to trigger the new WiFi subsystem
restart API.

Bug: 175084231
Test: atest android.net.wifi.cts.WifiManagerTest#testRestartWifiSubsystem
Change-Id: Id844fb799c61f65580e686d1da7ec38a62dd01d0
2021-01-02 22:34:50 -08:00
Treehugger Robot
2d9ed1cef2 Merge "Use find-copy-subdir-files macro to eliminate foreach calls" am: c0de8cfcfa am: 94327cd047 am: 8b35683bd8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1520140

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id4b794cfe6c15d20467fdcb97a0092b4973930d9
2020-12-22 06:52:32 +00:00
Quang Luong
7597d0839c Add wifi coex permissions to Shell for CTS tests
Bug: 153651001
Test: CTS tests pass
Change-Id: I7c73bba692ade59731c1881b12f026e3a41891ca
2020-12-18 12:16:17 -08:00
Chen Xu
5bc3bf185a DO NOT MERGE add android.permission.STATUS_BAR for cellbroadcastreceiver am: af413b18d2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13237574

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I394b781cf3a7f2f0fb49b073ee8c14319a6520a8
2020-12-18 00:33:27 +00:00
Treehugger Robot
8b35683bd8 Merge "Use find-copy-subdir-files macro to eliminate foreach calls" am: c0de8cfcfa am: 94327cd047
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1520140

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib739cc77e53e805476b73e0f086366c9ef280cca
2020-12-17 23:18:45 +00:00
Treehugger Robot
c0de8cfcfa Merge "Use find-copy-subdir-files macro to eliminate foreach calls" 2020-12-17 22:58:32 +00:00
Chen Xu
af413b18d2 DO NOT MERGE add android.permission.STATUS_BAR for cellbroadcastreceiver
See b/171668171#29 for fix explanation.

Bug: 171668171
Bug: 172602964
Bug: 171614598
Bug: 171755310
Test: Manual test
Change-Id: Ie12354d42aa7d1bf07eeca1cb2c389d2383abbf4
2020-12-17 21:52:28 +00:00
Chris Li
56cf2dd5b4 Merge "Allow TaskDisplayArea to have TaskDisplayArea children (3/n)" 2020-12-17 21:35:12 +00:00
Chris Li
4a85741bd0 Allow TaskDisplayArea to have TaskDisplayArea children (3/n)
- Have TaskDisplayArea extends DisplayArea<WindowContainer>

Bug: 175136051
Test: Passed existing tests
Change-Id: I33474acfb0fdb665823a6dcb63635f1e7702a1e2
2020-12-16 23:19:20 -08:00
Chris Ye
95adf19d4c Add motion sensor configuration for Sony DS4.
Add sensor default axes mapping in generic key layout map.
Add sensor axes mappings and configurations for input device sensor support.

Bug: 161634265
Test: atest InputDeviceSensorManagerTest
Change-Id: I8279a146d39b9f99378d152935b1522674c81b85
2020-12-16 13:01:10 -08:00
Jordan Liu
a54c2a82da Merge "Expose resetAllCellBroadcastRanges and permission" 2020-12-16 20:37:03 +00:00
Serik Beketayev
7f846117b1 Merge "[NetworkPreferenceApp] Initial skeleton" am: 94e3f4ba8f am: e5473840c5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1519808

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icb939d063ea2f6f4c893ef2249e6cf38165418d8
2020-12-16 20:04:36 +00:00
Serik Beketayev
94e3f4ba8f Merge "[NetworkPreferenceApp] Initial skeleton" 2020-12-16 18:46:25 +00:00
Treehugger Robot
18f564629a Merge "Grant HDMI_CEC permission to Shell" am: 63340382e0 am: d7781b465e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469448

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib0540d3bb3989e436c98d222aff6aa4c30a630a2
2020-12-16 15:41:36 +00:00
Treehugger Robot
63340382e0 Merge "Grant HDMI_CEC permission to Shell" 2020-12-16 14:59:53 +00:00
TreeHugger Robot
327d1f0aa8 Merge "Update Indic scripts" 2020-12-16 14:02:14 +00:00
Serik Beketayev
4d21dd5080 [NetworkPreferenceApp] Initial skeleton
Bug: 170911632
Test: mma
Change-Id: I451e5515cb36af3889d83978ad06c92b7782c7a8
Merged-In: Ibb3a39bbe3d881a94b80411f324a7b4b0e37f9c3
2020-12-15 14:16:29 -08:00