Pajace Chen
fddc8f03c3
Allow BatteryWidget to show bluettooh devices
...
- Pregrant BLUETOOTH_CONNECT for settingsintelligence for Bramble,
redin, and Barbet
Test: NA
Bug: 277269994
Change-Id: Idabfc8d9b330d1bfe912ef38d9598128e5764203
2023-04-17 20:08:47 +08:00
Jinyoung Jeong
b341bacb63
[LPA][Redbull] Add notification pregrant am: e420a8ee19 am: 78a4b2adf3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redbull/+/20579162
Change-Id: I7e66c8f9584d0af921f30512be7c9eebb6adc81c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-12-01 00:52:32 +00:00
Jinyoung Jeong
e420a8ee19
[LPA][Redbull] Add notification pregrant
...
refer to b/237497128
Bug: 251705860
Test: manual
Change-Id: I7422932f8567bb926c6e5214ecc663919757da08
2022-11-30 04:53:14 +00:00
Chris.CC Lee
1c59de9eff
[Redbull] Drop the ACCESS_FINE_LOCATION for Restore
...
With Android T, GoogleRestore uses NEARBY_WIFI_DEVICES to create a hotspot. ACCESS_FINE_LOCATION was used in Android S and no longer needed in Android T.
Bug: 231966826
Test: Manual tested on Bramble. Used a GoogleRestore APK which declares the use of the ACCESS_FINE_LOCATION permission but the permission is not granted by default.
Change-Id: I9bcf9f4922dd7ea5f52c0db0fdafc37e175663de
2022-10-26 12:45:47 +08:00
Nate Myren
fac7ecf810
Add notification pregrant for turbo on redbull
...
Bug: 233903326
Test: manual
Change-Id: I0cd31717cfb954154077e8bc12981f91539c8917
2022-06-01 10:52:16 -07:00
Allen Xu
daf9d7e018
Add notification pregrant for SCONE
...
Bug: 233243584
Change-Id: I7ab9dc3a1ced82c500046e787c3401f385ccf410
Test: manual
2022-05-20 00:12:45 +00:00
Michele Berionne
df0dfa45b9
Add notification pregrant for OobConfig
...
Bug: 232002666
Change-Id: I4cb4e49d2755f0216b826942643365366aaa0a07
Test: manual
2022-05-19 18:36:16 +00:00
Nate Myren
557dd98adb
Add further notification pregrants to redbull
...
Bug: 232469538
Bug: 232470607
Bug: 232470323
Test: manual
Change-Id: I503420f60ed88fbf2177e61c573effde44193dad
2022-05-13 15:36:07 -07:00
Chris.CC Lee
227a61e21b
[Redbull] Add NEARBY_WIFI_DEVICES for Restore
...
We used ACCESS_FINE_LOCATION to start a WiFi P2P connection. From
Android T, the required permission is changed to NEARBY_WIFI_DERVICES
instead.
Bug: 219855567
Test: Manual tested on Oriole. Used a local built Restore APK which
declares the use of the permission. Push that APK to the test Oriole and
validate the permission is granted by default.
Change-Id: Ie257179c6f0e533b99ed163294c660e8b6fd9393
2022-05-10 00:35:47 +08:00
Nate Myren
f030eff9a1
Add notification pregrants to redbull
...
Test: build
Bug: 218409412
Change-Id: I0de4ef628c4c028ef1f4005c42dbe5b5676df75a
2022-02-14 10:14:45 -08:00
TreeHugger Robot
e52800f8c1
Merge "Revert "pregrant coarse and background location permission to scone"" into sc-v2-dev
2021-12-10 23:03:38 +00:00
Meng Wang
0b305c16d3
Revert "pregrant coarse and background location permission to scone"
...
Revert "pregrant coarse and background location permission to scone"
Revert submission 15820535-cherrypick-repregrantLocationToScone-5hvcs25t6g
Reason for revert: Unintended location usage issue not fixed.
Reverted Changes:
I1c2209112:pregrant coarse and background location permission...
I1b9370bdc:pregrant coarse and background location permission...
I0fbb20b3e:pregrant coarse and background location permission...
I2d4681b9a:pregrant coarse and background location permission...
Bug: 210152490
Change-Id: Iaeea5e46422f98975242a472d8d60fe7909ee40f
2021-12-10 21:28:32 +00:00
TreeHugger Robot
60fb7ed131
Merge "pregrant COARSE_LOCATION to cbrsnetworkmonitor" into sc-v2-dev
2021-09-24 21:15:18 +00:00
Jack Nudelman
f33d830aab
pregrant COARSE_LOCATION to cbrsnetworkmonitor
...
as per https://developer.android.com/about/versions/12/approximate-location If your app targets Android 12 and you request the ACCESS_FINE_LOCATION permission, you must also request the ACCESS_COARSE_LOCATION permission.
Pregrant also given in cl/396867561.
Bug: 189868097
Bug: 123422575
Test: b/199306063
Change-Id: I5d8c785cbe8ecaf52fa6b0c56fbe965ff37c5ee8
2021-09-17 17:31:13 +00:00
Jack Nudelman
58839d6415
pregrant coarse and background location permission to scone
...
CBRS is ramping up so we need to make sure the necessary location permissions are granted before it launches
Bug: 188832088
Bug: 123422575
Test: b/199306063
Change-Id: I2d4681b9a500b7841814696d2085acbb8cc80084
2021-09-13 20:54:59 +00:00
Diego Wilson
ebb01ed494
Pregrant camera permission to Pixel Camera Services
...
Bug: 183533362
Change-Id: I1c49c92fa4133692337d67691bcd7ddca0147ff8
2021-07-16 18:09:49 +00:00
Chris.CC Lee
0d858c6e77
[Redbull] Update pregrant permissions for Restore APK
...
-. RECEIVE_SMS and READ_PHONE_NUMBERS permissions are no longer used.
-. Add the ACCESS_FINE_LOCATION permission for iOS WiFi D2D which was approved in b/188150877.
Bug: 188150877
Fix: 162937804
Test: Manual tested on Barbet.
Change-Id: I96643f648d72b50a20dc72ac7052ecb7495ab2cb
Merged-In: I96643f648d72b50a20dc72ac7052ecb7495ab2cb
2021-06-22 00:40:43 +00:00
Ruslan Tkhakokhov
18e0354017
[Redbull] Swap Pixelmigrate for Restore APK in default-permissions
...
Bug: 186731327
Test: atest DefaultPermissionGrantPolicyTest
Change-Id: I0e7f5c573c5d61264748e7768fe394e35ef1a9ab
2021-06-14 11:15:05 +00:00
Meng Wang
79d3181c02
Merge "Temporarily revoke location pre-grant to SCONE" into sc-dev
2021-05-21 03:16:12 +00:00
Meng Wang
25cc6f580a
Temporarily revoke location pre-grant to SCONE
...
Will revert once issue fixed and CBRS will launch.
Bug: 188236995
Test: manual
Change-Id: I134fad5710497e2907ddfc5916f95b352936cf6d
2021-05-20 16:19:46 -07:00
Blake Kragten
c4ebd39d46
Remove Gnss Outage System Apk
...
Bug: 186759659
Test: Compiled
Change-Id: I34d4631bf0c0be7f4615349ead32fb1ad576a738
2021-04-29 10:43:58 -07:00
Blake Kragten
687e3e9f08
Remove location access
...
Location access is not needed for physical channel configuration changes
anymore
Bug: 185247832
Test: On Device
Test: atest ConnectivityThermalPowerManagerTests
Change-Id: Idabce5c868fb66327d239a7e9d64ba2f26640647
2021-04-13 12:07:17 -07:00
Kurt Dresner
d4d8760d3a
Remove unneeded Top Gear permissions from Android Auto
...
Bug: 184195079
Change-Id: I5f29f34117160779bd636dea51420bd21394272a
2021-04-08 17:18:50 +00:00
Blake Kragten
9a7fca2d5a
Enable Gnss Pixel Monitor For Device
...
Enables location permissions needed for GnssPixelMonitor.
Bug: 178015947, 178015951
Test: atest -c GnssPixelMonitorTests
Change-Id: Ieed7efc845315d92a3dd2f2d02065017b7e788f5
2021-03-04 00:09:29 -08:00
Blake Kragten
ab7db21095
Set location enabled default redfin/bramble
...
Location permissions default enabled for 5G power manager. This is
needed for physical channel configuration changes. Physical channel
configuration is needed to determine the current mode the device is in.
For example: LTE+FR1 or FR1+FR2
Bug: 171090297
Test: atest ConnectivityThermalPowerTests
Change-Id: I0e3cf48ffdd68576e06e9d01c6e3698304386300
2020-11-29 20:13:37 -08:00
Kurt Dresner
7c54894b0e
Remove permissions that are now granted via role to Android Auto (Gearhead).
...
Bug: 134997071
Bug: 166143587
Test: Code builds
Change-Id: Iea4cf399ed67ae59100d360fc2d3e316239db738
2020-10-23 10:43:30 -07:00
Jack Nudelman
24b3d6e62c
Clean up comment on default permissions for Redbull.
...
Test: make
Bug: 169099856
Change-Id: Ie7f7a29565170ecda3ec12563fed460a2c8f010e
2020-09-23 08:25:48 -07:00
Jack Nudelman
e932091b1b
Update the default cbrsnetworkmonitor permissions granted to Redbull.
...
Bug: 159732550
Test: Treehugger, b/160624147
Change-Id: Ic71e1dd80d2857467a820c3f45519ef5424bbe1c
2020-07-07 11:05:31 -07:00
Tsung-Mao Fang
371cfcdd28
Allow user to change background location permission am: 0b230e6a41
...
Change-Id: I4dface7c1a1f379ae093f5bc16fe3479d54e6719
2020-05-19 11:51:35 +00:00
Tsung-Mao Fang
0b230e6a41
Allow user to change background location permission
...
Bramble and Redfin device reuse same default-permissions file in
Redbull, so we change the permission configuration here.
Test: Rebuilt rom and see permission screen
Fix: 155841558
Change-Id: I70a60631f8eef4cdc257bf2d8ff30c1e61adbd90
2020-05-19 07:42:08 +00:00
Edward Chen
a792a25087
Merge "Revert "Add runtime permissions to redbull for PixelMigrate."" into rvc-dev am: dae410f40e
...
Change-Id: I24f8635ae0d86f1a3f9e419c1aeea880b54f5f6d
2020-05-16 16:33:25 +00:00
Edward Chen
55faee82e3
Revert "Add runtime permissions to redbull for PixelMigrate."
...
This reverts commit c67d4a4e71 .
Reason for revert: PixelMigrate won't have ALT UI because it would run during SetupWizard, so no need to add it anymore.
Bug: 153708933
Bug: 155064929
Change-Id: I95eb35a38d8b04b371dc7ae189e5696685621554
2020-05-15 02:58:09 +00:00
Edward Chen
100512e2c4
Merge "Add runtime permissions to redbull for PixelMigrate." into rvc-dev am: dadf8132f0
...
Change-Id: I529eee57b3f2e3ea6a2dab1773416505904c3058
2020-04-30 01:42:28 +00:00
chenedward
c67d4a4e71
Add runtime permissions to redbull for PixelMigrate.
...
The permission is used to get configured wifi list.
Test: manual (The permission is granted in runtime permission)
Bug: 153708933
Change-Id: Ia2e46a33290059b874c966c8ce52af98d26f271d
2020-04-28 11:26:34 +08:00
Roger Liao
d89ee1debc
default_permissions.xml: Give ornament its permissions.
...
<permission name="android.permission.CAMERA" fixed="false"/>
<permission name="android.permission.RECORD_AUDIO" fixed="false"/>
<permission name="android.permission.READ_EXTERNAL_STORAGE" fixed="false"/>
<permission name="android.permission.WRITE_EXTERNAL_STORAGE" fixed="false"/>
Bug: 152715044
Bug: 152389933
Bug: 138742253
Change-Id: I9e87e2a82a356720b5eaae47e4a94517307cb563
2020-04-16 06:45:18 +00:00
allenwtsu
28245456a1
[B5R3] Add pre-grant permission
...
MVS and WfcActivation should have some pre-grant permission
Bug: 152686841
Bug: 152687107
Test: adb shell "dumpsys package com.google.android.wfcactivation | grep RECEIVE_WAP_PUSH"
android.permission.RECEIVE_WAP_PUSH: restricted=true
android.permission.RECEIVE_WAP_PUSH: granted=true, flags=[ GRANTED_BY_DEFAULT|RESTRICTION_SYSTEM_EXEMPT|RESTRICTION_UPGRADE_EXEMPT]
adb shell "dumpsys package com.verizon.mips.services | grep PROCESS_OUTGOING_CALLS"
android.permission.PROCESS_OUTGOING_CALLS: restricted=true
android.permission.PROCESS_OUTGOING_CALLS: granted=true, flags=[ GRANTED_BY_DEFAULT|RESTRICTION_SYSTEM_EXEMPT|RESTRICTION_UPGRADE_EXEMPT]
adb shell "dumpsys package com.verizon.mips.services | grep READ_PHONE_STATE"
android.permission.READ_PHONE_STATE
android.permission.READ_PHONE_STATE: granted=true, flags=[ USER_SENSITIVE_WHEN_GRANTED]
adb shell "dumpsys package com.verizon.mips.services | grep RECEIVE_SMS"
android.permission.RECEIVE_SMS: restricted=true
android.permission.RECEIVE_SMS: granted=true, flags=[ GRANTED_BY_DEFAULT|RESTRICTION_SYSTEM_EXEMPT|RESTRICTION_UPGRADE_EXEMPT]
Change-Id: If748e89b93541806d70dc0a304f2dd4b5737c880
2020-03-31 11:30:47 +00:00
Srinivas Visvanathan
33e20cd961
Updating Android Auto pregrants for R
...
- Adding READ_CALENDAR.
Bug: 144437725
Test: Build/flashed device and confirmed pregrant
Change-Id: I45c8c426681ccb7163ee521e89e5f30bd4d75457
2020-03-04 21:38:02 -08:00
Kapish Goel
6a029814a0
Add default permissions for pixelmigrate package on Redfin and Bramble device.
...
Test: manually verify permissions are granted.
$ adb shell dumpsys package packages | grep -A40 'com.google.android.apps.pixelmigrate'
Output contains:
runtime permissions:
android.permission.READ_CALL_LOG: granted=true, flags=[ GRANTED_BY_DEFAULT|RESTRICTION_SYSTEM_EXEMPT|RESTRICTION_UPGRADE_EXEMPT]
android.permission.READ_PHONE_NUMBERS: granted=true, flags=[ GRANTED_BY_DEFAULT]
android.permission.READ_EXTERNAL_STORAGE: granted=true, flags=[ GRANTED_BY_DEFAULT|RESTRICTION_SYSTEM_EXEMPT|RESTRICTION_UPGRADE_EXEMPT]
android.permission.WRITE_CONTACTS: granted=true, flags=[ GRANTED_BY_DEFAULT]
android.permission.WRITE_CALL_LOG: granted=true, flags=[ GRANTED_BY_DEFAULT|RESTRICTION_SYSTEM_EXEMPT|RESTRICTION_UPGRADE_EXEMPT]
android.permission.WRITE_EXTERNAL_STORAGE: granted=true, flags=[ GRANTED_BY_DEFAULT|RESTRICTION_SYSTEM_EXEMPT|RESTRICTION_UPGRADE_EXEMPT]
android.permission.READ_CONTACTS: granted=true, flags=[ GRANTED_BY_DEFAULT
Bug: 149682811
Change-Id: I8b4c218d941aed1f8b6d09e746b4ec784ed1078b
2020-02-26 12:27:31 +00:00
Cyan_Hsieh
e8b2d23737
Pre-granting permissions for Android Auto
...
Pre-granting permissions that present in Pixel 4
Bug: 147032035
Change-Id: I652950abb9835fa3242c45031801e0f18affefd8
2020-01-15 08:23:59 +00:00
Aaron Tsai
65962b1187
Add permission for scone and cbrsnetworkmonitor
...
Sync from C2/F2
Bug: 141219585
Test: Check log for any permission denied.
Change-Id: I504f140f6d00e4b0b26d75bb05afde9dbcfef186
2019-12-11 11:45:40 +00:00
ChengYou Ho
ad8e3a17f6
Initialize redbull device folder
...
Bug: 140363359
Change-Id: I13e2279257f509080cccb5bf91c0843b3a978bdd
2019-09-11 18:57:24 +08:00