Commit graph

16 commits

Author SHA1 Message Date
Utku Utkan
31fbcddb27 Remove ACCESS_FINE_LOCATION permission pregrant for PCS on ZumaPro
FLAG: EXEMPT Cleanup of obsolete permission pregrant

Bug: 345021501
Test: m && flashall
Change-Id: I9cedfd754b27831c2176d9822babbd8bedfa16b3
2024-06-05 05:00:32 +00:00
Scott Wiest
a09ad23552 Removing unneeded potentially harmful permissions in Creative Assistant
Bug: 339334303

FLAG: EXEMPT Bugfix to remove the permissions that were flagged as harmful and are no longer being used.

Change-Id: Ibc3915b2154cecf40a8484b2ffb8eef8a2ad52d0
2024-06-04 20:23:42 +00:00
jiangzining
b74903d33e [Scone] add BLUETOOTH_CONNECT to SCONE default permission
MBA Approval: b/330640278
Bug: b/343608940
Test: Build and Flash

Change-Id: I2aca6fbdc59e47d6e46af918d85661116b6424d8
2024-05-30 14:53:25 +08:00
malikakash
9c4adf4b9a Pregrant media access to CreativeAssistant
- Give READ_MEDIA_IMAGES to CreativeAssistant.
- Since these is a protectionLevel=dangerous permission,
  adding them to privapp-permissions does not work (that is
  just for privileged|signature permissions).
- I've tested that this change works,
   see https://screenshot.googleplex.com/746UujEb3ovc2Dg

Bug: 308029155
Test: adb shell dumpsys package com.google.android.apps.pixel.creativeassistant | grep granted=true
      shows
      android.permission.READ_EXTERNAL_STORAGE: granted=true, flags=[ GRANTED_BY_DEFAULT|RESTRICTION_SYSTEM_EXEMPT|RESTRICTION_UPGRADE_EXEMPT]
      android.permission.READ_MEDIA_IMAGES: granted=true, flags=[ GRANTED_BY_DEFAULT]

Change-Id: Ief9f862c580e839946242fcc323514e5f9e5a162
2024-04-27 07:16:19 +00:00
Akash Malik
ed733ea507 Pregrant POST_NOTIFICATIONS to CreativeAssistant
This will allow showing persistent, cancellable notifications when downloading models in a foreground service.

Demo:
https://drive.google.com/file/d/1IoSQsVxUrUN8ohqY3nGbuXvCD-C_78ao/view?usp=drive_link&resourcekey=0-QQ4z3f4XCoIf4H9CdEDa4g

Note: I'm submitting to main before, and I will cp into 24D1.
Note: Yes, zumapro default permissions also apply to caimito.

Bug: 308029155
Test: m
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:18db77ac1cbc62916a82f83ea6449d8900dd1852)
Merged-In: I9e9017fc056a5c9f13f481f43317f551413390ca
Change-Id: I9e9017fc056a5c9f13f481f43317f551413390ca
2024-04-23 01:02:51 +00:00
Julian Thomassie
da8582fd02 Add missing POST_NOTIFICATION pregrant for SCONE
Pregrant was previously approved on b/233243584, but never added for
zumapro.

Bug: 331811749
Test: manual
Change-Id: I4decd647f87cefe85fb39ef14055e41496eeaedb
2024-04-08 17:21:18 +00:00
Ziyi Yang
873821de8d Adding post notification to gca default permissions
Bug: 331677590
Test: Build and flash. Permission was pregranted to gca.
Change-Id: Ia8b6a1bbf34bf6b2d703d4a124c61469a586e03f
2024-04-02 20:43:22 +00:00
Sean.JS Tsai
7279c7ee0f Add notification permission pregrant for WfcActivation APP
- It was already approved at gs201 go/ag/19997820

Bug: 323482401
Test: manual and local build verify

Change-Id: I5016d3b4fdc16277eecac313a87ab9426e6fbdb0
2024-03-27 15:30:47 +00:00
Justin Gross
8d3964566d Add notification pregrant for OobConfig
Bug: 329919507
Test: Manual
Change-Id: I6f41a4bab0b459d98bca2e0d5debe1d1f7ca17d7
2024-03-18 16:47:26 +00:00
Muralidhar Reddy
e702d6fe37 [LPA][Zumapro] Add notification pregrant
Bug: 326561036
Test: build
Change-Id: I1cf20adea590fe128e451c21ce5387bb1717c94d
2024-02-23 11:22:22 +00:00
pajacechen
824f1c1200 Fix battery widget cannot show bluetooth device issue
Root cause: The permission "android.permission.BLUETOOTH_CONNECT" is missed  for settingsintelligence on zumapro
Solution: pre-grant the permission "android.permission.BLUETOOTH_CONNECT" for settingsintelligence on zumapro

Fix: 320409645
Test: Manual Test
Flag: NA
Change-Id: I104a0e9a7e30fc1e530ee0e9baaab3972d6a992b
2024-01-16 20:43:49 +08:00
Utku Utkan
cd3ca66416 Pregrant ACCESS_FINE_LOCATION as default permission to PCS on ZumaPro
Bug: 309676824
Test: m && flashall + pair & connect to remote device Wi-Fi AP
Change-Id: I5eee9450565b119849f56814359f1a55acb4c41f
2024-01-12 00:39:16 +00:00
Wesley Wang
2b198c6ebc Grant the post notification permission to Turbo
- grant the permission on zumapro

Bug: 293813663
Test: manual and local build verify
Change-Id: I8a427c712b096c112b46ba796378e1f69f6a97f1
2023-12-12 15:26:51 +08:00
Bethany Barrientos
ac11a6cebd Grant default permissions to PCS for camera connectivity
- android.permission.POST_NOTIFICATIONS
- android.permission.BLUETOOTH_CONNECT
- android.permission.BLUETOOTH_SCAN

Test: make and install.
Bug: 287069860
Change-Id: Iaeea489af9e1063352e4ed9b0031346040d2919c
2023-09-11 13:51:48 -05:00
Scott Wiest
31bf2812bc Adding camera to the default permissions for Pixel Camera Services
Test: m
Bug: 298098187
Change-Id: I6cf8dc51bf37c4c0c0ab9a58f95ecb9ca1a9de0e
2023-09-07 00:39:29 +00:00
Robin Peng
dec234f475 init zumapro from zuma sha 4daedb8feb4d4
Bug: 272725898
Change-Id: I1e1ab5d15e7f4b2b59e28f2e52e07cd7e12f25b3
2023-03-31 15:10:16 +00:00