Commit graph

26 commits

Author SHA1 Message Date
Jinyoung Jeong
f2f77508ac [LPA][gs101] Add notification pregrant am: 050a62c778 am: c4590ae05a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20586028

Change-Id: Ia8dda1fbbb340e7116d01f799f05ac4527032f22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-01 00:52:33 +00:00
Jinyoung Jeong
050a62c778 [LPA][gs101] Add notification pregrant
refer to b/237497128

Bug: 251705860
Test: manual
Change-Id: I4c6609c0e36d7404adc4da23f91f0d0cf47285ad
2022-11-30 23:52:48 +00:00
Chris.CC Lee
ff981db4a5 [Gs101] 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: I097e27608f3b2e1e65945a7bed46d1e41dcbe376
2022-11-03 05:29:45 +00:00
Sean.JS Tsai
ae7b5adfa3 Add notification pregrant for WfcActivation
bug: 241721849
bug: 246485672

Change-Id: I73a5d2312fba7cc01f52cc3ac1538876e39c5f3d
2022-09-23 03:50:12 +00:00
Nate Myren
6dc12ba6a8 Add notification pregrant for turbo on g s 1 0 1
Bug: 233903326
Test: manual
Change-Id: Iff3059d1b84dfdf54d288392886daee79ecc24a3
2022-06-02 20:38:13 +00:00
Allen Xu
adc9355635 Add notification pregrant for SCONE
Bug: 233243584
Change-Id: I9bb2b014c7edb665a7c2675e86ff4d67cde94b48
Test: manual
2022-05-20 18:12:35 +00:00
Michele Berionne
818f1b9d9e Add notification pregrant for OobConfig
Bug: 232002666
Change-Id: I5f9ed54fb4e020dd98fe94198ddd6cf782cdf415
Test: manual
2022-05-19 21:31:26 +00:00
Nate Myren
0336ee1b4c Add further notification pregrants to gs101
Bug: 232469538
Bug: 232470607
Bug: 232470323
Test: manual
Change-Id: I20ae51120df4302b5d7b8c56cda17c3d48e472d8
2022-05-14 06:21:50 +00:00
Chris.CC Lee
908fbc0a20 [Gs101] 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: I56924aa3e0250c94bc4fefe5d9b901b4e23d0c2b
2022-05-10 15:39:31 +00:00
ykhung
675b52bdef Add BLUETOOTH_CONNECT permission for SettingsIntelligence
Add BLUETOOTH_CONNECT permission for SettingsIntelligence, which is required for the battery widget feature to launch the detailed bluetooth settings page in the Settings

Test: build
Bug: 227265502
Change-Id: I166c0ed987b82428583243e52c343dda30a93ba4
2022-04-19 07:56:24 +00:00
Nate Myren
d945dc90a1 Add notification pregrants to gs101
Test: build
Bug: 218409412
Change-Id: Ib1a02bb00cdbb0778043fa9c279db1a5451e2ebb
2022-02-15 17:18:16 +00:00
Meng Wang
ab270a8cdc Revert "pregrant coarse and background location permission to scone"
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: I8f4efa77b20656497999c3afaf4cb7e09081ed8d
2021-12-10 21:30:01 +00:00
Jack Nudelman
2f52513a60 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: I541ad113d43015101a41492409f62b88f6a993ba
2021-09-24 21:15:18 +00:00
Jack Nudelman
695ef0553f 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: I0fbb20b3e0ea7555300d84ed750ae465fe144da9
2021-09-24 21:13:18 +00:00
Diego Wilson
47a523375e Pregrant camera permission to Pixel Camera Services
Test: checked for pregranted camera permissions in Settings -> All Apps -> Pixel
Camera Services
Bug: 183533362
Change-Id: Ie0816a1170557d9aac364f69d2a7ca3f6dfcf3bd
2021-07-16 22:51:48 +00:00
Chris.CC Lee
00d640335c [Gs101] 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: I518275717ebd2b81bb888eaddc58222fe92b92c1
2021-06-22 01:37:45 +00:00
Ruslan Tkhakokhov
0947a2b506 [gs101] Swap Pixelmigrate for Restore APK in default-permissions
Bug: 186731327
Test: atest DefaultPermissionGrantPolicyTest
Change-Id: I5d63d1cf918dead3c6fa6db6c131404e37f91232
2021-06-14 11:14:57 +00:00
Meng Wang
d4768daa65 Temporarily revoke location pre-grant to SCONE
Will revert once issue fixed and CBRS will launch.

Bug: 188236995
Test: manual
Change-Id: I5f0577a90ba2c60a7bd5a9d796ba8803f6206a27
2021-05-21 03:16:11 +00:00
Blake Kragten
2b6d710544 Remove Gnss Outage System Apk
Bug: 186759659
Test: Compiled
Change-Id: I478c44ea64004a23eebbe77e06420f686821ec62
2021-05-03 21:11:43 +00:00
Blake Kragten
8ed616d088 Remove location access
Location access is not needed for physical channel configuration changes
anymore

Bug: 185247832
Test: On Device
Test: atest ConnectivityThermalPowerManagerTests
Change-Id: Ic14b958b191324205ff916d7aff718ddfb3cee04
2021-04-20 15:06:38 +00:00
Jack Nudelman
e36b41e17f Update CbrsNetworkMonitor package name.
Bug: 184313658
Test: make
Change-Id: I474401de47892c97c3fcf4a5471773cd0474e1ef
Merged-In: I474401de47892c97c3fcf4a5471773cd0474e1ef
2021-04-09 04:52:33 +00:00
Tsung-Mao Fang
7dd7ceba38 Have a consistent permission configuration with other devices
Change-Id: I346370bbc9e1fcddef7dc9c64a03954cddf97264
Test: Run presubmit
Fix: 184312606
(cherry picked from commit 967e140f534064ef6fbe01c7c65167a033c95ee7)
2021-04-09 03:34:38 +00:00
Sahil Goel
b360446e82 Add pregrant permissions for Voice Access
Approved android bug: b/182307492

Test: manual
Bug: 181901515
Change-Id: I8af4562a24d9b555c33c1110ae49f86c5ca4db2d
2021-04-01 18:54:19 +00:00
Blake Kragten
ec089270cc Enable Gnss Pixel Monitor For Device
Enables location permissions needed for GnssPixelMonitor.
Bug: 178015947, 178015951
Test: atest -c GnssPixelMonitorTests

Change-Id: I77fb7feb4b57536d0edd63c3fba122f55616b90b
2021-03-25 20:03:19 +00:00
allenwtsu
0e0ad439a7 [Slider] Add pre-grant permission for mvs
Bug: 181915646
Test: manual
Change-Id: Ia9521d560435baac0483b3fb413787e1cb41ef54
2021-03-10 14:40:42 +08:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00