Commit Graph

1725 Commits

Author SHA1 Message Date
Treehugger Robot
0ea696e448 Merge "Add permission for protecting UI tracing" am: 854bb5b5eb am: 6f53cbb440
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1500510

Change-Id: Ie88e8640db85513fd16c383833731f4a014d97e7
2020-12-01 14:28:59 +00:00
TreeHugger Robot
814227a0eb Merge "Add READ_DREAM_STATE to the settings list" into rvc-qpr-dev am: d9541fb81b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13090678

Change-Id: Ic4b416a6e3220b041c0336d1d905dd45a806eb48
2020-11-24 09:52:05 +00:00
TreeHugger Robot
d9541fb81b Merge "Add READ_DREAM_STATE to the settings list" into rvc-qpr-dev 2020-11-24 06:46:48 +00:00
Agatha Man
1b28c9d0ca Merge "Add permissions to car shell" into rvc-qpr-dev am: c9e117edce
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13073453

Change-Id: I8e9ec32c16457e0356762dc95e5ea2440e066de8
2020-11-19 20:28:43 +00:00
Agatha Man
166aaccebb Add permissions to car shell
Bug: 173532101
Test: make && emulator
Change-Id: Iddaf0dfc25df76f8b3492fb293ccb3910ae2898e
Merged-In: Iddaf0dfc25df76f8b3492fb293ccb3910ae2898e
2020-11-19 19:59:03 +00:00
Edgar Wang
46f664b7ac Add READ_DREAM_STATE to the settings list
Settings application needs the previleged permission to
get AoD supression status by using PowerManager API

Bug: 173425264
Change-Id: I5da006b7c88dc36d3eefebc559f2a2f3ab50823f
Test: Manual & bootup device
(cherry picked from commit 8a888b9745)
Merged-In: I5da006b7c88dc36d3eefebc559f2a2f3ab50823f
2020-11-19 14:25:05 +00:00
Ioana Stefan
2ad02a383b Add permission for protecting UI tracing
The new permission will protect the UI traces, allowing only wanted
development tools to start the tracing. At the moment, the permission is
planned to be used for WindowManager and InputMethod traces.

Bug: 172444310
Test: N/A
Change-Id: Ibdeb38dc9a066cb8ed2904adcdac29014b166526
2020-11-19 11:59:50 +00:00
Sarah Chin
f4847995bc Merge "Add read/write logic for SubscriptionPlan network types field" 2020-10-23 17:15:03 +00:00
Steven Moreland
d53ccbc7bf Merge "Remove declaration of hidl manager -> base dep" am: 4ff4b2ee17 am: 742771fdd7 am: e798d05a73
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1467918

Change-Id: I053f441b90c710a7fed75705b3e170b890acb193
2020-10-22 05:50:54 +00:00
Steven Moreland
e798d05a73 Merge "Remove declaration of hidl manager -> base dep" am: 4ff4b2ee17 am: 742771fdd7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1467918

Change-Id: If25601a8cd9024de12655c73ac587ab116ad845c
2020-10-22 00:32:52 +00:00
Steven Moreland
4ff4b2ee17 Merge "Remove declaration of hidl manager -> base dep" 2020-10-21 23:14:11 +00:00
Steven Moreland
fb52599e8a Remove declaration of hidl manager -> base dep
This dependency is fictitious: hidl manager actually contains a static
copy of hidl base for convenience. Separate libraries were created
later (e.g. android.hidl.manager-java-shallow) in order for users of
these libraries to specify the exact deps they need.

Fixes: 170710203
Test: boot and check logs

:) adb logcat | grep android.hidl.manager-V1.0-java.jar
10-21 00:42:53.173   328   328 D ApplicationLoaders: Created zygote-cached class loader: /system/framework/android.hidl.manager-V1.0-java.jar
10-21 00:43:17.322   329   329 D ApplicationLoaders: Created zygote-cached class loader: /system/framework/android.hidl.manager-V1.0-java.jar
10-21 00:43:31.920  2250  2250 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.hidl.manager-V1.0-java.jar
10-21 00:43:38.884  2847  2847 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.hidl.manager-V1.0-java.jar
10-21 00:43:41.010  2923  2923 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.hidl.manager-V1.0-java.jar
10-21 00:43:42.146  3044  3044 D ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.hidl.manager-V1.0-java.jar

Change-Id: I024a1b16570bdceb7bef5b2e718c65155c675b4a
2020-10-21 00:52:13 +00:00
Heemin Seog
39bd586f6f Merge "Allow permission to change application state" into rvc-qpr-dev am: f068a1c665
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12865656

Change-Id: I1cf1a67e136ee838aa4461c3d4c0da1bb561b7ba
2020-10-19 15:43:28 +00:00
Heemin Seog
52537c1ea2 Allow permission to change application state
Needed to give KitchenSink control over enabling/disabling rotary
functionality.

Bug: 170232080
Test: manual
Change-Id: Ic69222642884444597e7411b17b6c6f363076981
2020-10-16 16:16:56 -07:00
Treehugger Robot
47f5d7decf Merge "Add OnLive Universal Controller media buttons mapping." am: 30951b0666 am: 94fc36d8fc am: 3b458c921c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1446730

Change-Id: I264db17eaf594758ae997a18b5f27688d3458465
2020-10-13 06:31:17 +00:00
Treehugger Robot
3b458c921c Merge "Add OnLive Universal Controller media buttons mapping." am: 30951b0666 am: 94fc36d8fc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1446730

Change-Id: Ia418515b0c1f4b270cf07885f9c089d8ab146df8
2020-10-13 06:18:37 +00:00
Treehugger Robot
94fc36d8fc Merge "Add OnLive Universal Controller media buttons mapping." am: 30951b0666
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1446730

Change-Id: I760c959c891a12b5ea096ed9f8de56209ec45233
2020-10-13 05:59:50 +00:00
Xin Li
986e6eeddf Merge ab/6749736 in stage.
Bug: 167233921
Merged-In: Iecef31f7bf10ad97b7e0075cf302ae94e248474a
Change-Id: I9e9c873bc2e05a0cfe3af0bf74725500f3f108db
2020-10-10 20:38:57 -07:00
Chris Ye
f624d6d026 Add OnLive Universal Controller media buttons mapping.
Add media buttons like play/pause/record etc, for OnLive
Universal Controller.

Bug: 114679349
Test: Connect OnLive Universal Controller and play with media
buttons.

Change-Id: Ie69b3f7f8f13c778208454fb789113126c04966a
Merged-In: Ie69b3f7f8f13c778208454fb789113126c04966a
2020-10-02 18:06:34 -07:00
Neil Fuller
7a3481c35c Merge "Add a new permission in AOSP" am: 4b22e7c281 am: 1f728acac0 am: 8a0ce64177 am: 75ae324fb9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440636

Change-Id: Id9f67ecab2beabe967660b5a4407ef0f20d8efad
2020-09-30 10:15:21 +00:00
Neil Fuller
75ae324fb9 Merge "Add a new permission in AOSP" am: 4b22e7c281 am: 1f728acac0 am: 8a0ce64177
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440636

Change-Id: I0c4deb866e86feb77fe898e4bf643cd45ad9f086
2020-09-30 09:51:55 +00:00
Neil Fuller
770f5ab2db Add a new permission in AOSP
This adds a new permission in AOSP, so it can be referenced by the Shell
command, which presubmit suggests has to be maintained in AOSP.

Bug: 159891384
Test: build only
Exempt-From-Owner-Approval: jsharkey@ approved but it appears to have reset...?
Change-Id: Ic7d403e20731e9d6bd82d5b2e2758cc61989cc59
2020-09-30 08:39:25 +00:00
Sarah Chin
0b7a97fc80 Merge "Add read/write logic for SubscriptionPlan network types field" into rvc-d1-dev am: 76b7c3ccb4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12691247

Change-Id: Iab79d997aaeec0524cf9f2d9fb61f3c1ce0afa71
2020-09-29 17:58:01 +00:00
Sarah Chin
5e1a734a35 Add read/write logic for SubscriptionPlan network types field
Add permissions for Phone process to access SubscriptionPlans for
meteredness

Test: manual verification
Bug: 169187737
Change-Id: Ib821590a573db87b22619cfe7ebe64c0230c5031
Merged-In: Ib821590a573db87b22619cfe7ebe64c0230c5031
2020-09-25 15:12:57 -07:00
Collin Fijalkovich
c9f2bbea61 Merge "Allow privapp Traceur access to STATUS_BAR and DUMP" am: 7ffd615b4c am: c1795594fc am: 007c395a60 am: 2b7e712e28
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1415308

Change-Id: Icf6dcb3545876cc1f1fa55648d4af4912e8e18ac
2020-09-25 05:35:02 +00:00
Sarah Chin
a608315e39 Merge "Add read/write logic for SubscriptionPlan network types field" into rvc-qpr-dev am: 93e0bd19fc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12672465

Change-Id: I45e6d253a09a7d82b454d869895b54d8631cc24b
2020-09-25 05:26:40 +00:00
Collin Fijalkovich
2b7e712e28 Merge "Allow privapp Traceur access to STATUS_BAR and DUMP" am: 7ffd615b4c am: c1795594fc am: 007c395a60
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1415308

Change-Id: I848a84ba27f4577b2744703943eb09d49b9922fa
2020-09-25 05:26:15 +00:00
Sarah Chin
8fce85a6f8 Add read/write logic for SubscriptionPlan network types field
Add permissions for Phone process to access SubscriptionPlans for
meteredness

Test: manual verification
Bug: 169187737
Change-Id: Ib821590a573db87b22619cfe7ebe64c0230c5031
2020-09-25 00:32:07 +00:00
Collin Fijalkovich
7ffd615b4c Merge "Allow privapp Traceur access to STATUS_BAR and DUMP" 2020-09-24 21:08:09 +00:00
Collin Fijalkovich
36d59fba49 Allow privapp Traceur access to STATUS_BAR and DUMP
Modifies the privapp allowlist to allow Traceur to grant Traceur the
STATUS_BAR permission, which is needed for quick settings tile functionality, and dump which is needed for the BUGREPORT_STARTED intent.

Bug: 166768816
Test: Built user and userdebug, exercised regular and long trace
functionality

Change-Id: I180527a9a1a30ef6a214b628f37affc69f9ae2f0
2020-09-24 17:45:53 +00:00
Sarah Chin
8517e8d998 Add read/write logic for SubscriptionPlan network types field
Add permissions for Phone process to access SubscriptionPlans for
meteredness

Test: manual verification
Bug: 169187737
Change-Id: Ib821590a573db87b22619cfe7ebe64c0230c5031
2020-09-23 23:59:02 -07:00
Ulyana Trafimovich
51f2298687 Merge "Drop dependency of android.test.mock -> android.test.base." am: f08e8871d4 am: 72003fb685 am: 10e02f55c0 am: 2dc7803823
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1434135

Change-Id: Ided901188cdaee6a0bc7cafe751e9344bcba8d9b
2020-09-23 17:07:11 +00:00
Ulyana Trafimovich
2dc7803823 Merge "Drop dependency of android.test.mock -> android.test.base." am: f08e8871d4 am: 72003fb685 am: 10e02f55c0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1434135

Change-Id: I2739873d55b2cff1f5ecc722e1877603ba6e22c6
2020-09-23 16:30:27 +00:00
Ulyana Trafimovich
f08e8871d4 Merge "Drop dependency of android.test.mock -> android.test.base." 2020-09-23 14:54:16 +00:00
Paul Hu
9830fe8a19 Merge "Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission to DownloadProvider" am: 41344e427c am: a5bd8f91f5 am: 451ab5646b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1431470

Change-Id: I44f2db6b3563cf002372a2e97cb6849275d139fd
2020-09-23 11:31:46 +00:00
Ulya Trafimovich
c578ab0ada Drop dependency of android.test.mock -> android.test.base.
There should be no such dependency.

Test: lunch aosp_cf_x86_phone-userdebug && m
Bug: 169137403
Bug: 132357300
Change-Id: Iaa7414be66581c01c6acbf367dc165cd8af78615
2020-09-23 11:08:01 +01:00
paulhu
2cbae66fcb Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission to DownloadProvider
- DownloadManager will use the requestor app's default network to
open a connection. When the VPN app lists the DownloadProvider as
a disallowed application, this will fail with EPERM.
- This is because in R, the DownloadProvider lost its privileges
due to the removal of the CONNECTIVITY_INTERNAL permission. It's
removed without considering the corner case where the
DownloadProvider is excluded from using the VPN. It's the only
case where this makes a difference.
- Adding CONNECTIVITY_USE_RESTRICTED_NETWORKS will give
DownloadProvider the ability to use the VPN again in this case,
fixing the issue.

Bug: 165774987
Test: Build, flash rom and boot to home. Manully test that
      DownloadProvider can download file via VPN.
Change-Id: If8fa785568ace1f15f53daec67c06e1207d5dc9c
Merged-In: If8fa785568ace1f15f53daec67c06e1207d5dc9c
2020-09-18 08:24:12 +00:00
Paul Hu
aed20efa42 Merge "Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission to DownloadProvider" into rvc-qpr-dev am: 8b9d40586b
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12533920

Change-Id: I1d881a0c74870c700597e3ef3280ba349640591e
2020-09-17 16:26:52 +00:00
paulhu
41c59babd5 Add CONNECTIVITY_USE_RESTRICTED_NETWORKS permission to DownloadProvider
- DownloadManager will use the requestor app's default network to
open a connection. When the VPN app lists the DownloadProvider as
a disallowed application, this will fail with EPERM.
- This is because in R, the DownloadProvider lost its privileges
due to the removal of the CONNECTIVITY_INTERNAL permission. It's
removed without considering the corner case where the
DownloadProvider is excluded from using the VPN. It's the only
case where this makes a difference.
- Adding CONNECTIVITY_USE_RESTRICTED_NETWORKS will give
DownloadProvider the ability to use the VPN again in this case,
fixing the issue.

Bug: 165774987
Test: Build, flash rom and boot to home. Manully test that
      DownloadProvider can download file via VPN.
Change-Id: If8fa785568ace1f15f53daec67c06e1207d5dc9c
2020-09-08 11:19:01 +08:00
Xin Li
628590d7ec Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
Bug: 166295507
Merged-In: I3d92a6de21a938f6b352ec26dc23420c0fe02b27
Change-Id: Ifdb80563ef042738778ebb8a7581a97c4e3d96e2
2020-08-31 21:21:38 -07:00
Fabian Kozynski
a7149e7a53 Merge "Add MODIFY_AUDIO_ROUTING permission to systemui" into rvc-qpr-dev am: d951edaa48
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12378082

Change-Id: I2d29f6eec37ad75c83fd8e96351061116929a54a
2020-08-17 19:01:48 +00:00
Fabian Kozynski
d951edaa48 Merge "Add MODIFY_AUDIO_ROUTING permission to systemui" into rvc-qpr-dev 2020-08-17 18:40:14 +00:00
Agatha Man
443decbb58 Merge "Remove car permissions from common shell package" into rvc-qpr-dev am: d029933aa5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12330563

Change-Id: I559c3cd33280083f88f4d9f7f2324153e49527ce
2020-08-14 18:51:55 +00:00
Agatha Man
39bcfc7c83 Remove car permissions from common shell package
Removing car permissions that were added into common shell so that they
can be re-evaulated to include into CarShell. Adding car permissions to
shell should be reviewed by car frameworks team to determine what can be
allowed to the end-user and in terms of car safety.

Bug: 160339243
Test: make then check permission for shell user with adb shell pm dump
com.android.shell

Change-Id: I5a3b2086f605ba31f4231ec425cb2cb7c51ea7e6
(cherry picked from commit 89e5cfe9d8)
Merged-In: I5a3b2086f605ba31f4231ec425cb2cb7c51ea7e6
2020-08-14 18:44:14 +00:00
Fabian Kozynski
5f617413aa Add MODIFY_AUDIO_ROUTING permission to systemui
Adds the privileged permission for AppOpsControllerImpl.

Test: build and record
Fixes: 164213112
Change-Id: Ib23749542bb41eb1df2fb7cfe62db57fba73d0cf
2020-08-14 11:40:29 -04:00
Treehugger Robot
ff5bde9751 Merge "Add KEYCODE_PROG_{BLUE,RED,GREEN,YELLOW} mappings to LKC equivalents" am: 4ec7604b48 am: ab5d157062 am: 2db2e500ee am: c7b8432e5a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1388616

Change-Id: I82e0b5bd6030b1ca0833bfbe7a684747370ca633
2020-08-07 17:49:44 +00:00
Treehugger Robot
c7b8432e5a Merge "Add KEYCODE_PROG_{BLUE,RED,GREEN,YELLOW} mappings to LKC equivalents" am: 4ec7604b48 am: ab5d157062 am: 2db2e500ee
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1388616

Change-Id: I21b9567bf11eda9a678f4b6e2549d8297f395bd9
2020-08-07 17:33:04 +00:00
Treehugger Robot
2db2e500ee Merge "Add KEYCODE_PROG_{BLUE,RED,GREEN,YELLOW} mappings to LKC equivalents" am: 4ec7604b48 am: ab5d157062
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1388616

Change-Id: I31d939fbb443e76fc912dfe663d0b5a060ecba22
2020-08-07 17:31:17 +00:00
Treehugger Robot
4ec7604b48 Merge "Add KEYCODE_PROG_{BLUE,RED,GREEN,YELLOW} mappings to LKC equivalents" 2020-08-07 16:54:11 +00:00
TreeHugger Robot
1410b4a395 Merge "Allow permission controller to read audio configuration" into rvc-qpr-dev am: b7e594e9f1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12308439

Change-Id: I86aecf16784baf432aecd60f3a35f818d8ad9734
2020-08-06 23:50:59 +00:00